Skip to content

Commit

Permalink
Try unpinning numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Jul 10, 2022
1 parent 16a9c19 commit 01c9858
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci_integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ jobs:
if: inputs.requires == 'oldest'
run: python .github/assistant.py set-oldest-versions --req_files=requirements/integrate.txt

- name: Freeze Numpy (hotfix)
if: matrix.requires == 'latest'
run: pip install "numpy==1.20.0" # temp fix for cypesq

- name: Freeze PIL (hotfix)
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
run: pip install "Pillow<9.0" # It messes with torchvision
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:
pip install --requirement requirements/test.txt --quiet
python ./.github/assistant.py prune-packages requirements/image.txt torchvision
python ./.github/assistant.py prune-packages requirements/detection.txt torchvision
pip install -q "numpy==1.20.0" # try to fix cocotools for PT 1.4 & 1.9
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
pip install -q "Pillow<9.0" # It messes with torchvision
pip install -e . -r requirements/devel.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ jobs:
# NOTE: run coverage on tests does not propagate failure status for Win, https://github.com/nedbat/coveragepy/issues/1003
run: python -m pytest torchmetrics

- name: Freeze Numpy (hotfix)
if: matrix.requires == 'latest'
run: pip install "numpy==1.20.0" # temp fix for cypesq

- name: Freeze PIL (hotfix)
# import of PILLOW_VERSION which they recently removed in v9.0 in favor of __version__
run: pip install "Pillow<9.0" # It messes with torchvision
Expand Down

0 comments on commit 01c9858

Please sign in to comment.