Skip to content

Deprecation Warning for import of namedtuple from collections instead of collections.abc #19

@Ce-eM

Description

@Ce-eM

Got the following warnings by pytest:

/uri/bucket.py:5: 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
    from collections import ItemsView, KeysView, MutableMapping, MutableSequence, ValuesView, deque, namedtuple

uri/qso.py:5: 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
    from collections import Mapping, MutableMapping, deque, namedtuple

-- Docs: https://docs.pytest.org/en/stable/warnings.html

The library still seems to work in Python 3.9 (Tried it) but changing the import location would be reasonable.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions