-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fails packaging on Python 3.8 - no 'importlib.resources.files' #35
Comments
THOUGHT + DECISION:
|
ghost
mentioned this issue
Oct 2, 2023
maximilianvz
added a commit
to theochem/AtomDB
that referenced
this issue
Feb 29, 2024
On Python versions < 3.10 (I think I'm correct in saying this fails for 3.9), running `pytest` fails if using `importlib.resources` (see mu-editor/pup#35). This can be fixed by using `importlib_resources` instead (GitHub Actions testing should work now for all tested versions of Python).
msricher
pushed a commit
to msricher/AtomDB_clean
that referenced
this issue
May 7, 2024
On Python versions < 3.10 (I think I'm correct in saying this fails for 3.9), running `pytest` fails if using `importlib.resources` (see mu-editor/pup#35). This can be fixed by using `importlib_resources` instead (GitHub Actions testing should work now for all tested versions of Python).
marco-2023
pushed a commit
to theochem/AtomDB
that referenced
this issue
May 13, 2024
On Python versions < 3.10 (I think I'm correct in saying this fails for 3.9), running `pytest` fails if using `importlib.resources` (see mu-editor/pup#35). This can be fixed by using `importlib_resources` instead (GitHub Actions testing should work now for all tested versions of Python).
danibene
added a commit
to miso-sound/misosoupy
that referenced
this issue
Aug 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
REPORTED by @tjguk, on Gitter's mu-editor/dev channel:
TO WHICH I RESPONDED:
FACTS:
importlib.resources
is used to "bundle"cookiecutter
templates as packages withinpup
itself.importlib_resources
package is used...importlib.resources
is used instead.CULPRIT:
importlib_resources
provides afiles
function that is not implemeted by 3.8's stdlib.POSSIBLE FIXES:
importlib_resources
on both 3.7 and 3.8 (3.9's stdlib seems to include thefiles
function we're using).The text was updated successfully, but these errors were encountered: