Skip to content

Commit 005af88

Browse files
committed
fix(ci): support python 3.15 builds by exporting pyo3 compatibility flag (#17778)
This PR fixes a GHA build issue when compiling Rust-based transitive dependencies (like `libcst` during `bigframes` installation) under Python 3.15 (`3.15.0-beta.3`). ### Key Changes - **PyO3 Forward Compatibility**: Added `export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1` inside the temporary virtualenv activation block in `ci/run_single_test.sh`. This ensures packages compiling with PyO3 use the stable ABI forward compatibility mode for Python 3.15.
1 parent d4b93a6 commit 005af88

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ci/run_single_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ case ${TEST_TYPE} in
101101
echo "Creating temporary virtualenv for import profile..."
102102
python3 -m venv .venv-profiler
103103
source .venv-profiler/bin/activate
104+
export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
104105
python -m pip install --upgrade pip setuptools
105106

106107
PACKAGE_NAME=$(basename $(pwd))

0 commit comments

Comments
 (0)