Source: astroquery
Version: 0.3.9+dfsg-1
Severity: important
Tags: patch

Hi,

I recently uploaded the latest version of astropy (3.2.1) to unstable.
This version breaks the test in a few reverse dependencies. The cause
here is that astropy.tests.pytest_plugins does not exist any longer.

Please consider applying the attached patch to fix this.

Thank you!

Best

Ole

From: Ole Streicher <oleb...@debian.org>
Date: Tue, 16 Jul 2019 20:43:41 +0200
Subject: Fix import failure from astropy.tests on astropy 3.2

---
 astroquery/conftest.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/astroquery/conftest.py b/astroquery/conftest.py
index 7f262a7..4615139 100644
--- a/astroquery/conftest.py
+++ b/astroquery/conftest.py
@@ -5,9 +5,8 @@ import os
 # by importing them here in conftest.py they are discoverable by py.test
 # no matter how it is invoked within the source tree.
 
-from astropy.tests.pytest_plugins import (PYTEST_HEADER_MODULES,
-                                          enable_deprecations_as_exceptions,
-                                          TESTED_VERSIONS)
+from astropy.tests.helper import enable_deprecations_as_exceptions
+from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, TESTED_VERSIONS
 
 try:
     packagename = os.path.basename(os.path.dirname(__file__))

Reply via email to