From 77934b5a373db030ef4bf77a4f54c5010de70a47 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:34:46 -0400 Subject: [PATCH 1/4] Point to PR branch --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f21f99e..1b686b6 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,7 @@ deps = astropy_healpix-dev,all-dev: astropy_healpix[test] @ git+https://github.com/astropy/astropy-healpix.git astroquery-!dev,all-!dev: astroquery[test,all] - astroquery-dev,all-dev: astroquery[test,all] @ git+https://github.com/astropy/astroquery.git + astroquery-dev,all-dev: astroquery[test,all] @ git+https://github.com/pllim/astroquery.git@mv-conftest ccdproc,all: psutil ccdproc-!dev,all-!dev: ccdproc[test,all] From 9862214da3ea49211d3c2a547b009dc7151e02f4 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:35:16 -0400 Subject: [PATCH 2/4] Only run astroquery --- .github/workflows/integration_testing.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/integration_testing.yml b/.github/workflows/integration_testing.yml index a162b06..ba2e300 100644 --- a/.github/workflows/integration_testing.yml +++ b/.github/workflows/integration_testing.yml @@ -19,23 +19,5 @@ jobs: with: submodules: false envs: | - - linux: py311-asdf_astropy - - linux: py311-asdf_astropy-dev - - linux: py311-astropy_healpix - - linux: py311-astropy_healpix-dev - linux: py311-astroquery - linux: py311-astroquery-dev - - linux: py311-ccdproc - - linux: py311-ccdproc-dev - - linux: py311-photutils - - linux: py311-photutils-dev - - linux: py311-regions - - linux: py311-regions-dev - - linux: py311-reproject - - linux: py311-reproject-dev - - linux: py311-specreduce - - linux: py311-specreduce-dev - - linux: py311-specutils - - linux: py311-specutils-dev - - linux: py311-sunpy - - linux: py311-sunpy-dev From c131dab5f96d07b54c1b94914305badb3499efda Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:46:10 -0400 Subject: [PATCH 3/4] Create astroquery_pytest.ini --- astroquery_pytest.ini | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 astroquery_pytest.ini diff --git a/astroquery_pytest.ini b/astroquery_pytest.ini new file mode 100644 index 0000000..4f85c8a --- /dev/null +++ b/astroquery_pytest.ini @@ -0,0 +1,60 @@ +# This is copied from setup.cfg in astroquery +[pytest] +minversion = 6.0 +norecursedirs = build docs/_build astroquery/irsa astroquery/nasa_exoplanet_archive astroquery/ned astroquery/ibe astroquery/irsa_dust astroquery/cds astroquery/sha astroquery/dace +testpaths = astroquery docs +doctest_plus = enabled +astropy_header = true +text_file_format = rst +xfail_strict = true +remote_data_strict = true +addopts = --color=yes --doctest-rst --doctest-continue-on-failure +filterwarnings = + error +# Remove along with astropy-helpers, once we switch to a new versioning scheme + ignore:Use setlocale:DeprecationWarning + ignore: 'locale.getdefaultlocale' is deprecated and slated for removal:DeprecationWarning +# These are temporary measures, all of these should be fixed: +# ----------------------------------------------------------- + ignore:distutils Version classes are deprecated:DeprecationWarning +# Upstream issues in many packages, not clear whether we can do anything about these in astroquery + ignore:unclosed Date: Wed, 19 Mar 2025 14:47:00 -0400 Subject: [PATCH 4/4] Update tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1b686b6..5c6f04a 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ commands = pip freeze asdf_astropy,all: pytest --pyargs asdf_astropy astropy_healpix,all: pytest --pyargs astropy_healpix - astroquery,all: pytest --pyargs astroquery -k "not test_deprecated_namespace_import_warning and not test_raises_deprecation_warning" + astroquery,all: pytest --pyargs astroquery -c astroquery_pytest.ini ccdproc,all: pytest --pyargs ccdproc photutils,all: pytest --pyargs photutils regions,all: pytest --pyargs regions