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

2021-12-04 Thread Nilesh Patra

Hi Stefano,

On 12/4/21 9:00 PM, Stefano Rivera wrote:

Hi Nilesh (2021.12.04_15:15:05_+)

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



OpenPGP_signature
Description: OpenPGP digital signature


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

2021-12-04 Thread Stefano Rivera
Hi Nilesh (2021.12.04_15:15:05_+)
> 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.

I added a bug blocking link.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



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

2021-12-04 Thread Nilesh Patra
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  wrote:
> On Mon, 29 Nov 2021 20:35:40 +0100 Andreas Tille  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 "", line 1, in 
>   File "/usr/lib/python3/dist-packages/pyrle/__init__.py", line 1, in 
> from pyrle.rle import Rle
>   File "/usr/lib/python3/dist-packages/pyrle/rle.py", line 13, in 
> from tabulate import tabulate
>   File "/usr/lib/python3/dist-packages/tabulate.py", line 16, in 
> 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 "", line 1, in 
>   File "/usr/lib/python3/dist-packages/tabulate.py", line 16, in 
> 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


signature.asc
Description: PGP signature