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

pre-commit is failing #235

Closed
twiecki opened this issue Jan 7, 2024 · 0 comments · Fixed by #236
Closed

pre-commit is failing #235

twiecki opened this issue Jan 7, 2024 · 0 comments · Fixed by #236

Comments

@twiecki
Copy link
Member

twiecki commented Jan 7, 2024

#234 is failing but seems unrelated to the PR.

nbqa-black...............................................................Failed
- hook id: nbqa-black
- exit code: 1

Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/repod5v84l67/py_env-python3/bin/nbqa", line 5, in <module>
    from nbqa.__main__ import main
  File "/home/runner/.cache/pre-commit/repod5v[84](https://github.com/pymc-devs/pymc-resources/actions/runs/7435738195/job/20231412333?pr=234#step:4:86)l67/py_env-python3/lib/python3.12/site-packages/nbqa/__main__.py", line 14, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

nbqa-isort...............................................................Failed
- hook id: nbqa-isort
- exit code: 1

Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/repoc5mha1wm/py_env-python3/bin/nbqa", line 5, in <module>
    from nbqa.__main__ import main
  File "/home/runner/.cache/pre-commit/repoc5mha1wm/py_env-python3/lib/python3.12/site-packages/nbqa/__main__.py", line 14, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

nbqa-pyupgrade...........................................................Failed
- hook id: nbqa-pyupgrade
- exit code: 1

Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/repo45_spbqz/py_env-python3/bin/nbqa", line 5, in <module>
    from nbqa.__main__ import main
  File "/home/runner/.cache/pre-commit/repo45_spbqz/py_env-python3/lib/python3.12/site-packages/nbqa/__main__.py", line 14, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

@maresb any idea?

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 a pull request may close this issue.

1 participant