From fb0cd8104f502452a5caafc91fbe278e42dfbee6 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Fri, 22 Nov 2024 10:55:58 -0500 Subject: [PATCH 1/3] Add intersphinx ref --- jdaviz/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/utils.py b/jdaviz/utils.py index 26be688d5f..ee279db6da 100644 --- a/jdaviz/utils.py +++ b/jdaviz/utils.py @@ -364,7 +364,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 From 6ed0bb4fcecc05ab317e02a30c693674c0ec54a1 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Mon, 25 Nov 2024 13:26:58 -0500 Subject: [PATCH 2/3] ignore mpl_scatter_density deprecation warning --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 98d2ccb61a..7b8e5d936f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", # 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", From 29c0b3184832d02fec7149955664bf5c77aa25ae Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Mon, 25 Nov 2024 13:54:40 -0500 Subject: [PATCH 3/3] specify mpl_scatter_density only --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7b8e5d936f..83f8179694 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,7 +139,7 @@ filterwarnings = [ "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", + "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",