-
Notifications
You must be signed in to change notification settings - Fork 15
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
importlib.metadata not available in python 3.6 #20
Comments
Thank you! Not sure if it's what you expect... but my first reaction is to bump up the requirement to Python 3.8. |
Given that the tnz documentation says that python 3.6 is the minimum required version to use the package, it's not quite what I expected. Requiring python 3.8 would be one option, but I did some digging and it looks like they created a compatibility module called importlib_metadata for python releases where importlib.metadata isn't available. I created a pull request (#21) for a possible workaround that would fallback to the compatibility module if importlib.metadata fails to import. I tested it using python 3.6 and it seems to resolve the issue. Let me know what you think. |
Side note: |
Fixed by #23 |
Running into this issue on python 3.6. Apparently importlib.metadata was added in python 3.8.
The text was updated successfully, but these errors were encountered: