mdickinson / refcycle

Support for displaying and analyzing reference graphs of Python objects.
Apache License 2.0
15 stars 1 forks source link

Fix breakage on Python 3.10 #83

Closed mdickinson closed 9 months ago

mdickinson commented 1 year ago

We have some imports from collections that should be imports from collections.abc; these break on Python 3.10 and Python 3.11.

tinglvv commented 9 months ago

Hi we are also seeing this issue: File "/usr/local/lib/python3.10/dist-packages/refcycle/key_transform_dict.py", line 27, in class KeyTransformDict(collections.MutableMapping): AttributeError: module 'collections' has no attribute 'MutableMapping'

Do you have a plan to fix this? Thanks.

mdickinson commented 9 months ago

@coyotelll It's fixed in the latest release, which I've just pushed to PyPI: https://pypi.org/project/refcycle/0.3.0/