Skip to content

fix MutableMapping import for Python 3.3+#200

Open
alissa-huskey wants to merge 1 commit into
pyopenapi:developfrom
alissa-huskey:develop
Open

fix MutableMapping import for Python 3.3+#200
alissa-huskey wants to merge 1 commit into
pyopenapi:developfrom
alissa-huskey:develop

Conversation

@alissa-huskey

Copy link
Copy Markdown

In Python 3.3 collections.MutableMapping was moved to collections.abc.MutableMapping, which breaks your imports. This does the import in a try/except block in a new compat.py file to avoid the bug.

@warnes

warnes commented Jun 24, 2024

Copy link
Copy Markdown

Please merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants