Skip to content

Commit

Permalink
Merge pull request #401 from spacetelescope/dependabot/github_actions…
Browse files Browse the repository at this point in the history
…/master/actions-598dbef0e6

Bump the actions group with 4 updates
  • Loading branch information
pllim authored Dec 3, 2024
2 parents 5fbf019 + 319d075 commit 63a63f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_*'
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/synphot/units.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 63a63f2

Please sign in to comment.