Repository navigation
Report fatal explicit-home startup failures - #9227
Conversation
Retain explicit standard-library initialization errors for the command-line host, preserving default embedding fallback and the original exception cause. Assisted-by: OpenAI Codex: model version unavailable
Retire the verified expected failure through update_lib, preserving the explicit local path-environment adaptation and all other markers. Assisted-by: OpenAI Codex: model version unavailable
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
⛔ Files ignored due to path filters: 1
📒 Files selected for processing: 3
✨ Finishing Touches
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: (no tests depend on cmd_line) Legend:
|
Merging this PR will not alter performance
Comparing Footnotes
|
Codex Review SummaryThis 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. |
Summary
Extract the explicit-PYTHONHOME startup failure closure from the Python 3.15 upgrade:
encodingsimport when an explicit standard-library home was configured.SystemExit(0)andSystemExit(None)from that import cannot turn failed initialization into a successful command.test_dump_path_configexpected failure after paired verification, using the unchanged updater and preserving all other markers/local adaptations.Four files; no parser, CAPI error-state, updater, workflow, or new repository test body. Based on main c08375b. Contributor #8732's implicit RUSTPYTHONPATH warning-text work is not duplicated.
Validation
Fresh sqlite+CAPI release at native checkpoint4e089097; final3167502f changes only the verified test marker. Normal hooks and source audits pass.
Local validation is Linux. The ordinary embedding constructor remains nonfatal unless its host calls the new check; its no-stdio/fallback behavior was reviewed in source, with existing native/CAPI gates providing their normal coverage rather than a new dedicated embedding fixture. Test data and environment changes were restricted to owned children/private temporary directories. Canonical assertion bodies were not modified.
AI assistance
OpenAI Codex assisted with implementation, independent source review, canonical regeneration, automated validation, and this description under the maintainer's requested Python 3.15 upgrade work. The checks described were automated, not manual human testing. Commits include the assistance trailer; maintainer review is still needed.