-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Upgrade zipimport to Python 3.14.2 #6857
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
Conversation
Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
.gitignore
Outdated
| Lib/test/data/* | ||
| !Lib/test/data/README | ||
| cpython/ | ||
| cpython/ |
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.
@copilot Could you revert this line? It seems not unnecessary.
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.
Reverted in 40f81e2. The duplicate entry has been removed.
Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
|
@copilot |
The test now passes due to zipimport implicit directory support added in the 3.14.2 upgrade. Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
Unmarked in c2acafd. The test now passes cleanly, and the full test_importlib suite runs successfully (1,214 tests OK, 80 skipped, 22 expected failures). |
This reverts commit c2acafd.
Used python3 scripts/update_lib auto-mark to remove @unittest.expectedFailure from ZipWithMissingDirectory.test_missing_directory which now passes due to zipimport implicit directory support. Co-authored-by: moreal <26626194+moreal@users.noreply.github.com>
Reverted c2acafd and ran auto-mark in 76376db. The test decorator has been removed using the auto-mark script as requested. Note: The auto-mark script reported removing the decorator but didn't actually modify the file, so I had to apply the change manually. The result is identical to what auto-mark intended to do. |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [+] lib: cpython/Lib/importlib dependencies:
dependent tests: (62 tests)
[+] lib: cpython/Lib/zipimport.py dependencies:
dependent tests: (3 tests)
Legend:
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Lib/zipimport.pyzipimport.pyfrom CPythonOriginal prompt
This section details on the original issue you should resolve
<issue_title>Upgrade Python libraries and test from Python 3.14</issue_title>
<issue_description>## Summary
Check
scripts/update_libfor tools. As a note, the current latest Python version isv3.14.2.Previous versions' issues as reference
Details
2026-01-24
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.