[Debian-ha-maintainers] Bug#1009092: crmsh: (autopkgtest) needs update for python3.10: module 'collections' has no attribute 'MutableSet'

Paul Gevers elbrus at debian.org
Thu Apr 7 09:03:12 BST 2022


Source: crmsh
Version: 4.3.1-1
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
User: debian-python at lists.debian.org
Usertags: python3.10
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of making python3.10 the default Python 
versions [0]. With a recent upload of python3-defaults the autopkgtest 
of crmsh 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.10.4-1
crmsh                  from testing    4.3.1-1
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/1006836
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/c/crmsh/20647414/log.gz

Traceback (most recent call last):
   File "/usr/sbin/crm", line 29, in <module>
     from crmsh import main
   File "/usr/lib/python3/dist-packages/crmsh/main.py", line 18, in <module>
     from . import ui_root
   File "/usr/lib/python3/dist-packages/crmsh/ui_root.py", line 23, in 
<module>
     from . import ui_cib
   File "/usr/lib/python3/dist-packages/crmsh/ui_cib.py", line 16, in 
<module>
     from .cibconfig import cib_factory
   File "/usr/lib/python3/dist-packages/crmsh/cibconfig.py", line 23, in 
<module>
     from . import orderedset
   File "/usr/lib/python3/dist-packages/crmsh/orderedset.py", line 29, 
in <module>
     class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
autopkgtest [07:10:01]: test command1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20220407/5d23c2e8/attachment.sig>


More information about the Debian-ha-maintainers mailing list