From eec59ac00206d458e96d6607fb2a06cc5ac55eea Mon Sep 17 00:00:00 2001 From: Sameeul Samee Date: Tue, 31 Dec 2024 11:30:57 -0500 Subject: [PATCH] pin imagecodecs --- .github/workflows/build_cuda11_wheels.yml | 2 +- .github/workflows/build_cuda12_wheels.yml | 2 +- .github/workflows/build_wheels.yml | 4 ++-- .github/workflows/publish_cuda11_pypi.yml | 2 +- .github/workflows/publish_cuda12_pypi.yml | 2 +- .github/workflows/publish_pypi.yml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_cuda11_wheels.yml b/.github/workflows/build_cuda11_wheels.yml index 1614823c..67dc4883 100644 --- a/.github/workflows/build_cuda11_wheels.yml +++ b/.github/workflows/build_cuda11_wheels.yml @@ -74,7 +74,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --exclude=libcufft.so --exclude=libcufft.so.10 --exclude=libcufft.so.10.4.2.109 --exclude=libcudart.so --exclude=libcudart.so.11.0 --exclude=libcudart.so.11.3.109 -w {dest_dir} {wheel}" CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel} --no-dll=cufft64_10.dll;cufftw64_10.dll;cudart32_110.dll;cudart64_110.dll" CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin" %SystemRoot%\System32 CIBW_TEST_COMMAND: python -m pip check diff --git a/.github/workflows/build_cuda12_wheels.yml b/.github/workflows/build_cuda12_wheels.yml index b58d3ad9..b309cbac 100644 --- a/.github/workflows/build_cuda12_wheels.yml +++ b/.github/workflows/build_cuda12_wheels.yml @@ -74,7 +74,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel} --no-dll cufft64_11.dll;cufftw64_11.dll;cudart32_120.dll;cudart64_120.dll" CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --exclude=libcufft.so --exclude=libcufft.so.11 --exclude=libcufft.so.11.0.12.1 --exclude=libcudart.so --exclude=libcudart.so.12 --exclude=libcudart.so.12.3.101 -w {dest_dir} {wheel} CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin" %SystemRoot%\System32 CIBW_TEST_COMMAND: python -m pip check diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index b0fb06aa..84955d6a 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -63,7 +63,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_MACOS: DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} && DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel} CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_TEST_COMMAND: pytest -vv {project}/tests/python - name: Upload Artifact @@ -114,7 +114,7 @@ jobs: CIBW_ENVIRONMENT_MACOS: REPAIR_LIBRARY_PATH="/tmp/nyxus_bld/local_install/lib:/tmp/nyxus_bld/local_install/lib64" PATH="/opt/homebrew/opt/llvm@16/bin:$PATH" COMPILER="/opt/homebrew/opt/llvm@16/bin/clang++" CFLAGS="-I/opt/homebrew/opt/llvm@16/include" CPPFLAGS="-I/opt/homebrew/opt/llvm@16/include" LDFLAGS="-L/opt/homebrew/opt/llvm@16/lib -L/opt/homebrew/opt/llvm@16/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@16/lib/c++" CXX="/opt/homebrew/opt/llvm@16/bin/clang++" CC="/opt/homebrew/opt/llvm@16/bin/clang" NYXUS_DEP_DIR="/tmp/nyxus_bld/local_install" CIBW_REPAIR_WHEEL_COMMAND_MACOS: DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} && DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel} CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_TEST_COMMAND: pytest -vv {project}/tests/python - name: Upload Artifact diff --git a/.github/workflows/publish_cuda11_pypi.yml b/.github/workflows/publish_cuda11_pypi.yml index 5d844615..f82eed91 100644 --- a/.github/workflows/publish_cuda11_pypi.yml +++ b/.github/workflows/publish_cuda11_pypi.yml @@ -76,7 +76,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --exclude=libcufft.so --exclude=libcufft.so.10 --exclude=libcufft.so.10.4.2.109 --exclude=libcudart.so --exclude=libcudart.so.11.0 --exclude=libcudart.so.11.3.109 -w {dest_dir} {wheel}" CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel} --no-dll=cufft64_10.dll;cufftw64_10.dll;cudart32_110.dll;cudart64_110.dll" CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin" %SystemRoot%\System32 CIBW_TEST_COMMAND: python -m pip check diff --git a/.github/workflows/publish_cuda12_pypi.yml b/.github/workflows/publish_cuda12_pypi.yml index 8a104c00..5a2df04c 100644 --- a/.github/workflows/publish_cuda12_pypi.yml +++ b/.github/workflows/publish_cuda12_pypi.yml @@ -75,7 +75,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel} --no-dll cufft64_11.dll;cufftw64_11.dll;cudart32_120.dll;cudart64_120.dll" CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --exclude=libcufft.so --exclude=libcufft.so.11 --exclude=libcufft.so.11.0.12.1 --exclude=libcudart.so --exclude=libcudart.so.12 --exclude=libcudart.so.12.3.101 -w {dest_dir} {wheel} CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_BEFORE_TEST_WINDOWS: xcopy /E /I /y "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0\bin" %SystemRoot%\System32 CIBW_TEST_COMMAND: python -m pip check diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 22d3f60a..6bdc17fd 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -64,7 +64,7 @@ jobs: CIBW_REPAIR_WHEEL_COMMAND_MACOS: DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} && DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel} CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_TEST_COMMAND: pytest {project}/tests/python - name: Install Dependencies @@ -117,7 +117,7 @@ jobs: CIBW_ENVIRONMENT_MACOS: REPAIR_LIBRARY_PATH="/tmp/nyxus_bld/local_install/lib:/tmp/nyxus_bld/local_install/lib64" PATH="/opt/homebrew/opt/llvm@16/bin:$PATH" COMPILER="/opt/homebrew/opt/llvm@16/bin/clang++" CFLAGS="-I/opt/homebrew/opt/llvm@16/include" CPPFLAGS="-I/opt/homebrew/opt/llvm@16/include" LDFLAGS="-L/opt/homebrew/opt/llvm@16/lib -L/opt/homebrew/opt/llvm@16/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@16/lib/c++" CXX="/opt/homebrew/opt/llvm@16/bin/clang++" CC="/opt/homebrew/opt/llvm@16/bin/clang" NYXUS_DEP_DIR="/tmp/nyxus_bld/local_install" CIBW_REPAIR_WHEEL_COMMAND_MACOS: DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} && DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel} CIBW_ARCHS: ${{ matrix.cibw_archs }} - CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio + CIBW_TEST_REQUIRES: numpy pandas pyarrow pytest bfio imagecodecs==2024.9.22 CIBW_TEST_COMMAND: pytest -vv {project}/tests/python - name: Install Dependencies