Friday, 4 February 2022

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

On Thu, Feb 3, 2022 at 3:38 PM Andreas Hasenack <andreas@canonical.com> wrote:
>
> In general:
>
> change
>
> from collections import <thing>
>
> to
>
> from collections.abc import <thing>
>
>
> 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