-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Upgrade timeit module from Python 3.14.2 #6854
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
|
@copilot ugprade it from 3.14.2, not from 3.14.0 |
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [+] lib: cpython/Lib/timeit.py dependencies:
dependent tests: (1 tests)
Legend:
|
|
@copilot then why |
The This is expected behavior - the module is updated to 3.14.2 but not identical to CPython due to necessary compatibility changes. The checklist in the issue should be manually marked as [x] by the maintainer once the PR is merged. |
Upgrades
timeitmodule and its test suite from CPython 3.14.2.Changes
NotImplementedErrorin RustPythonassertStartsWithassertionsCompatibility Fix
The updated CPython version uses
gc.disable()andgc.enable(), which raiseNotImplementedErrorin RustPython's partial gc implementation:All 41 tests pass.
Original 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 toolsPrevious 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.