Skip to content

Commit

Permalink
Backport PR #3317: Fix CI/RTD failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry authored and meeseeksmachine committed Nov 25, 2024
1 parent 31e2b84 commit 9a60c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def flux_conversion(values, original_units, target_units, spec=None, eqv=None, s
spec : `~specutils.Spectrum1D`, optional
The Spectrum1D object that will have converted flux or surface brightness units.
eqv : list of `astropy.units.equivalencies`, optional
eqv : list of :ref:`astropy:unit_equivalencies`, optional
A list of Astropy equivalencies necessary for complex unit conversions/translations.
slice : `astropy.units.Quantity`, optional
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ filterwarnings = [
"ignore::DeprecationWarning:glue",
"ignore::DeprecationWarning:asteval",
"ignore:::specutils.spectra.spectrum1d",
# Remove the following line once https://github.com/astrofrog/mpl-scatter-density/issues/46 is addressed
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:mpl_scatter_density",
# Ignore numpy 2.0 warning, see https://github.com/astropy/astropy/pull/15495
# and https://github.com/scipy/scipy/pull/19275
"ignore:.*numpy\\.core.*:DeprecationWarning",
Expand Down

0 comments on commit 9a60c12

Please sign in to comment.