Commit 8ed6b71
authored
test: allow libcst build on Python 3.15 in import-profiler workflow (#17726)
This PR resolves a CI failure in the `import-profiler` workflow when
building Rust-based dependencies (such as `libcst`) on Python 3.15
(`3.15.0-beta.3`).
`pyo3` currently rejects Python 3.15 builds by default because Python
3.15 is newer than PyO3 0.26.0's maximum recognized version (3.14).
Setting `PYO3_USE_ABI3_FORWARD_COMPATIBILITY="1"` allows building
`libcst` against Python 3.15 using PyO3's stable ABI forward
compatibility mode.
This matches the existing workaround configuration in
[.github/workflows/gapic-generator-tests.yml](file:///.github/workflows/gapic-generator-tests.yml#L25).
Fixes #<535231604> 🦕1 parent 22c5304 commit 8ed6b71
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
0 commit comments