Skip to content

Commit

Permalink
try to eliminate some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed May 14, 2024
1 parent f7dfde0 commit 7fc9eca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
astropy-version: ['<5.0', '<5.1']
numpy-version: ['<1.20', '<1.21', '<1.22']
scipy-version: ['<1.6', '<1.7']
matplotlib-version: ['<3.4', '<3.5']
speclite-version: ['==0.19']

steps:
- name: Checkout code
Expand All @@ -40,11 +40,10 @@ jobs:
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install pytest pytest-astropy pyyaml
# python -m pip install -r requirements.txt
python -m pip install 'scipy${{ matrix.scipy-version }}'
python -m pip install 'matplotlib${{ matrix.matplotlib-version }}'
python -m pip install 'astropy${{ matrix.astropy-version }}'
python -m pip install 'numpy${{ matrix.numpy-version }}'
python -m pip install 'speclite${{ matrix.speclite-version }}'
- name: Run the test
run: pytest

Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install pytest pytest-astropy coveralls
python -m pip install pyyaml numpy\<1.21 scipy\<1.6 matplotlib\<3.3 astropy\<5.0
python -m pip install pyyaml numpy\<1.21 scipy\<1.6 astropy\<5.0 speclite==0.19
- name: Run the test with coverage
run: pytest --cov
Expand Down
9 changes: 7 additions & 2 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ Backwards Compatibility
The following recipes all give identical results in their output file ``ab22.dat``
and assume that the DESIMODEL environment variable has been set.

First, using the final SVN python version (revision 2134)::
First, using the final SVN python version (revision 2134):


.. code-block:: shell
cd $DESIMODEL
python bin/quicksim.py --infile data/spectra/spec-ABmag22.0.dat --model qso \
--verbose --show-plot --outfile ab22.dat
Next, using the first release (v0.1) after moving to a dedicated package on github::
Next, using the first release (v0.1) after moving to a dedicated package on github:

.. code-block:: shell
export SPECSIM_MODEL=$DESIMODEL
ln -s $SPECSIM_MODEL/data/throughput specsim/data/throughput
Expand Down

0 comments on commit 7fc9eca

Please sign in to comment.