Your message dated Tue, 15 Sep 2020 22:57:05 -0400 with message-id <cab4xwxzbnmup3gtopdwsobajhcvyqnqhlocqgke4-5aeujd...@mail.gmail.com> and subject line Re: python3-html5lib: DeprecationWarning in collections import (will be failure with python3.9) has caused the Debian Bug report #960537, regarding python3-html5lib: DeprecationWarning in collections import (will be failure with python3.9) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 960537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960537 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-html5lib Version: 1.0.1-3 Severity: normal Currently with python3.7 or 3.8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.9 it will stop working from collections import Mapping When we get python3.9 it'll be: Python 3.9.0a2+ (heads/master:b0d4949, Dec 20 2019, 11:38:30) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import html5lib Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/__init__.py", line 25, in <module> from .html5parser import HTMLParser, parse, parseFragment File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/html5parser.py", line 8, in <module> from . import _tokenizer File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/_tokenizer.py", line 16, in <module> from ._trie import Trie File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/_trie/__init__.py", line 3, in <module> from .py import Trie as PyTrie File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/_trie/py.py", line 6, in <module> from ._base import Trie as ABCTrie File "/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/site-packages/html5lib/_trie/_base.py", line 3, in <module> from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/home/pi/.pyenv/versions/3.9-dev/lib/python3.9/collections/__init__.py) I noticed this because python-bleach is looking into updating their vendored copy (we don't use it) [1]. This change has been in html5lib for some time [2], but with no release coming, I think we should fix it in Debian. Scott K [1] https://patch-diff.githubusercontent.com/raw/mozilla/bleach/pull/533.diff [2] https://github.com/html5lib/html5lib-python/blob/master/html5lib/_trie/_base.py#L3
--- End Message ---
--- Begin Message ---Version: 1.1-1 On Wed, 13 May 2020 13:14:54 -0400 Scott Kitterman <[email protected]> wrote: > Package: python3-html5lib > Version: 1.0.1-3 > Severity: normal > > Currently with python3.7 or 3.8: > DeprecationWarning: Using or importing the ABCs from 'collections' instead of > from 'collections.abc' is deprecated, and in 3.9 it will stop working > from collections import Mapping this was fixed with the upload of 1.1-1 -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
--- End Message ---

