Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix import of MutableMapping from collections.abc #49

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

ctrepka
Copy link
Contributor

@ctrepka ctrepka commented Jan 13, 2023

MutableMapping must be imported like:

from collections.abc import MutableMapping

Imports of MutableMapping like
from collections import MutableMapping
have been deprecated since Python >=3.3 and will not work in Python >= 3.9

This explicit import from abc will prevent datapusher-plus from throwing errors or warnings and should be backwards compatible until Python 3.3

@jqnatividad jqnatividad merged commit 4870654 into dathere:master Jan 13, 2023
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