[Bug 259979] irc/py-limnoria-2019.09.08 doesn't run with Python 3.10

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Nov 2021 23:09:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259979

            Bug ID: 259979
           Summary: irc/py-limnoria-2019.09.08 doesn't run with Python
                    3.10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sgs@pichove.org

Created attachment 229649
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229649&action=edit
Upgrading to limnoria-2021.10.09

irc/py-limnoria-2019.09.08 fails to run on Python 3.10 since 
collections.MutableMapping is moved to collections.abc.MutableMapping.

[sgs@SagaBOX ~]$ supybot -h
Traceback (most recent call last):
  File "/usr/local/bin/supybot", line 37, in <module>
    import supybot
  File "/usr/local/lib/python3.10/site-packages/supybot/__init__.py", line 37,
in <module>
    from . import utils
  File "/usr/local/lib/python3.10/site-packages/supybot/utils/__init__.py",
line 64, in <module>
    from .gen import *
  File "/usr/local/lib/python3.10/site-packages/supybot/utils/gen.py", line 44,
in <module>
    from .str import format
  File "/usr/local/lib/python3.10/site-packages/supybot/utils/str.py", line 44,
in <module>
    from .structures import TwoWayDictionary
  File "/usr/local/lib/python3.10/site-packages/supybot/utils/structures.py",
line 430, in <module>
    class CacheDict(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'


Upgrading to a newer version seems to fix that issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.