Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13763 > unrolled thread

Bug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10

Started byNilesh Patra <nilesh@debian.org>
First post2021-12-04 16:20 +0100
Last post2021-12-04 17:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10 Nilesh Patra <nilesh@debian.org> - 2021-12-04 16:20 +0100
    Bug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10 Nilesh Patra <nilesh@riseup.net> - 2021-12-04 17:40 +0100

#13763 — Bug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10

FromNilesh Patra <nilesh@debian.org>
Date2021-12-04 16:20 +0100
SubjectBug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10
Message-ID<DqEZr-25o-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Dear Python team,

Would you have any hint on this?
Is it a bug with the python3 package itself?

Let me know.

Regards,
Nilesh

On Thu, 2 Dec 2021 12:02:59 +0530 Nilesh Patra <nilesh@debian.org> wrote:
> On Mon, 29 Nov 2021 20:35:40 +0100 Andreas Tille <tille@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

[toc] | [next] | [standalone]


#13764

FromNilesh Patra <nilesh@riseup.net>
Date2021-12-04 17:40 +0100
Message-ID<DqGeS-2K3-1@gated-at.bofh.it>
In reply to#13763

[Multipart message — attachments visible in raw view] — view raw

Hi Stefano,

On 12/4/21 9:00 PM, Stefano Rivera wrote:
> Hi Nilesh (2021.12.04_15:15:05_+0000)
>> Would you have any hint on this?
>> Is it a bug with the python3 package itself?
> 
> You're waiting for python3-tabulate to be patched for Python 3.10
> support.

Indeed. I was just being silly as it seems. I patched tabulate to work
with python3.10 (smoke tests go well, and I did a few manual tests) and uploaded.
Thanks a lot for your time.

Regards,
Nilesh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web