[Python-modules-team] Bug#960548: python3-pyparsing: DeprecationWarning in collections import (will be failure with python3.9)

Scott Kitterman scott at kitterman.com
Wed May 13 21:42:42 BST 2020


Package: python3-pyparsing
Version: 2.4.7-1
Severity: normal

Currently there is just a warning, but once we switch to python3.9 the
following line will fail:

    from collections import MutableMapping, Mapping

This is already fixed upstream [1].  It's an easy enough fix (probably
much easier than jumping to pyparsing 3.0), so we ought to go ahead and
do it.  Note that the upstream fix may not be compatible with the pypy
package, so we may want something slightly different, similar to [2].

Scott K

[1] https://github.com/pyparsing/pyparsing/blob/master/pyparsing_archive.py#L109
[2] https://patch-diff.githubusercontent.com/raw/mozilla/bleach/pull/533.diff



More information about the Python-modules-team mailing list