Skip to content

Commit de8b7c0

Browse files
committed
use python 3.11 to build for test-crossenv
1 parent 7428f8a commit de8b7c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

noxfile.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ def test_crossenv(session: nox.Session):
6666
6767
cd examples/rust_with_cffi/
6868
# Using crossenv master to workaround https://github.com/benfogle/crossenv/issues/108, will need 1.5.0 when released
69-
python3.9 -m pip install https://github.com/benfogle/crossenv/archive/refs/heads/master.zip
70-
python3.9 -m crossenv "/opt/python/cp39-cp39/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 /venv
69+
python3.11 -m pip install https://github.com/benfogle/crossenv/archive/refs/heads/master.zip
70+
python3.11 -m crossenv "/opt/python/cp311-cp311/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 /venv
7171
. /venv/bin/activate
7272
73-
build-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1'
74-
cross-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1'
73+
build-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1' 'build>=1'
74+
cross-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1' 'build>=1'
7575
build-pip install cffi
7676
cross-expose cffi
7777
cross-pip install -e ../../
@@ -81,7 +81,7 @@ def test_crossenv(session: nox.Session):
8181
echo -e "[bdist_wheel]\npy_limited_api=cp37" > $DIST_EXTRA_CONFIG
8282
8383
rm -rf dist/*
84-
cross-pip wheel --no-build-isolation --no-deps --wheel-dir dist . -vv
84+
cross-python -m build --no-isolation
8585
ls -la dist/
8686
python -m zipfile -l dist/*.whl # debug all files inside wheel file
8787
"""
@@ -120,7 +120,7 @@ def test_crossenv(session: nox.Session):
120120
"/io",
121121
"--platform",
122122
docker_platform,
123-
"python:3.9",
123+
"python:3.11",
124124
"bash",
125125
"-c",
126126
script_check,

0 commit comments

Comments
 (0)