Re: A class of errors due to python 3.10: collections import

2022-02-04 Thread Andreas Hasenack
On Thu, Feb 3, 2022 at 3:38 PM Andreas Hasenack  wrote:
>
> In general:
>
> change
>
>   from collections import 
>
> to
>
>   from collections.abc import 
>
>
> This will list the culprits:
> retry-autopkgtest-regressions --blocks python3-defaults --log-regex
> 'ImportError: cannot import name.*collections'
>
> keras
> python-furl
> python-opcua
> python-orderedmultidict
> pythonpy
> pyvo
> sepp
>

A few more:
booth
mando
oz
python-pgpy
resfinder

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


A class of errors due to python 3.10: collections import

2022-02-03 Thread Andreas Hasenack
In general:

change

  from collections import 

to

  from collections.abc import 


This will list the culprits:
retry-autopkgtest-regressions --blocks python3-defaults --log-regex
'ImportError: cannot import name.*collections'

keras
python-furl
python-opcua
python-orderedmultidict
pythonpy
pyvo
sepp

I'm working on python-furl, python-orderedmultidict and python-fysom
(why isn't it in the list...? Hmm)

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel