Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Cannot determine consistent method resolution order (MRO) for "OrderedSet" when used with Python 2.7 #1

@gvanrossum

Description

@gvanrossum

I have installed those stubs for Python 2.7 and am manipulating mypy to find them, by running mypy as follows (~/v27 is a virtualenv):

mypy test.py --python-version 2.7 --python-executable~/v27/bin/python

This give me the error

/Users/guido/v27/lib/python2.7/site-packages/ordered_set-stubs/__init__.pyi:10: error: Cannot determine consistent method resolution order (MRO) for "OrderedSet"

When used with Python 3 all is well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions