Skip to content

Commit 432b473

Browse files
authored
ci: fix crossenv tests (#541)
1 parent 45919da commit 432b473

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

noxfile.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ def test_crossenv(session: nox.Session):
7373
git config --global --add safe.directory /io
7474
7575
cd examples/rust_with_cffi/
76-
# Using crossenv master to workaround https://github.com/benfogle/crossenv/issues/108, will need 1.5.0 when released
77-
python3.11 -m pip install https://github.com/benfogle/crossenv/archive/refs/heads/master.zip
78-
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
76+
python3.13 -m pip install crossenv
77+
python3.13 -m crossenv "/opt/python/cp313-cp313/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 /venv
7978
. /venv/bin/activate
8079
8180
build-pip install -U 'pip>=23.2.1' 'setuptools>=70.1' 'build>=1'
@@ -128,7 +127,7 @@ def test_crossenv(session: nox.Session):
128127
"/io",
129128
"--platform",
130129
docker_platform,
131-
"python:3.11",
130+
"python:3.13",
132131
"bash",
133132
"-c",
134133
script_check,

0 commit comments

Comments
 (0)