Repository navigation
Align sys runtime metadata with Python 3.15 - #9194
youknowdot wants to merge 1 commit into
Conversation
Expose ABI metadata, preserve the canonical sys.flags tuple order and named flags, and report the native lock implementation honestly. Refresh canonical test_sys while preserving RustPython guards. Assisted-by: OpenAI Codex:model version unavailable
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📦 Library DependenciesThe following Lib/ modules were modified. Here are their dependencies: :4: SyntaxWarning: invalid decimal literal dependencies: dependent tests: (236 tests)
Legend:
|
Summary
sys.abi_infousing RustPython's native pointer width, byte order, and existing free-threaded/non-Py_DEBUG build metadata.sys.flagstuple with canonical field ordering, exposegil=0, and return integer context flags without adding tuple slots.sys.thread_info.lock=Nonefor RustPython's parking_lot implementation rather than an obsolete CPython lock name.test_sysfrom CPythond220409a13b77de7a6c30abe16ea90db01528edc, preserving all existing RustPython guards.This is an independent Python 3.15 mega split.
_is_python_buildand monitoring CAPI exports remain outside its scope.Validation
Final source:
968261417df5c5bee1518ccb937216f09606bf4f.cargo test --workspace --exclude rustpython_wasm --exclude rustpython-venvlauncher --exclude rustpython-capi: 1,400 passed, 18 ignored.cargo testfromcrates/capi, default test profile: 123 passed, 4 ignored.--all-targets -- -D warnings), using separate default profiles: passed.Native tests generated bytecode caches; these were quarantined intact and clean source/dependency/oracle audits repeated. No tracked files changed during validation.
The local canonical comparison deliberately selects the five metadata/flags tests and excludes
TestRemoteExec; no remote-process inspection was exercised.Implementation, canonical test refresh, validation, and this PR description were prepared with OpenAI Codex.
Assisted-by: OpenAI Codex:model version unavailable