Skip to content

Commit

Permalink
test pinning pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Aug 1, 2024
1 parent e5d00a5 commit 976ca12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
astropy-version: ['<5.0', '<5.1']
numpy-version: ['<1.20', '<1.21', '<1.22']
scipy-version: ['<1.6', '<1.7']
# matplotlib >= 3.3 brings in a dependency on Pillow, which requires numpy >= 1.21 (unless it's pinned. Maybe Pillow <10.1?)
matplotlib-version: ['<3.3'] # '<3.4', '<3.5']

steps:
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install pytest pytest-astropy pyyaml coveralls
python -m pip install numpy\<1.21 scipy\<1.6 matplotlib\<3.3 astropy\<5.0
python -m pip install Pillow\<10.1 numpy\<1.21 scipy\<1.6 matplotlib\<3.4 astropy\<5.0
- name: Run the test with coverage
run: pytest --cov
Expand Down

0 comments on commit 976ca12

Please sign in to comment.