Skip to content

Commit f317f21

Browse files
authored
Add test_ prefix in cuda_pathfinder/pyproject.toml, update toolshed/ and .github/workflows accordingly (#966)
1 parent 90096d2 commit f317f21

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283
run: |
284284
set -euo pipefail
285285
pushd cuda_pathfinder
286-
pip install --only-binary=:all: -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR},nvidia_wheels_host]"
286+
pip install --only-binary=:all: -v ".[test_nvidia_wheels_cu${TEST_CUDA_MAJOR},test_nvidia_wheels_host]"
287287
pip list
288288
popd
289289

.github/workflows/test-wheel-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256
shell: bash --noprofile --norc -xeuo pipefail {0}
257257
run: |
258258
pushd cuda_pathfinder
259-
pip install --only-binary=:all: -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR},nvidia_wheels_host]"
259+
pip install --only-binary=:all: -v ".[test_nvidia_wheels_cu${TEST_CUDA_MAJOR},test_nvidia_wheels_host]"
260260
pip list
261261
popd
262262

cuda_pathfinder/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = []
1414
test = [
1515
"pytest>=6.2.4",
1616
]
17-
nvidia_wheels_cu12 = [
17+
test_nvidia_wheels_cu12 = [
1818
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg]==12.*",
1919
"cuda-toolkit[cufile]==12.*; sys_platform != 'win32'",
2020
"nvidia-cudss-cu12",
@@ -23,13 +23,13 @@ nvidia_wheels_cu12 = [
2323
"nvidia-nccl-cu12; sys_platform != 'win32'",
2424
"nvidia-nvshmem-cu12; sys_platform != 'win32'",
2525
]
26-
nvidia_wheels_cu13 = [
26+
test_nvidia_wheels_cu13 = [
2727
"cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,nvvm]==13.*",
2828
"cuda-toolkit[cufile]==13.*; sys_platform != 'win32'",
2929
"nvidia-nccl-cu13; sys_platform != 'win32'",
3030
"nvidia-nvshmem-cu13; sys_platform != 'win32'",
3131
]
32-
nvidia_wheels_host = [
32+
test_nvidia_wheels_host = [
3333
"nvpl-fft; platform_system == 'Linux' and platform_machine == 'aarch64'",
3434
]
3535

toolshed/collect_site_packages_dll_files.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ function Fresh-Venv {
2323
Set-Location -Path 'cuda_pathfinder'
2424

2525
Fresh-Venv -Path '..\TmpCp12Venv'
26-
pip install --only-binary=:all: -e '.[test,nvidia_wheels_cu12,nvidia_wheels_host]'
26+
pip install --only-binary=:all: -e '.[test,test_nvidia_wheels_cu12,test_nvidia_wheels_host]'
2727
deactivate
2828

2929
Fresh-Venv -Path '..\TmpCp13Venv'
30-
pip install --only-binary=:all: -e '.[test,nvidia_wheels_cu13,nvidia_wheels_host]'
30+
pip install --only-binary=:all: -e '.[test,test_nvidia_wheels_cu13,test_nvidia_wheels_host]'
3131
deactivate
3232

3333
Set-Location -Path '..'

toolshed/collect_site_packages_so_files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ fresh_venv() {
1717
cd cuda_pathfinder/
1818
fresh_venv ../TmpCp12Venv
1919
set -x
20-
pip install --only-binary=:all: -e .[test,nvidia_wheels_cu12,nvidia_wheels_host]
20+
pip install --only-binary=:all: -e .[test,test_nvidia_wheels_cu12,test_nvidia_wheels_host]
2121
set +x
2222
deactivate
2323
fresh_venv ../TmpCp13Venv
2424
set -x
25-
pip install --only-binary=:all: -e .[test,nvidia_wheels_cu13,nvidia_wheels_host]
25+
pip install --only-binary=:all: -e .[test,test_nvidia_wheels_cu13,test_nvidia_wheels_host]
2626
set +x
2727
deactivate
2828
cd ..

0 commit comments

Comments
 (0)