Skip to content

Commit

Permalink
try pinning matplotlib instead, to fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geordie666 committed May 17, 2024
1 parent eda882f commit 86f4ab1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
python-version: [3.9]
astropy-version: ['==5.0', '<6'] # fuji version
fitsio-version: ['==1.1.6'] # fuji version
numpy-version: ['<1.24'] # to keep asscalar, used by astropy
numpy-version: ['<1.23'] # to keep asscalar, used by astropy
matplotlib-version: ['<3.6.3'] # later versions of matplotlib require later versions of numpy.

env:
DESIUTIL_VERSION: 3.2.5
Expand All @@ -43,6 +44,7 @@ jobs:
python -m pip install -r requirements.txt
python -m pip install -U 'numpy${{ matrix.numpy-version }}'
python -m pip install -U 'astropy${{ matrix.astropy-version }}'
python -m pip install -U 'matplotlib${{ matrix.matplotlib-version }}'
python -m pip cache remove fitsio
python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'
svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data
Expand All @@ -58,7 +60,8 @@ jobs:
os: [ubuntu-latest]
python-version: [3.9]
fitsio-version: ['==1.1.6'] # fuji version
numpy-version: ['<1.24'] # to keep asscalar, used by astropy
numpy-version: ['<1.23'] # to keep asscalar, used by astropy
matplotlib-version: ['<3.6.3'] # later versions of matplotlib require later versions of numpy.
env:
DESIUTIL_VERSION: 3.2.5
DESIMODEL_DATA: branches/test-0.17
Expand Down

0 comments on commit 86f4ab1

Please sign in to comment.