Bug#1018822: Exceptions on Python 3.8

Jelmer Vernooij jelmer at jelmer.uk
Wed Aug 31 11:46:34 BST 2022


package: python3-debian
severity: important
thanks

I'm get exceptions importing the _deb822_repo module on Python 3.8:

   File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/debian/copyright.py", line 58, in <module>
    from debian._deb822_repro import (
  File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/debian/_deb822_repro/__init__.py", line 166, in <module>
    from debian._deb822_repro.parsing import (
  File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/debian/_deb822_repro/parsing.py", line 12, in <module>
    from debian._deb822_repro._util import (combine_into_replacement, BufferingIterator,
  File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/debian/_deb822_repro/_util.py", line 120, in <module>
    _bufferingIterator_Base = collections.abc.Iterator[T]
TypeError: 'ABCMeta' object is not subscriptable

The odd thing is that both 3.7 and 3.9 work fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-python-debian-maint/attachments/20220831/e07b4310/attachment.sig>


More information about the pkg-python-debian-maint mailing list