Control: retitle -1 python3-jinja2: Incompatible with Python 3.9: Using or 
importing the ABCs from 'collections' instead of from 'collections.abc' is 
deprecated

On Thu, 16 Jan 2020 at 08:26:43 +0100, Matthias Urlichs wrote:
> /usr/lib/python3/dist-packages/jinja2/utils.py:485
>   /usr/lib/python3/dist-packages/jinja2/utils.py:485: DeprecationWarning: 
> Using or importing the ABCs from 'collections' instead of from 
> 'collections.abc' is deprecated, and in 3.8 it will stop working
>     from collections import MutableMapping

The actual removal appears to have been postponed to 3.9 (see
<https://bugs.python.org/issue36953>).

% python3.8
...
>>> import collections
>>> collections.Mapping
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' 
instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it 
will stop working
<class 'collections.abc.Mapping'>

The warning message claims that the older import path was deprecated
since Python 3.3, but it wasn't actually described as deprecated until
<https://docs.python.org/3.7/whatsnew/3.7.html>.

    smcv

Reply via email to