Add compat imports for collections.abc.
Review Request #11881 — Created Nov. 23, 2021 and submitted
Python 3.10 removed a bunch of deprecated aliases for items in the
collections.abc module. Unfortunately for us, both Django 1.11 and nose
rely on these imports. This change adds a compat module that will
recreate the aliases we need.
Ran unit tests with Python 3.10.
Summary | ID |
---|---|
72b66d19b45cb754686c400e3b49fdbd4647705a |
Description | From | Last Updated |
---|---|---|
This needs to land on release-2.x. |
chipx86 | |
Can we duplicate the information here, where it's more likely we'll see it regularly? |
chipx86 | |
F401 'djblets.util.compat.python.collections' imported but unused |
reviewbot | |
Can you add a docstring to this function, with a Version Added? |
chipx86 | |
F401 'collections.Iterator' imported but unused |
reviewbot | |
F401 'djblets.util.compat.python.collections' imported but unused |
reviewbot |