Your message dated Wed, 08 Aug 2018 15:49:15 +0000
with message-id <[email protected]>
and subject line Bug#895368: fixed in pymoc 0.5.0-3
has caused the Debian Bug report #895368,
regarding pymoc: don't try to run python upstream testsuite on archs without 
healpy
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.)


-- 
895368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895368
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pymoc
Version: 0.5.0-2
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu bionic ubuntu-patch

Dear maintainers,

Whereas Debian currently only regularly runs autopkgtests for amd64, in
Ubuntu, we run the autopkgtests across all architectures.  The pymoc
autopkgtests fail on several architectures, because they depend on
python{,3}-healpy, which has a hard-coded architecture list of [amd64 arm64
ppc64el].  However, pymoc itself only Suggests: python{,3}-healpy, implying
the package is still usable and should still be made available on these
other architectures, but the tests are wrong for these architectures.

I have uploaded the attached patch to Ubuntu, to architecture-restrict the
running of the upstream test suite as an autopkgtest; this allows us to
still run the 'pymoctool' autopkgtest and gather successful test results on
these architectures, rather than having to entirely ignore these test
results.

Please consider including this change in Debian as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
diff -Nru pymoc-0.5.0/debian/tests/control pymoc-0.5.0/debian/tests/control
--- pymoc-0.5.0/debian/tests/control    2018-02-22 00:42:32.000000000 -0800
+++ pymoc-0.5.0/debian/tests/control    2018-04-09 23:32:42.000000000 -0700
@@ -1,9 +1,9 @@
 Tests: upstream-python3-pymoc
-Depends: python3-pymoc, python3-healpy
+Depends: python3-pymoc, python3-healpy [amd64 arm64 ppc64el]
 Restrictions: allow-stderr
 
 Tests: upstream-python-pymoc
-Depends: python-pymoc, python-healpy
+Depends: python-pymoc, python-healpy [amd64 arm64 ppc64el]
 Restrictions: allow-stderr
 
 Tests: pymoctool
diff -Nru pymoc-0.5.0/debian/tests/upstream-python3-pymoc 
pymoc-0.5.0/debian/tests/upstream-python3-pymoc
--- pymoc-0.5.0/debian/tests/upstream-python3-pymoc     2018-02-21 
06:57:29.000000000 -0800
+++ pymoc-0.5.0/debian/tests/upstream-python3-pymoc     2018-04-10 
09:44:09.000000000 -0700
@@ -1,5 +1,13 @@
 #!/bin/sh
 # per example given in README.rst
 echo "exec upstream unittests under Python 3"
+case $(dpkg --print-architecture) in
+    amd64|arm64|ppc64el)
+        ;;
+    *)
+        echo "SKIPPED: healpy not available on this architecture"
+        exit 0
+        ;;
+esac
 exec python3 -m unittest
 
diff -Nru pymoc-0.5.0/debian/tests/upstream-python-pymoc 
pymoc-0.5.0/debian/tests/upstream-python-pymoc
--- pymoc-0.5.0/debian/tests/upstream-python-pymoc      2018-02-21 
06:57:29.000000000 -0800
+++ pymoc-0.5.0/debian/tests/upstream-python-pymoc      2018-04-10 
09:44:22.000000000 -0700
@@ -1,4 +1,12 @@
 #!/bin/sh
 # per example given in README.rst
 echo "exec upstream unittests under Python 2"
+case $(dpkg --print-architecture) in
+    amd64|arm64|ppc64el)
+        ;;
+    *)
+        echo "SKIPPED: healpy not available on this architecture"
+        exit 0
+        ;;
+esac
 exec python2 -m unittest discover

--- End Message ---
--- Begin Message ---
Source: pymoc
Source-Version: 0.5.0-3

We believe that the bug you reported is fixed in the latest version of
pymoc, 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.
Ole Streicher <[email protected]> (supplier of updated pymoc 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: Wed, 08 Aug 2018 17:19:50 +0200
Source: pymoc
Binary: python-pymoc python3-pymoc pymoctool
Architecture: source
Version: 0.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Ole Streicher <[email protected]>
Description:
 pymoctool  - Python Multi-Order Coverage maps tool for Virtual Observatory
 python-pymoc - Python 2 Multi-Order Coverage maps for Virtual Observatory
 python3-pymoc - Python 3 Multi-Order Coverage maps for Virtual Observatory
Closes: 895368
Changes:
 pymoc (0.5.0-3) unstable; urgency=medium
 .
   * Push Standards-Version to 4.2.0. No changes needed.
   * Skip catalog test if healpy is not available. (Closes: #895368)
Checksums-Sha1:
 6de9b77e7c6eb0cc5653acfb4710a8af9b971461 2239 pymoc_0.5.0-3.dsc
 cec1e65d59b2e656e9d951398f68f09ee9b4024b 4632 pymoc_0.5.0-3.debian.tar.xz
Checksums-Sha256:
 f49c55e69732d785223bbfa7e12c2a107bb6b4363cb22dd5496dd00f7d890ea7 2239 
pymoc_0.5.0-3.dsc
 c9c43354c028a5f7ba8c6bcba2687ba60438248e5a84a13ee0e7c818f1a6a76d 4632 
pymoc_0.5.0-3.debian.tar.xz
Files:
 f6a96907fe646007d57b1d4a38f51190 2239 python optional pymoc_0.5.0-3.dsc
 b7604de3dd5ce28c026ed411fda2df00 4632 python optional 
pymoc_0.5.0-3.debian.tar.xz

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

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAltrC7gACgkQmk9WvbkO
GL2LEQ/9FYaAmWzGP2jYFtoNdUyd3LAuPm1mAXB4CHTBP7ktMVXWrtdAEkr2Pzlq
Gn1K/TaW6KIAEs+0XLrk85j/r9nx3UeYHY28x4v9ciexAtm0YiDW+yOO2mKp0C/+
EUDSi9nAQz0LIQM71j8Yeh9QulOUr3DDyNoy1T9VVLrD4yQucY7CJmhmxSI6LbFs
VVVwA9p995ujc/rjMf6f+V6z4h7VKgUbpwjVx4G9PoRenmJekQvAXpAHK+Ypu5++
oBJaiF0OCIgd/jvc6I2vXMwQJ/ZEM5zNCu78SEoG7IRSVGYDlVcr/AtMMqQZ2z3V
qfJ3zGjRfag8SqKTaUGgronXcIRO49eAo6EEaenweMSnsOGE/t+zEXLjQlzJ9+vM
svrrUYqMozyIIfaigGJufC3nTU2X1u86r3ZQ2WLd7iXx/5QaXm4rj1QMI6u6EnG2
YeA24IdQMD87JrkqfGeVquCTtyt0IHKjk57kxfCe060Ee7LFHXvNqiENGfINZfbB
ElepoUfm4CeZzr1wGRdz2k5roFTWSMSSXgwnsfLpF4RvlehOPJLWnT7UOlDn40Ha
yf4kI9iG47io2HEv5pakrx40oIQV/gp1ntjdmvflzSVrmRcv9aNiTjnACUXwJnPC
MvBxJu1lei7qDG+Rfi7nL4CiUDoA3if0m+pzOhXkqsBZq71nv88=
=JgWU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to