Your message dated Mon, 09 Dec 2019 17:05:32 +0000
with message-id <e1iemtu-0006wn...@fasolo.debian.org>
and subject line Bug#943620: fixed in gammapy 0.15-1
has caused the Debian Bug report #943620,
regarding gammapy's tests fail with numpy-1.17 and python3.8
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 ow...@bugs.debian.org
immediately.)
--
943620: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943620
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:gammapy
Version: 0.13-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8
As discussed by email, gammapy's tests fail with numpy-1.17 and python3.8.
/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py:522:
SystemError
_____________________________ test_energy_logspace _____________________________
i = 2, stacklevel = 3
def _index_deprecate(i, stacklevel=2):
try:
> i = operator.index(i)
E TypeError: 'numpy.float64' object cannot be interpreted as an
integer
/usr/lib/python3/dist-packages/numpy/core/function_base.py:22: TypeError
During handling of the above exception, another exception occurred:
def test_energy_logspace():
energy = energy_logspace(emin="0.1 TeV", emax="10 TeV", nbins=3)
assert energy.unit == "TeV"
assert_allclose(energy.value, [0.1, 1, 10])
energy = energy_logspace(emin=0.1, emax=10, nbins=3, unit="TeV")
assert energy.unit == "TeV"
assert_allclose(energy.value, [0.1, 1, 10])
> energy = energy_logspace(emin="0.1 TeV", emax="10 TeV", nbins=1,
per_decade=True)
gammapy/utils/tests/test_energy.py:16:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gammapy/utils/energy.py:36: in energy_logspace
energy = np.logspace(x_min, x_max, nbins)
<__array_function__ internals>:5: in logspace
???
/usr/lib/python3/dist-packages/numpy/core/function_base.py:277: in logspace
y = linspace(start, stop, num=num, endpoint=endpoint, axis=axis)
<__array_function__ internals>:5: in linspace
???
/usr/lib/python3/dist-packages/numpy/core/function_base.py:128: in linspace
num = _index_deprecate(num)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
i = 2, stacklevel = 3
def _index_deprecate(i, stacklevel=2):
try:
i = operator.index(i)
except TypeError:
msg = ("object of type {} cannot be safely interpreted as "
"an integer.".format(type(i)))
i = int(i)
stacklevel += 1
> warnings.warn(msg, DeprecationWarning, stacklevel=stacklevel)
E DeprecationWarning: object of type <class 'numpy.float64'> cannot be
safely interpreted as an integer.
/usr/lib/python3/dist-packages/numpy/core/function_base.py:28:
DeprecationWarning
============= 14 failed, 964 passed, 493 skipped in 86.80 seconds ==============
--- End Message ---
--- Begin Message ---
Source: gammapy
Source-Version: 0.15-1
We believe that the bug you reported is fixed in the latest version of
gammapy, 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 943...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated gammapy 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 09 Dec 2019 17:33:45 +0100
Source: gammapy
Architecture: source
Version: 0.15-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 943620
Changes:
gammapy (0.15-1) unstable; urgency=medium
.
* Update auto_test to use pytest
* Push Standards-Version to 4.4.1. No changes required.
* Remove d/compat
* New upstream version 0.15. Rediff patches (Closes: #943620)
* Fix setuptools_scm version number
* Update build dependencies
* Initialize __version__ with None if version info is unavailable
* Don't install gammapy binary
Checksums-Sha1:
8182ac812e2edff3ac5ba75486b3fbe6c1de2318 2521 gammapy_0.15-1.dsc
37130f6f78854053d27f6ea99f9136b6aba2203d 2047444 gammapy_0.15.orig.tar.gz
752f0dcb054d171af8068e92010c18e2e4b4cbf6 5764 gammapy_0.15-1.debian.tar.xz
Checksums-Sha256:
f5d624eb703e1cfefa48648e872bbd74ee31631691760a0c1b8c702ef29b44d8 2521
gammapy_0.15-1.dsc
fe4c2bef8e5cba09361d58c5caa8b1ad92cc7ded5afb33c52a55493d7ab46c28 2047444
gammapy_0.15.orig.tar.gz
b21ef46a6421e53ce3e266a51efd16e1399e21655dd2042ca191b9894a728c14 5764
gammapy_0.15-1.debian.tar.xz
Files:
fbbfb35cdcb99d09b97fdf398e654918 2521 python optional gammapy_0.15-1.dsc
49b0ef74115dc9e345b1f95e96b390d9 2047444 python optional
gammapy_0.15.orig.tar.gz
36c9b4ef1e97e0c642a408a5c74fcc77 5764 python optional
gammapy_0.15-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAl3ufB4ACgkQmk9WvbkO
GL1Vaw/7BgFTLa4i61bSp/W7id3gQbwRiRPGh4+pJ7QTclW4KQW2jiJ4FeaM/H/C
SXL5gLJB++kZTwtZIoDAvoKlyUNgNHaD4EZt3LxjGcj4vanZ9hSqdKfFR4g+VA+z
SQNKkm5fVhvEOxaPZ2RVDZHxk0TEcTJP3D6PX+SRc6QHMf0t2+EnMYHi9ZjN96i+
uvKWXTYqDwNsuSV03xP67dpNBlrZcybaSsOtZWLZ7tqpJJtlRlzsKtnzap+NdZeJ
ZLcBBitvnysSYE1SFnOp3dHxGSncCHln9enpSA+9PgrD15odufwOXBxI7XbzsOCk
XRAvfzMyoTSedJgUhZJ6DqC1zoQLTQSAXrRWjxFisujHfbTdnzjKW28Nphu08SmQ
cI2Ri8qGKX0Ut+8XXg2k+n0ntVCax2oVl5vqkcxQ7YLBmpdnzZhoXPPfuz+jt96Z
FXeBn6imPGFasvHZ8hIRUBg3aYMc9LNXU7WgdRWQ2OcITfEw8mHCBVx+80SBxdgr
XrZJXjquq5pnZFOYr6rnP4OVvJxf0ryO/I6h6Hn/DvSlLQeKk/1mIRTSROiCDykX
ewDzdUZ4u3srzgxE3FfuTH3/SbzwAJs7EcWISQQRj7PQOe6uFSACFyZMOYwhW9FT
Y+DqrxQ33Dyg7IkmjVOorYetLKDst3Z+7+P7Dmbml+dbc8jh/eE=
=E0qZ
-----END PGP SIGNATURE-----
--- End Message ---