diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 276a50ed..6d28a21c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -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 @@ -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