24
24
- uses : actions/setup-python@v5
25
25
with :
26
26
python-version : " 3.13"
27
- - run : python -m pip install --upgrade pip && pip install nox
27
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
28
28
- uses : dtolnay/rust-toolchain@stable
29
29
with :
30
30
components : rustfmt
73
73
- uses : Swatinem/rust-cache@v2
74
74
with :
75
75
save-if : ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'CI-save-pr-cache') }}
76
- - run : python -m pip install --upgrade pip && pip install nox
76
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
77
77
# This is a smoke test to confirm that CI will run on MSRV (including dev dependencies)
78
78
- name : Check with MSRV package versions
79
79
run : |
@@ -414,7 +414,7 @@ jobs:
414
414
save-if : ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'CI-save-pr-cache') }}
415
415
- uses : dtolnay/rust-toolchain@stable
416
416
- uses : taiki-e/install-action@valgrind
417
- - run : python -m pip install --upgrade pip && pip install nox
417
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
418
418
- run : nox -s test-rust -- release skip-full
419
419
env :
420
420
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER : valgrind --leak-check=no --error-exitcode=1
@@ -437,7 +437,7 @@ jobs:
437
437
with :
438
438
components : rust-src
439
439
- uses : taiki-e/install-action@cargo-careful
440
- - run : python -m pip install --upgrade pip && pip install nox
440
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
441
441
- run : nox -s test-rust -- careful skip-full
442
442
env :
443
443
RUST_BACKTRACE : 1
@@ -480,7 +480,7 @@ jobs:
480
480
- uses : actions/setup-node@v4
481
481
with :
482
482
node-version : 18
483
- - run : python -m pip install --upgrade pip && pip install nox
483
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
484
484
- uses : actions/cache/restore@v4
485
485
id : cache
486
486
with :
@@ -528,7 +528,7 @@ jobs:
528
528
echo PYTHONHOME=$(pwd)/python/install >> $GITHUB_ENV
529
529
echo PYO3_PYTHON=$(pwd)/python/install/bin/python3 >> $GITHUB_ENV
530
530
- run : python3 -m sysconfig
531
- - run : python3 -m pip install --upgrade pip && pip install nox
531
+ - run : python3 -m pip install --upgrade pip && pip install nox[uv]
532
532
- run : |
533
533
PYO3_CONFIG_FILE=$(mktemp)
534
534
cat > $PYO3_CONFIG_FILE << EOF
@@ -559,7 +559,7 @@ jobs:
559
559
with :
560
560
save-if : ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'CI-save-pr-cache') }}
561
561
- uses : dtolnay/rust-toolchain@stable
562
- - run : python3 -m pip install --upgrade pip && pip install nox
562
+ - run : python3 -m pip install --upgrade pip && pip install nox[uv]
563
563
- run : python3 -m nox -s test-version-limits
564
564
565
565
check-feature-powerset :
@@ -588,7 +588,7 @@ jobs:
588
588
- uses : taiki-e/install-action@v2
589
589
with :
590
590
tool : cargo-hack,cargo-minimal-versions
591
- - run : python3 -m pip install --upgrade pip && pip install nox
591
+ - run : python3 -m pip install --upgrade pip && pip install nox[uv]
592
592
- run : python3 -m nox -s check-feature-powerset -- ${{ matrix.rust != 'stable' && 'minimal-versions' || '' }}
593
593
594
594
test-cross-compilation :
@@ -732,7 +732,7 @@ jobs:
732
732
- uses : Swatinem/rust-cache@v2
733
733
with :
734
734
save-if : ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'CI-save-pr-cache') }}
735
- - run : python -m pip install --upgrade pip && pip install nox
735
+ - run : python -m pip install --upgrade pip && pip install nox[uv]
736
736
- run : nox -s test-introspection
737
737
env :
738
738
CARGO_BUILD_TARGET : ${{ matrix.platform.rust-target }}
0 commit comments