Skip to content

Commit

Permalink
--Restrict CI Numpy version. (#2485)
Browse files Browse the repository at this point in the history
* --restrict numpy to 1.26.4
* --restrict pillow to 10.4.0
pillow 11.0 has typing incompatibilities.
  • Loading branch information
jturner65 authored Oct 29, 2024
1 parent 79d507a commit b89dede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ commands:
# For whatever reason we have to install pytorch first. If it isn't
# it installs the 1.4 cpuonly version. Which is no good.
conda install -y pytorch==1.12.1=py3.9_cuda11.3_cudnn8.3.2_0 torchvision==0.13.1=py39_cu113 cudatoolkit=11.3 -c pytorch -c nvidia
conda install -y -c conda-forge ninja numpy pytest pytest-cov ccache hypothesis pytest-mock
conda install -y -c conda-forge ninja numpy==1.26.4 pytest pytest-cov ccache hypothesis pytest-mock
pip install pytest-sugar pytest-xdist pytest-benchmark opencv-python cython mock
fi
- run: &validate_pytorch_installation
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
hypothesis==6.29.3 \
isort==5.12.0 \
mypy \
numpy \
numpy==1.26.4 \
pytest \
sphinx \
tqdm
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ matplotlib
numba
numpy==1.26.4
numpy-quaternion
pillow
pillow==10.4.0
scipy>=1.10.1
tqdm

0 comments on commit b89dede

Please sign in to comment.