Bug#1001483: scoop: (autopkgtest) needs update for python3.10: 'Iterable' from 'collections' is removed

Paul Gevers elbrus at debian.org
Fri Dec 10 20:47:43 GMT 2021


Source: scoop
Version: 0.7.1.1-7
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
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 adding python3.10 to the supported Python 
versions [0]. With a recent upload of python3-defaults the autopkgtest 
of scoop 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
scoop                  from testing    0.7.1.1-7
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/s/scoop/17446737/log.gz

Traceback (most recent call last):
   File 
"/tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py", 
line 34, in <module>
     from scoop import futures, _control, utils, shared
   File "/usr/lib/python3/dist-packages/scoop/futures.py", line 19, in 
<module>
     from collections import namedtuple, Iterable
ImportError: cannot import name 'Iterable' from 'collections' 
(/usr/lib/python3.10/collections/__init__.py)
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8340>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8580>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f4ce20>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f4cee0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a81312040>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a813184c0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8100>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8f40>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a81318a00>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e5e0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a81318580>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a81318460>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a824183a0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a81278880>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a812df880>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82418220>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82418460>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a824181c0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
...../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8a60>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8d00>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8b20>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8b80>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8760>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8ee0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8fa0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f88e0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8700>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e700>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8c40>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e2e0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e400>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f87c0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f89a0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8880>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8640>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8e20>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8820>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a823f8ca0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/scoop/futures.py:19: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
stop working
   from collections import namedtuple, Iterable
../usr/lib/python3/dist-packages/scoop/futures.py:19: 
DeprecationWarning: Using or importing the ABCs from 'collections' 
instead of from 'collections.abc' is deprecated since Python 3.3, and in 
3.10 it will stop working
   from collections import namedtuple, Iterable
../tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: 
ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e3a0>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./tmp/autopkgtest-lxc.iso4fc4h/downtmp/autopkgtest_tmp/test/tests.py:332: ResourceWarning: 
unclosed socket <zmq.Socket(zmq.XREP) at 0x7f8a82f1e220>
   scoop._control.execQueue = FutureQueue()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...................
----------------------------------------------------------------------
Ran 77 tests in 37.189s

OK
sys:1: ResourceWarning: unclosed socket <zmq.Socket(zmq.XREP) at 
0x7f8a82f1e0a0>
autopkgtest [14:17:57]: test 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/debian-science-maintainers/attachments/20211210/a44f3060/attachment-0001.sig>


More information about the debian-science-maintainers mailing list