ci: Add test for minimum supported debug build of Python#5852
Conversation
That's fine, 3.10 will be the minimum supported version soon enough. We're already way overdue for dropping 3.7 and 3.8 support. |
|
I'll defer to @davidhewitt on whether it's OK to add another CI job to the full CI matrix. I added a ci-build-full label to make the new job actually run in this PR. You'll need to push another commit to trigger the tests again. |
|
The docs build error should go away once #5854 goes in. |
f91e4b2 to
e308694
Compare
|
The error seems to be irrelavent with the CI :( |
:) agreed. Relying on curls is less than ideal. I'll have an eye on that. |
|
@Embers-of-the-Fire I think this should be ready to update against current main. Thanks for the patience! |
c361688 to
9c6d2f7
Compare
9c6d2f7 to
c32b4d4
Compare
Use astral-sh/setup-uv for both the existing test-debug and the new test-debug-min-version job (Python 3.10+debug), following the approach from PyO3#5447. Assisted-by: deepseek:deepseek-v4-pro Signed-off-by: Embers-of-the-Fire <stellarishs@163.com>
|
@davidhewitt Updated. But the error shown in https://github.com/PyO3/pyo3/actions/runs/27054706739/job/79856801452?pr=5852 seems to be irrelavent with the CI change. |
| components: rust-src | ||
| - uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| python-version: "3.10+debug" |
There was a problem hiding this comment.
Testing locally I have some issues with 3.10+debug finding the correct environment to start up when run from uv in the PyO3 test suite (similar to #4813 (comment)), so let's bump this to 3.11 which seems to work locally for me
| python-version: "3.10+debug" | |
| python-version: "3.11+debug" |
As per comment in #5847.
Note that the original debug build downloads prebuilt standalone binaries from
python-build-standalone, but the prebuilt binaries are limited (for old versions). In the latest release there's only 3.10.19 available, and I could not find a 3.7 build in all releases.This PR pins it to
3.10.19-3.14.3from20260211release.