[Python-modules-team] Bug#1001295: dominate: needs update for python3.10: 'Callable' from 'collections' is removed

Paul Gevers elbrus at debian.org
Tue Dec 7 21:21:09 GMT 2021


Source: dominate
Version: 2.3.1-2
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

Dear maintainer(s),

With a recent upload of python3-defaults the autopkgtest of dominate 
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
dominate               from testing    2.3.1-2
all others             from testing    from testing

I copied some of the output at the bottom of this report. 
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.

Currently this regression is blocking the migration of python3-defaults 
to testing [1].

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

Paul

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

https://ci.debian.net/data/autopkgtest/testing/amd64/d/dominate/17344293/log.gz

Testing with python3.10:
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/dominate/__init__.py", line 4, 
in <module>
     from .document import document
   File "/usr/lib/python3/dist-packages/dominate/document.py", line 19, 
in <module>
     from . import tags
   File "/usr/lib/python3/dist-packages/dominate/tags.py", line 21, in 
<module>
     from .dom_tag  import dom_tag, attr
   File "/usr/lib/python3/dist-packages/dominate/dom_tag.py", line 23, 
in <module>
     from collections import defaultdict, namedtuple, Callable
ImportError: cannot import name 'Callable' from 'collections' 
(/usr/lib/python3.10/collections/__init__.py)
autopkgtest [20:14:07]: test autodep8-python3

-------------- 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/python-modules-team/attachments/20211207/972c9b1e/attachment.sig>


More information about the Python-modules-team mailing list