Repository navigation
Retire obsolete standard-library test adapters - #9825
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 5
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
|
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: [x] lib: cpython/Lib/types.py dependencies:
dependent tests: (61 tests)
[x] test: cpython/Lib/test/test_generators.py dependencies: dependent tests: (no tests depend on generator) [x] test: cpython/Lib/test/test_descr.py (TODO: 2) dependencies: dependent tests: (no tests depend on descr) [x] lib: cpython/Lib/pstats.py dependencies:
dependent tests: (5 tests)
[x] lib: cpython/Lib/json dependencies:
dependent tests: (21 tests)
Legend:
|
Merging this PR will not alter performance
Comparing Footnotes
|
Regenerate five test modules from CPython 3.15.0 with update_lib migrate, preserving existing markers. Restore normal doctest checking and native module imports now supported by RustPython. Keep the JSON recursion guards and remaining conditional markers unchanged. Assisted-by: Codex:version-unavailable
88f48dd to
6d6e3f7
Compare
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Use
scripts/update_lib migrateagainst CPython v3.15.0 to retire obsolete adapters in five test modules:test_genexpsandtest_descrtut(neither retains EXPECTED_FAILURE options);_jsonimports for the accelerated JSON suite;_datetimeandcProfile, now registered by RustPython.Existing failure markers remain, including the two conditional cProfile guards. The JSON recursion stack guards are deliberately unchanged: RustPython's C-recursion helper is not yet equivalent to CPython's C-stack estimate. No C API work or test assertions changed.
Verification
Libvia RUSTPYTHONPATH. A new exact-head build and full workspace/CAPI aggregate checks were not run locally because the shared disk is nearly full. Hosted CI is pending; this is a draft.AI-assisted implementation, investigation, and testing with OpenAI Codex (model version not exposed).