-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests #119065
gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests #119065
Conversation
serhiy-storchaka
commented
May 15, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Test with the path protocol, not with pathlib.Path #119064
e5c9233
to
aded70a
Compare
aded70a
to
20e44cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one comment
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…sts (pythonGH-119065) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
GH-119087 is a backport of this pull request to the 3.13 branch. |
…h in tests (pythonGH-119065) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-119088 is a backport of this pull request to the 3.12 branch. |
…h in tests (pythonGH-119065) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-119089 is a backport of this pull request to the 3.11 branch. |
…h in tests (pythonGH-119065) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
…ests (GH-119065) (GH-119087) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
These changes will need to be backported to zipp as well. |
Also configparser. |
And backports.tarfile. |
…n 3.18.2 Avasam (1): Allow mypy on PyPy (jaraco/skeleton#111) Bartosz Sławecki (2): Add link to blog entry from jaraco/skeleton#115 above CI build matrix. Move project metadata to `pyproject.toml` (jaraco/skeleton#122) Jason R. Coombs (13): Update compatibility matrix to reflect changes merged in Python 3.12 and anticipated for 3.13. Re-enable ignoring of temporary merge queue branches. Closes jaraco/skeleton#103. Fetch unshallow clones in readthedocs. Closes jaraco/skeleton#114. Move Python 3.11 out of the test matrix. Configure pytest to support namespace packages. Ref pytest-dev/pytest#12112. Pin against pytest 8.1.x due to pytest-dev/pytest#12194. Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. Allow macos on Python 3.8 to fail as GitHub CI has dropped support. Move project.urls to appear in the order that ini2toml generates it. Remove project.scripts. Revert "Allow macos on Python 3.8 to fail as GitHub CI has dropped support." Utilize temp_dir from os_helper. Use an overlay object to make tests appear to use zipfile.Path to reduce diff with CPython. Finalize Serhiy Storchaka (1): gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (python/cpython#119065) Xie Yanbo (1): Fix typo in Lib/zipfile/_path/__init__.py