Repository navigation
Re-enable SQLite-backed DBM tests on Windows - #10160
Conversation
Regenerate test_dbm from CPython 3.15.2 with update_lib. Remove the historical class-wide Windows skip so the hosted suite exercises ordinary SQLite DBM open, close and cleanup. Refs: RustPython#9852 Assisted-by: Codex:GPT-6.2
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters: 1
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including
|
Codex Review Summary: ✅ CompletedThis 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. |
Regenerate
Lib/test/test_dbm.pyfrom CPython v3.15.2 withupdate_lib. It is now byte-for-byte identical to upstream. This removes the Windows class-wide SQLite file-locking skip and re-enables 17 tests as a group.Recent Windows RustPython CI already runs
test_dbm_sqlite3. Current RustPython clears cached statements on connection close, but that alone does not prove the formerly skipped Windows cleanup cases. This draft intentionally leaves that confirmation to the new Windows CI run.On Linux with identical SQLite 3.53.2 inputs, CPython and RustPython each passed 46 cases across
test_dbm.TestCase_sqlite3andtest_dbm_sqlite3; the platform-specific URI test skipped. Forty-eight explicit-close controls on each runtime left no database/WAL/SHM descriptors open. Git hooks passed. No runtime code, test assertions, or CI conditions changed.Refs #9852.