[Debian-med-packaging] Bug#1000812: pyrle: import fails on Python 3.10

Nilesh Patra nilesh at debian.org
Thu Dec 2 06:32:59 GMT 2021


On Mon, 29 Nov 2021 20:35:40 +0100 Andreas Tille <tille at debian.org> wrote:
> Am Mon, Nov 29, 2021 at 11:36:33PM +0530 schrieb Nilesh Patra:
> > I rebuilt with python3.10, and now error is this.
> > Something wrong with pandas?
> 
> As far as I understood we need to wait for pandas 1.3 to work
> with Python3.10.

I retried autopkgtest now, and it still seems a non-bug with pyrle.
@Rebecca, please re-assign this bug to relevant package.

autopkgtest [11:57:49]: test autodep8-python3: [-----------------------
Testing with python3.10:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pyrle/__init__.py", line 1, in <module>
    from pyrle.rle import Rle
  File "/usr/lib/python3/dist-packages/pyrle/rle.py", line 13, in <module>
    from tabulate import tabulate
  File "/usr/lib/python3/dist-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

"""
Minimal example to reproduce:

$ python3.10                  
Python 3.10.0+ (default, Nov 17 2021, 06:49:13) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tabulate import tabulate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
"""

$ apt policy python3.10
python3.10:
  Installed: 3.10.0-5
  Candidate: 3.10.0-5
  Version table:
 *** 3.10.0-5 500
        500 http://deb.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211202/8053025a/attachment.sig>


More information about the Debian-med-packaging mailing list