Your message dated Mon, 21 Jan 2019 13:49:12 +0000
with message-id <[email protected]>
and subject line Bug#918625: fixed in astropy-healpix 0.4-2
has caused the Debian Bug report #918625,
regarding astropy-healpix: autopkgtest deprecation warning due to new version
of python-numpy
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.)
--
918625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: astropy-healpix
Version: 0.4-1
User: [email protected]
Usertags: needs-update
Control: affects -1 src:python-numpy
[X-Debbugs-CC: [email protected], [email protected]]
Dear maintainers,
With a recent upload of python-numpy the autopkgtest of astropy-healpix
fails in testing when that autopkgtest is run with the binary packages
of python-numpy from unstable. It passes when run with only packages
from testing. In tabular form:
pass fail
python-numpy from testing 1:1.16.0~rc2-1
astropy-healpix from testing 0.4-1
versioned deps [0] from testing from unstable
all others from testing from testing
I copied some of the output at the bottom of this report. Your
autopkgtest fails on a Deprecation Warning. If possible, please fix your
autopkgtest to not do that at all, but at least fix this issue.
Currently this regression is contributing to the delay of the migration
of python-numpy to testing [1]. Of course, python-numpy shouldn't just
break your autopkgtest (or even worse, your package), but it seems to me
that the change in python-numpy was intended and your package needs to
update to the new situation. If needed, please change the bug's severity.
I am going have this regression ignored for the python-numpy migration.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
python-numpy/1:1.16.0~rc2-1. I.e. due to versioned dependencies or
breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=python-numpy
https://ci.debian.net/data/autopkgtest/testing/amd64/a/astropy-healpix/1658971/log.gz
=================================== FAILURES
===================================
_________________________________ test_vec2pix
_________________________________
@given(nside_pow=integers(0, 29), nest=booleans(),
> x=floats(-1, 1, allow_nan=False,
allow_infinity=False).filter(lambda x: abs(x) > 1e-10),
y=floats(-1, 1, allow_nan=False,
allow_infinity=False).filter(lambda y: abs(y) > 1e-10),
z=floats(-1, 1, allow_nan=False,
allow_infinity=False).filter(lambda z: abs(z) > 1e-10))
/usr/lib/python3/dist-packages/astropy_healpix/tests/test_healpy.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/usr/lib/python3/dist-packages/hypothesis/core.py:519: in execute
result = self.test_runner(data, run)
/usr/lib/python3/dist-packages/hypothesis/executors.py:58: in
default_new_style_executor
return function(data)
/usr/lib/python3/dist-packages/hypothesis/core.py:517: in run
return test(*args, **kwargs)
/usr/lib/python3/dist-packages/astropy_healpix/tests/test_healpy.py:118:
in test_vec2pix
x=floats(-1, 1, allow_nan=False, allow_infinity=False).filter(lambda
x: abs(x) > 1e-10),
/usr/lib/python3/dist-packages/hypothesis/core.py:464: in test
result = self.test(*args, **kwargs)
/usr/lib/python3/dist-packages/astropy_healpix/tests/test_healpy.py:124:
in test_vec2pix
ipix1 = hp_compat.vec2pix(nside, x, y, z, nest=nest)
/usr/lib/python3/dist-packages/astropy_healpix/healpy.py:124: in vec2pix
theta = np.asscalar(theta)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
a = array([ 0.95531662])
@array_function_dispatch(_asscalar_dispatcher)
def asscalar(a):
"""
Convert an array of size 1 to its scalar equivalent.
.. deprecated:: 1.16
Deprecated, use `numpy.ndarray.item()` instead.
Parameters
----------
a : ndarray
Input array of size 1.
Returns
-------
out : scalar
Scalar representation of `a`. The output data type is the
same type
returned by the input's `item` method.
Examples
--------
>>> np.asscalar(np.array([24]))
24
"""
# 2018-10-10, 1.16
warnings.warn('np.asscalar(a) is deprecated since NumPy v1.16, use '
> 'a.item() instead', DeprecationWarning, stacklevel=1)
E DeprecationWarning: np.asscalar(a) is deprecated since NumPy
v1.16, use a.item() instead
/usr/lib/python3/dist-packages/numpy/lib/type_check.py:546:
DeprecationWarning
---------------------------------- Hypothesis
----------------------------------
Falsifying example: test_vec2pix(nside_pow=0, x=1.0000000827403713e-10,
y=1.0000000827403713e-10, z=1.0000000827403713e-10, nest=False)
______________________________ test_vec2pix_shape
______________________________
def test_vec2pix_shape():
> ipix = hp_compat.vec2pix(8, 1., 2., 3.)
/usr/lib/python3/dist-packages/astropy_healpix/tests/test_healpy.py:142:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/usr/lib/python3/dist-packages/astropy_healpix/healpy.py:124: in vec2pix
theta = np.asscalar(theta)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
a = array([ 0.64052231])
@array_function_dispatch(_asscalar_dispatcher)
def asscalar(a):
"""
Convert an array of size 1 to its scalar equivalent.
.. deprecated:: 1.16
Deprecated, use `numpy.ndarray.item()` instead.
Parameters
----------
a : ndarray
Input array of size 1.
Returns
-------
out : scalar
Scalar representation of `a`. The output data type is the
same type
returned by the input's `item` method.
Examples
--------
>>> np.asscalar(np.array([24]))
24
"""
# 2018-10-10, 1.16
warnings.warn('np.asscalar(a) is deprecated since NumPy v1.16, use '
> 'a.item() instead', DeprecationWarning, stacklevel=1)
E DeprecationWarning: np.asscalar(a) is deprecated since NumPy
v1.16, use a.item() instead
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: astropy-healpix
Source-Version: 0.4-2
We believe that the bug you reported is fixed in the latest version of
astropy-healpix, 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.
Leo Singer <[email protected]> (supplier of updated astropy-healpix 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: Mon, 21 Jan 2019 08:24:19 -0500
Source: astropy-healpix
Binary: python3-astropy-healpix
Architecture: source armhf
Version: 0.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Maintainers
<[email protected]>
Changed-By: Leo Singer <[email protected]>
Description:
python3-astropy-healpix - HEALPix representation of spherical data - Python 3
Closes: 917756 918201 918625
Changes:
astropy-healpix (0.4-2) unstable; urgency=medium
.
* Add patch to replace np.asscalar with ndarray.item to fix a
deprecation error in the unit tests.
(Closes: #917756, #918201, #918625)
* Update Standards-Version to 4.3.0.
Checksums-Sha1:
18198b64bf04443d6e7674637de0f589c37af952 2356 astropy-healpix_0.4-2.dsc
ba258609e0f7bb8133d8f1a6d69ee0913b1dd3ab 6260
astropy-healpix_0.4-2.debian.tar.xz
df6e846972b25dd10e4dac48d7b73bbc46e11853 9345
astropy-healpix_0.4-2_armhf.buildinfo
aa9fd08153eb71383384afd92633dc3f93ac301c 133744
python3-astropy-healpix-dbgsym_0.4-2_armhf.deb
72b9a5bbc6102c7e846a2fde605e6d50f02357e6 57784
python3-astropy-healpix_0.4-2_armhf.deb
Checksums-Sha256:
edb8bc6b095f615d3bf0298c009b68915e1a8be50c9a434b57e01dfe28b23149 2356
astropy-healpix_0.4-2.dsc
d5eb6e3a420aeb06ce685def0c18ed58e58f8a7a08e0ae36fcc4d4452ff74f8b 6260
astropy-healpix_0.4-2.debian.tar.xz
b665936187b689eee66d7b6699913a7b96ec516a5985d2cf868bbdea1277058f 9345
astropy-healpix_0.4-2_armhf.buildinfo
2c0a8be0d7fd65c60c54fbaf336cad4672f23a1d916f0e816438a0412a8f5e63 133744
python3-astropy-healpix-dbgsym_0.4-2_armhf.deb
fca9bc7bf1403fd1b0e6fab683c9fa1710fa712589c7adbc9b98c07520c5f654 57784
python3-astropy-healpix_0.4-2_armhf.deb
Files:
2df23b627a9aa18965c8a98e5b349160 2356 python optional astropy-healpix_0.4-2.dsc
8f67c7077bba182c2e5eb1ea3d857561 6260 python optional
astropy-healpix_0.4-2.debian.tar.xz
664e4b70dd293d315884b2385d3e1f70 9345 python optional
astropy-healpix_0.4-2_armhf.buildinfo
a2210b89213772b8c46c22ca60dfccbc 133744 debug optional
python3-astropy-healpix-dbgsym_0.4-2_armhf.deb
7df33baa11c7d5375ae37313c13eba64 57784 python optional
python3-astropy-healpix_0.4-2_armhf.deb
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEETlIW+xCXmEEMK3UhbGdTGlqCeZ4FAlxFy0MUHGxlby5zaW5n
ZXJAbGlnby5vcmcACgkQbGdTGlqCeZ4eaxAArOscd2vLplbQJMUEsryoGRoxGiCx
ucFEckHxWy5r0+Wp7W1xDGk814b4LhhQArprqM03zFhDuJYh4bXn2JXnw2a7eltE
XDQQdmXeCyd6KFp0sNXuz5yFVFGVa5Jf9QxrRGV8sow7CBSVUz6rPva+Um8AugU5
g2dPKwgoBBsEUVHhDJ0wX/2iECS6i6OsfodIZcZl6xELbeEaACdPnEhsx/BQXJTU
NnIZYBT0w6bHUnWc+eHVZoE3D/UpZTsqteZZKxemWsYh36V1KuztNpateJjmlYj5
HoFBdfSa72fFwrDesIEyJGyxsoVg7R1AZtZn0IkicsiNM7HoblU7uV3jk7c7R4WM
RFcAKXmZUHu0D2WzzheemnUMj3LfKNFkk5EWOKVVtpije5P5Rztls1rne9lprad4
/kmWacu/v0aWCJ9v18PlpV4k1zNGK/IRrGq4BycaerHw6YzuKBZCoD707FSSRCVq
MGFj0H1dFZ7vokhojYg/Q0dr9C4C59xnlQNJLqBuUBEiao3WOGrs5R/uwHI5y5Id
kZLgGD0c1couoEVlUnpNupTU4QUIpLqsP3uWNyjqeFiuKegtZjNrK6YVZFEfAX+t
oPX7oAemOILAzE07LHQJ0z2Mg+65kzRaDGwClmg1PFjKa3BgugZhMfyRcJ8o+lrs
Pq+vnAqofHXF/ho=
=goHM
-----END PGP SIGNATURE-----
--- End Message ---