Add compat imports for collections.abc.

Review Request #11881 — Created Nov. 23, 2021 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

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.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add compat imports for collections.abc.
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. Testing Done: Ran unit tests with Python 3.10.
72b66d19b45cb754686c400e3b49fdbd4647705a David Trowbridge
djblets/__init__.py
djblets/util/compat/python/collections.py
tests/runtests.py
Loading...