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

sphinx-scylladb-theme 1.6.4: No module named 'importlib_metadata' #966

Closed
Lorak-mmk opened this issue Dec 18, 2023 · 2 comments · Fixed by #967
Closed

sphinx-scylladb-theme 1.6.4: No module named 'importlib_metadata' #966

Lorak-mmk opened this issue Dec 18, 2023 · 2 comments · Fixed by #967
Labels
bug Something isn't working

Comments

@Lorak-mmk
Copy link

Lorak-mmk commented Dec 18, 2023

Today we faced an issue in Rust driver. 6 hours ago CI was working, and it was using sphinx-scylladb-theme 1.6.2 as you can see in this run:
https://github.com/scylladb/scylla-rust-driver/actions/runs/7248420253/job/19744293614#step:5:60

Now CI fails with error, and uses sphinx-scylladb-theme 1.6.4:

 Traceback (most recent call last):
  File "/home/runner/.cache/pypoetry/virtualenvs/sphinx-docs-Gi7KIw0w-py3.10/lib/python3.10/site-packages/sphinx/config.py", line 358, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/runner/work/scylla-rust-driver/scylla-rust-driver/docs/_source/conf.py", line 11, in <module>
    from sphinx_scylladb_theme.utils import multiversion_regex_builder
  File "/home/runner/.cache/pypoetry/virtualenvs/sphinx-docs-Gi7KIw0w-py3.10/lib/python3.10/site-packages/sphinx_scylladb_theme/__init__.py", line 9, in <module>
    from sphinx_scylladb_theme._version import version
  File "/home/runner/.cache/pypoetry/virtualenvs/sphinx-docs-Gi7KIw0w-py3.10/lib/python3.10/site-packages/sphinx_scylladb_theme/_version.py", line 1, in <module>
    import importlib_metadata
ModuleNotFoundError: No module named 'importlib_metadata'

as you can see in this run: https://github.com/scylladb/scylla-rust-driver/actions/runs/7252930241/job/19758810940#step:5:63

This is blocking the release of Rust driver - would it be possible to fix the issue quickly or provide some workaround we can use?

@dgarcia360
Copy link
Collaborator

Thanks, @Lorak-mmk for reporting the issue.

Could you please try to rerun the workflow? Should be fixed with sphinx-scylladb-theme 1.6.5: https://pypi.org/project/sphinx-scylladb-theme/1.6.5/

@dgarcia360 dgarcia360 added the bug Something isn't working label Dec 18, 2023
@Lorak-mmk
Copy link
Author

It's working now, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants