From b89dede9fd58abb4548b5123f78ec048f79eb15e Mon Sep 17 00:00:00 2001 From: John Turner <7strbass@gmail.com> Date: Tue, 29 Oct 2024 16:58:37 -0400 Subject: [PATCH] --Restrict CI Numpy version. (#2485) * --restrict numpy to 1.26.4 * --restrict pillow to 10.4.0 pillow 11.0 has typing incompatibilities. --- .circleci/config.yml | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f18e7227ec..1a93af4175 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -205,7 +205,7 @@ jobs: hypothesis==6.29.3 \ isort==5.12.0 \ mypy \ - numpy \ + numpy==1.26.4 \ pytest \ sphinx \ tqdm diff --git a/requirements.txt b/requirements.txt index 3985aaf148..f6901fc3ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ matplotlib numba numpy==1.26.4 numpy-quaternion -pillow +pillow==10.4.0 scipy>=1.10.1 tqdm