CI + pinned Python 3.14.3 workflow#1
Merged
Merged
Conversation
andreabergia
force-pushed
the
py-version
branch
from
February 23, 2026 13:41
789ae01 to
87d95f8
Compare
andreabergia
force-pushed
the
py-version
branch
from
February 23, 2026 14:45
acdcaad to
f4b613e
Compare
andreabergia
force-pushed
the
py-version
branch
from
February 23, 2026 15:34
e517434 to
ef1b255
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pin the project to a fixed Python
3.14.xpatch (3.14.3) and make CI validate that pinned-Python flow on macOS + Linux.What this changes
.python-version(3.14.3)scripts/dev/checks-with-pinned-python.shto run fmt/clippy/test with pinnedPYO3_PYTHONscripts/dev/pyo3-config-check.shfor PyO3 interpreter diagnosticsubuntu-latest,macos-latest) for pinned-Python checks--smoke-pythonCLI flag + e2e test for non-interactive embedded Python startup validationLD_LIBRARY_PATH/DYLD_LIBRARY_PATH) in scripts so test binaries can loadlibpythonat runtimeotool -L target/debug/pychat_ailddontarget/debug/deps/pychat_ai-*test binariesWhy
PyO3 links against the interpreter selected at build time. Using a pinned uv-managed Python keeps local and CI builds consistent and avoids host-specific interpreter drift. The Linux runtime-loader fix addresses CI test failures where
libpython3.14.so.1.0was not found.Validation
cargo fmt --all --checkcargo clippy --all-targets --all-features -- -D warningscargo test --all-featuresubuntu-latestandmacos-latest