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 for Python >= 3.3 #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

tjlaboss
Copy link

Since Python3.3, collections.Mapping has been moved to collections.abc.Mapping. The old location was finally deprecated in Python 3.10.

This PR does the following:

  • Checks whether the Python version is at least 3.3.
  • If it is, import from Mapping from collections.abc instead of collections.
  • Increment the version from 0.1.3 to 0.1.4.

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.

1 participant