Closed HumHongeKamyaab closed 4 years ago
If 3.6 support is still needed, I can add a try-except around the import with the old way as the except.
Otherwise, I can just remove the listing for 3.6 from the setup file...
Ubuntu 18.04 LTS(bionic) is still using Python 3.6. I think latest version of atomman should atleast support python 3.5.
I just updated the root init file with the correction and pushed it to this repository. I'll close this issue when I get around to releasing a version 1.3.3.
When I removed Python 2 support I also started using f-strings in a number of places due to their convenience. As they were introduced in Python 3.6, ensuring 3.5 compatibility would require combing through all the code and making things less readable.
This should be fixed now
from importlib import resources
not working in python3.6
importlib.resources
object is new in version3.7
check out https://docs.python.org/3/library/importlib.html#module-importlib.resourcesDue to above reason atomman version
1.3.2
can't be used in python versions <3.7