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

Bug#1001367: pyeapi: (autopkgtest) needs update for python3.10: 'collections' has no attribute 'Iterable'

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

Dear maintainer(s),

We are in the transition of adding python2.10 to the supported Python versions [0]. With a recent upload of python3-defaults the autopkgtest of pyeapi 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
pyeapi                 from testing    0.8.1-2
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 Python2.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


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


Testing with python3.10:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/pyeapi/__init__.py", line 36, in <module>
    from .client import load_config, connect, connect_to, config_for
File "/usr/lib/python3/dist-packages/pyeapi/client.py", line 315, in <module>
    config = Config()
File "/usr/lib/python3/dist-packages/pyeapi/client.py", line 145, in __init__
File "/usr/lib/python3/dist-packages/pyeapi/client.py", line 173, in autoload
    path = make_iterable(path)
File "/usr/lib/python3/dist-packages/pyeapi/utils.py", line 190, in make_iterable
    if not isinstance(value, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'
autopkgtest [12:12:26]: test autodep8-python3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: