#1027235 python-pomegranate: autopkgtest fail with numpy/1.24.1

#1027235#5
Date:
2022-12-29 01:27:47 UTC
From:
To:
Hello,
recently numpy/1.24.1 has been uploaded to experimental, and this package
autopkgtest fail when running against it.

An overview of the upstream changes in the 1.24.x series is available at:

https://numpy.org/doc/stable/release/1.24.0-notes.html

Several of the errors are in the form of:

    AttributeError: module 'numpy' has no attribute 'X'

with X in [float, int, bool, object, ...]. This is because, numpy upstream in
1.24.0, finally decided to expire

https://numpy.org/doc/stable/release/1.24.0-notes.html#:~:text=The%20deprecation%20for%20the%20aliases

some deprecations introduced in 1.20.0

https://numpy.org/doc/stable/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated

(released almost 2 years ago).

All of those are quite straightforward to fix, since often it's just necessary
to stop importing them from numpy and use the python native types.

Other changes may requires a bit more rework to be addressed.

Currently numpy/1.24.x is in experimental, but given the possible longer support
that it'll receive from upstream, we're hopeful to include this in bookworm, so
your help is necessary to address this bug ASAP.

Regards,
Sandro

#1027235#12
Date:
2023-01-21 18:26:06 UTC
From:
To:
Hello,

Bug #1027235 in python-pomegranate reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-pomegranate/-/commit/0dba7288e24f9a14b62c07206476096db2e0a37e

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1027235

#1027235#19
Date:
2023-01-21 19:44:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-pomegranate, 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 1027235@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated python-pomegranate 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 21 Jan 2023 23:29:28 +0530
Source: python-pomegranate
Architecture: source
Version: 0.14.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 1027235
Changes:
 python-pomegranate (0.14.8-3) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Team upload.
   * Make sure watch file reports latest version
   * Standards-Version: 4.6.2 (routine-update)
 .
   [ Nilesh Patra ]
   * Add patch to make package compatible with np 1.24 (Closes: #1027235)
Checksums-Sha1:
 e2f3f2a5432e6b1245e61f5f2e0014ff7a101985 1956 python-pomegranate_0.14.8-3.dsc
 5106f926b075a097e14b9f058d3980fe98933072 38992 python-pomegranate_0.14.8-3.debian.tar.xz
 ff5c164b58a33429dd76faa78d02b54b588930ad 8172 python-pomegranate_0.14.8-3_amd64.buildinfo
Checksums-Sha256:
 92764996f55e084f00ec8a234a9fda54358152c59c06d65ad9b3157c0f1d5260 1956 python-pomegranate_0.14.8-3.dsc
 88c06364c5d0b10131e6af8a99a588c5bd4af88e9e570a1b707aa126b45430db 38992 python-pomegranate_0.14.8-3.debian.tar.xz
 0da3bfecea84115561d790869e9b12353162bfea03be11a6b4125613bc05ed7d 8172 python-pomegranate_0.14.8-3_amd64.buildinfo
Files:
 f7b3dda780f169a0e6659d080e94b104 1956 science optional python-pomegranate_0.14.8-3.dsc
 cf001201c1255b472af3063b4bf05ea3 38992 science optional python-pomegranate_0.14.8-3.debian.tar.xz
 b401a3bd46016967100e7c3802352f01 8172 science optional python-pomegranate_0.14.8-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCY8wtngAKCRAqJ5BL1yQ+
2rxgAQCwAA+Kw8ZKh4W6WZLIKreXhqm3E22jX3j/UxKi89gaHQEA9NjMTituyzhL
JTi9XIa5eo294ScH6Np9mwFTwAQzzA0=
=4MMU
-----END PGP SIGNATURE-----