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 importlib.util #138

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Fix import importlib.util #138

merged 1 commit into from
Jan 25, 2024

Conversation

j-otsuki
Copy link
Contributor

To avoid the following error in Python 3.11.5:

Traceback (most recent call last):
  File "/home/otsuki/venv/python3.11/dcore_e/bin/dcore_pre", line 5, in <module>
    from dcore.dcore_pre import run
  File "/home/otsuki/gitclones/dcore/src/dcore/dcore_pre.py", line 24, in <module>
    from dcore._dispatcher import HDFArchive
  File "/home/otsuki/gitclones/dcore/src/dcore/_dispatcher.py", line 22, in <module>
    if not importlib.util.find_spec(l):
           ^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'util'

@j-otsuki j-otsuki merged commit 94a8484 into develop Jan 25, 2024
4 checks passed
@j-otsuki j-otsuki deleted the import_importlib branch June 19, 2024 07:36
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