diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index d61eb6f..66c3dab 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -113,6 +113,6 @@ jobs: run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }} - name: Upload coverage to codecov if: ${{ contains(matrix.toxenv,'-cov') }} - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 + uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 with: file: ./coverage.xml diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index a344894..7bb5815 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -42,7 +42,7 @@ jobs: run: | python -m pip install pip "twine>=3.3" -U - name: Build wheels - uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3 + uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0 env: CIBW_BUILD: 'cp310-* cp311-* cp312-* cp313-*' CIBW_SKIP: '*-musllinux_*' @@ -116,7 +116,7 @@ jobs: - name: Pylons inspection run: ls dist/* - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # v1.11.0 + uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2 anaconda: name: Publish nightly wheel to Anaconda @@ -132,7 +132,7 @@ jobs: merge-multiple: true - name: Pylons inspection run: ls dist/* - - uses: OpenAstronomy/publish-wheels-anaconda@612ea808f79152bd52a019316f684a12bbe8ba33 # main + - uses: OpenAstronomy/publish-wheels-anaconda@eae491141709933a7636af70b070e4a92d1a45be # main with: anaconda_user: STScI anaconda_package: synphot diff --git a/docs/synphot/units.rst b/docs/synphot/units.rst index fca54a4..84a4e3c 100644 --- a/docs/synphot/units.rst +++ b/docs/synphot/units.rst @@ -72,7 +72,7 @@ convert between all the supported flux units, including count/OBMAG (needs an extra input specifying telescope collecting area) and VEGAMAG (needs an extra input specifying the Vega spectrum to use), by taking account all the necessary unit equivalencies. You may also use -:meth:`~astropy.units.quantity.Quantity.to` directly, as supported by Astropy, +:meth:`~astropy.units.Quantity.to` directly, as supported by Astropy, but you would need to provide the equivalencies on your own. Somewhat related are ``synphot.units.AREA``, which is a shortcut for the unit @@ -186,8 +186,8 @@ Wavelength Units **synphot** supports all wavelength, frequency, and spectroscopic wavenumber (inverse wavelength) that are supported by Astropy. Conversion between those -units can be easily done using :meth:`~astropy.units.quantity.Quantity.to` and -passing in :func:`~astropy.units.equivalencies.spectral` as equivalency. +units can be easily done using :meth:`~astropy.units.Quantity.to` and +passing in :func:`~astropy.units.spectral` as equivalency. For backward compatibility with ASTROLIB PYSYNPHOT data files, the following non-standard wavelength unit *names* (case-insensitive) are also supported: