[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001428: marked as done (python-pyknon: (autopkgtest) needs update for python3.10: module 'collections' has no attribute 'MutableSequence')



Your message dated Sat, 15 Jan 2022 17:49:09 +0000
with message-id <E1n8nAr-0005P6-Lp@fasolo.debian.org>
and subject line Bug#1001428: fixed in python-pyknon 1.2-4
has caused the Debian Bug report #1001428,
regarding python-pyknon: (autopkgtest) needs update for python3.10: module 'collections' has no attribute 'MutableSequence'
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 owner@bugs.debian.org
immediately.)


-- 
1001428: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001428
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-pyknon
Version: 1.2-3
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
User: debian-python@lists.debian.org
Usertags: python3.10
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.10 to the supported Python versions [0]. With a recent upload of python3-defaults the autopkgtest of python-pyknon fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.9.8-1
python-pyknon          from testing    1.2-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists what's new in Python3.10, it may help to identify what needs to be updated. https://docs.python.org/3.9/library/collections.html says:
"""
Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.
"""
Time to move on.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/996584
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-pyknon/17420665/log.gz

+ cp -r test /tmp/autopkgtest-lxc.1rlw27co/downtmp/autopkgtest_tmp
+ cd /tmp/autopkgtest-lxc.1rlw27co/downtmp/autopkgtest_tmp/test/
+ export PYTHONWARNINGS=d
+ py3versions -i
+ python3.10 -m pytest -rsx -v
============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3.10
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.1rlw27co/downtmp/autopkgtest_tmp/test
collecting ... collected 53 items / 2 errors / 51 selected

==================================== ERRORS ==================================== _______________________ ERROR collecting test_genmidi.py _______________________
test_genmidi.py:4: in <module>
    from pyknon.genmidi import Midi, MidiError
/usr/lib/python3/dist-packages/pyknon/genmidi.py:2: in <module>
    from pyknon.music import Note, NoteSeq, Rest
/usr/lib/python3/dist-packages/pyknon/music.py:106: in <module>
    class NoteSeq(collections.MutableSequence):
E   AttributeError: module 'collections' has no attribute 'MutableSequence'
________________________ ERROR collecting test_music.py ________________________
test_music.py:2: in <module>
    from pyknon.music import MusiclibError, Note, NoteSeq, Rest
/usr/lib/python3/dist-packages/pyknon/music.py:106: in <module>
    class NoteSeq(collections.MutableSequence):
E   AttributeError: module 'collections' has no attribute 'MutableSequence'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 2 errors in 0.16s ===============================
autopkgtest [13:32:58]: test python3-pyknon

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-pyknon
Source-Version: 1.2-4
Done: Tiago Bortoletto Vaz <tiago@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pyknon, 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 1001428@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tiago Bortoletto Vaz <tiago@debian.org> (supplier of updated python-pyknon 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 15 Jan 2022 10:59:12 -0500
Source: python-pyknon
Binary: python3-pyknon
Architecture: source all
Version: 1.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Tiago Bortoletto Vaz <tiago@debian.org>
Description:
 python3-pyknon - Simple Python music library
Closes: 1001428
Changes:
 python-pyknon (1.2-4) unstable; urgency=medium
 .
   * Fix module 'collections' has no attribute 'MutableSequence'. Thanks to
     Steve Langasek for the patch (Closes: #1001428)
Checksums-Sha1:
 c4e9e571484c450347b91e8b82bd400861ab6f0d 2116 python-pyknon_1.2-4.dsc
 d1da675366e78e5d7d6d47d975e01db25f645d87 2984 python-pyknon_1.2-4.debian.tar.xz
 19c92a8b03529e1631ed3dc7c23e45c1e5242c66 7903 python-pyknon_1.2-4_amd64.buildinfo
 a18980b091a3c3b9350a0a06785c8c518f99da23 29788 python3-pyknon_1.2-4_all.deb
Checksums-Sha256:
 119690693818faaf7922ff47b120e7ef1c8f440a67a32ddcde03e320f5091f3c 2116 python-pyknon_1.2-4.dsc
 53c0adaefff0ce35990ca452e7f30db2cfc546a625620c601e6ce139ab65f77f 2984 python-pyknon_1.2-4.debian.tar.xz
 5fc9661938685dd89d160d0ef85a572a5602fa13926bb6330b945ad043384d59 7903 python-pyknon_1.2-4_amd64.buildinfo
 11fcb7e8febfd9bae46e0f3f147e35b9f2a5d4f33c448c806e112ed940e8bd40 29788 python3-pyknon_1.2-4_all.deb
Files:
 1176866974d68c22fd358cda00849569 2116 python optional python-pyknon_1.2-4.dsc
 ea24e9d9f99b0223786f5f1a1b367e2b 2984 python optional python-pyknon_1.2-4.debian.tar.xz
 9bc77440ecff5a0f352efb42b9208b4c 7903 python optional python-pyknon_1.2-4_amd64.buildinfo
 b44e7e5d27d1700a4d80d32f74e45bc7 29788 python optional python3-pyknon_1.2-4_all.deb

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

iQJFBAEBCAAvFiEEYsAXsSqWkZu7etRd2EdHrOS2gT0FAmHjAjcRHHRpYWdvQGRl
Ymlhbi5vcmcACgkQ2EdHrOS2gT2hZhAAk3WqWqBrjr0+2r6HuRXcc4wTFypi3yJ+
GFPKViGFE729j+zEEsx+YbSRk31UU9nO16LYT4rzkmtvBtQBZMORYyisQ12aEJuH
6AI4F+LNhUO4gjuXwBzhDNnG67LEZZt5RCLENdvKTBtW+BqBk3L6qvZM3npyhLWb
6ex9M40rqia5KaThyTQrbX9yi1JsXOWJxh2QwnUK1xJYjb4633BJ9DX9Q0t0awv5
Itz0/XlIK6JG1LDR3wqReDQPKlSN4gfXbUZ4JbT7tS/lHVzJvAv6niTx5P0RaEZR
I5SWG5ojc/gycXXKVozYvs48HF7pvji0IGFfH9Jk/A5Gs/6r9WHR3txEHGGbR7Le
n/eGWDxFl50aMB5hrkdapB2z6Pmp1BajXs5dmsdusHZxqUSLtGGF046pFAa/lwXo
igg600wCrLilEjL9hzcnCj8GAki7MH7Q99y0wZS0fnqcTJ+EJ6bfDcDzQLPgrkHC
mc2127Fh+bJscWs6LSmcrNMuzXGHzelXLzyPnmJgF1gUl0S0ipFWb8e4cRfhWM6c
qvTAnqW9Oi1LBoVowChM9Gfaquj3znluB8U4I3QWCvvPB3XLqzcaXuXDqcfy2Dua
38eOTDHVfY0EQ7T96xFgdPJ3wzXNFrs3RpWrutAcfSl609TjzlYQhwJLGYnzpSCh
d6GTXkKh5ug=
=Riuh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: