Source: astropy-healpix
Version: 0.4-5
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.

To get it actually built now, the lines

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
        python$* setup.py test -vv --args "-vv"

override_dh_auto_test:  $(PYTHON3:%=test-python%)
endif

should be removed from d/rules as well; the test is now invoked
automatically without these lines.

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

---
 astropy_healpix/conftest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/astropy_healpix/conftest.py b/astropy_healpix/conftest.py
index eb84506..f7b90a0 100644
--- a/astropy_healpix/conftest.py
+++ b/astropy_healpix/conftest.py
@@ -4,7 +4,8 @@
 # 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 *
+from astropy.tests.helper import enable_deprecations_as_exceptions
+from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, TESTED_VERSIONS
 
 # Uncomment the following line to treat all DeprecationWarnings as
 # exceptions. For Astropy v2.0 or later, there are 2 additional keywords,

Reply via email to