Skip to content

Some type import paths deprecated in 3.7 #19

Closed
@zhammer

Description

@zhammer

when running pytest with warnings

~~~/lib/python3.7/site-packages/promise/promise_list.py:2
  ~~~/lib/python3.7/site-packages/promise/promise_list.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Iterable

~~~/lib/python3.7/site-packages/graphql/type/directives.py:55
  ~~~/lib/python3.7/site-packages/graphql/type/directives.py:55: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    args, collections.Mapping

~~~/lib/python3.7/site-packages/graphql/type/typemap.py:1
  ~~~/lib/python3.7/site-packages/graphql/type/typemap.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import OrderedDict, Sequence, defaultdict

~~~/lib/python3.7/site-packages/graphql_server/__init__.py:2
  ~~~/lib/python3.7/site-packages/graphql_server/__init__.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import namedtuple, MutableMapping

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

Metadata

Metadata

Assignees

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