Your message dated Sat, 18 Jun 2022 14:51:09 +0000
with message-id <[email protected]>
and subject line Bug#1013078: fixed in pyregion 2.1.1-2
has caused the Debian Bug report #1013078,
regarding New astropy breaks pyregion autopkgtest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1013078: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013078
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pydl
Version: 2.1.1-1
Severity: serious
Control: affects -1 src:astropy

Dear maintainer,

with the upload of astropy 5.1, the autopkgtest of pyregion starts to
fail. Currently this regression is blocking the migration of astropy to
testing.

The failure is

ImportError while loading conftest 
'/usr/lib/python3/dist-packages/pyregion/conftest.py'.
/usr/lib/python3/dist-packages/pyregion/conftest.py:15: in <module>
    from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, 
TESTED_VERSIONS
E   ModuleNotFoundError: No module named 'astropy.tests.plugins'


This can be fixed with the attached patch.


Best

Ole
From: Ole Streicher <[email protected]>
Date: Thu, 16 Jun 2022 15:33:56 +0200
Subject: Import PYTEST_HEADER_MODULES and TESTED_VERSIONS from
 astropy_pytest_header

The import from astropy was removed in astropy 5.1.
---
 pyregion/conftest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyregion/conftest.py b/pyregion/conftest.py
index 1b2e2b2..68357e4 100644
--- a/pyregion/conftest.py
+++ b/pyregion/conftest.py
@@ -12,7 +12,8 @@ else:
     # automatically made available when Astropy is installed. This means it's
     # not necessary to import them here, but we still need to import global
     # variables that are used for configuration.
-    from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, TESTED_VERSIONS
+    from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,
+                                               TESTED_VERSIONS)
 
 from astropy.tests.helper import enable_deprecations_as_exceptions
 

--- End Message ---
--- Begin Message ---
Source: pyregion
Source-Version: 2.1.1-2
Done: Vincent Prat <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyregion, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Prat <[email protected]> (supplier of updated pyregion package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 18 Jun 2022 15:53:44 +0200
Source: pyregion
Architecture: source
Version: 2.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Vincent Prat <[email protected]>
Closes: 1013078
Changes:
 pyregion (2.1.1-2) unstable; urgency=medium
 .
   * Patch to ensure compatibility with astropy 5.1 (Closes: #1013078)
   * Update d/copyright
Checksums-Sha1:
 6fc1218a63c234b6874d904d9949e7a2e4679133 2258 pyregion_2.1.1-2.dsc
 5633bcaad08e5748c9626b859279522566313cdc 5860 pyregion_2.1.1-2.debian.tar.xz
 86d238efc185d6a3acfa26afe0422b8b617dfc94 13230 pyregion_2.1.1-2_amd64.buildinfo
Checksums-Sha256:
 2ace4f242ba50bd09ccde4a62dba4523d6882ee597a1dc185a0d9e46cbefaab7 2258 
pyregion_2.1.1-2.dsc
 3103950226c93165f50bdbfaeb5c6e8bb362bf13a0dc2bff3a62df66c4b47dd0 5860 
pyregion_2.1.1-2.debian.tar.xz
 eed01f27c5893bae1bcd7c3c9436cea4e46e25568960dd1cc8c8f0f6e28a1aed 13230 
pyregion_2.1.1-2_amd64.buildinfo
Files:
 34eceee3041dc27d5cdcfc5587d4b4be 2258 python optional pyregion_2.1.1-2.dsc
 e9722fa369aa2691ef074551f1ef227d 5860 python optional 
pyregion_2.1.1-2.debian.tar.xz
 b4ebdb49d2dbf9fa6f8f7a42f47b39a1 13230 python optional 
pyregion_2.1.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEwN+g0Kj2VQgeB/icBzHNjq6Fm38FAmKt38YQHHZpdmlAZGVi
aWFuLm9yZwAKCRAHMc2OroWbf4mAEACL99Zh5Y/e8dfXuBsnqmupiJbR4cutB0Oe
Y6OJKRDKcyD/w1UFzoxwH4zQCmeyCbdAgCp3Gjg9SCfFcym8bwukIpdnTQZqKJCF
ZHpFiyT26hsBv4DwuSR2zExgh+/MVNHDc66lWwVRNoGfirDnu6LRRH4Owbe6mxl0
nqH7k1MVJ+4XoO8xP6sJWHhhZbsFj+GIEq9kj3WlsIJM4fOulwrp+XOl/FuO+50F
8+9WcQPdjyujoXlzxEah0eeXw4i9uwZCUy15TXanJ3U9trjJFKQJfPxSFwAGOo8x
Bb/8gkXC2hUjxNuiN4/24yeYzteiaMabC+EUnBwAraNz3L+M+1L/x63KCfM8ylVe
3gAeeLr1LY205jtDDYl0i9kw44v6htDVT33k5egDkfRaQC5PmP1s0nG0URgsQKfQ
5aVEvqcGEfG8bmTlglK1c/h3SODPnO2m6UXsqyR8mVDVSwFOnxsHJi8YZdnyKMdK
VktbIfYVhXcmZ6GiBwfiYfuze7Ak3fkgY4H7A9MryIMVZefWQSHmGpHnPxN6Jkxj
ZzyBTpKIFnMrp1xvvK9DiKX+79TZx1CQ2V3PGLMvK9T0zGbVdhz3TixvzaCwjxb5
DYHFNL5f3k7sHfULwv+5aYIOV/zQLZlXH+YSqLWYbXleHti2Fn29VEMtkOr3cd7t
w+xlyo0iPA==
=TVHB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to