Skip to content

Commit

Permalink
Fix PyTorch + setuptools bug (#357)
Browse files Browse the repository at this point in the history
* Fix PyTorch + setuptools bug

* Move constraint to GitHub Actions
  • Loading branch information
adamjstewart authored Jan 12, 2022
1 parent 5136d81 commit ff28a3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
if: ${{ runner.os == 'Windows' }}
- name: Install conda dependencies (Windows)
run: |
conda install 'fiona>=1.5' h5py 'rasterio>=1.0.16'
# PyTorch isn't compatible with setuptools 59.6+, pin for now until new PyTorch release
# https://github.com/pytorch/pytorch/pull/69904
conda install 'fiona>=1.5' h5py 'rasterio>=1.0.16' 'setuptools<59.6'
conda list
conda info
if: ${{ runner.os == 'Windows' }}
Expand Down

0 comments on commit ff28a3b

Please sign in to comment.