Control: notfound -1 astropy/5.1-1
Control: reassign -1 src:astroplan

The backward-compatible plugin ``astropy.tests.plugins.display`` has been removed in Astropy 5.1; use ``pytest-astropy-header`` instead.

This has been fixed in the new release astropy 0.8, which I would ask you to upload. A quick fix for 0.7 is attached here, however.

Cheers

Ole

From: Ole Streicher <oleb...@debian.org>
Date: Mon, 13 Jun 2022 10:09:26 +0200
Subject: Import pytest header modules from astropy-pytest-headers

---
 astroplan/conftest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astroplan/conftest.py b/astroplan/conftest.py
index 2b1c9d2..2e10d45 100644
--- a/astroplan/conftest.py
+++ b/astroplan/conftest.py
@@ -9,7 +9,7 @@ and then after that do things specific to astroplan.  But we also want astropy
 functionality for any functions we have *not* overriden, so that's why the
 ``import *`` happens at the top.
 """
-from astropy.tests.plugins.display import (TESTED_VERSIONS,
+from pytest_astropy_header.display import (TESTED_VERSIONS,
                                            PYTEST_HEADER_MODULES)
 
 from astropy.tests.helper import enable_deprecations_as_exceptions

Reply via email to