Skip to content

Deprecation warning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working #277

Closed
@d1618033

Description

@d1618033

I get the above deprecation warning when importing libtmux

  import libtmux
  File "env/lib/python3.8/site-packages/libtmux/__init__.py", line 16, in <module>
    from .pane import Pane
  File "env/lib/python3.8/site-packages/libtmux/pane.py", line 13, in <module>
    from .common import TmuxMappingObject, TmuxRelationalObject
  File "env/lib/python3.8/site-packages/libtmux/common.py", line 221, in <module>
    class TmuxMappingObject(collections.MutableMapping):
  File "/usr/lib/python3.8/collections/__init__.py", line 49, in __getattr__
    warnings.warn("Using or importing the ABCs from 'collections' instead "
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions