Skip to content

Commit

Permalink
restore matplotlib 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Aug 1, 2024
1 parent 42d1ab0 commit 738a718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
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.4'] # '<3.5']
matplotlib-version: ['<3.4', '<3.5']

steps:
- name: Checkout code
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install pytest pytest-astropy pyyaml Pillow\<10.1
python -m pip install pytest pytest-astropy pyyaml Pillow\<10.2
python -m pip install 'scipy${{ matrix.scipy-version }}'
python -m pip install 'matplotlib${{ matrix.matplotlib-version }}'
python -m pip install 'astropy${{ matrix.astropy-version }}'
Expand Down Expand Up @@ -72,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 Pillow\<10.2 numpy\<1.21 scipy\<1.6 matplotlib\<3.4 astropy\<5.0
python -m pip install Pillow\<10.3 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 738a718

Please sign in to comment.