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

CI fails due to incompatible versions of black and pre-commit #854

Closed
WeilerP opened this issue Apr 8, 2022 · 1 comment
Closed

CI fails due to incompatible versions of black and pre-commit #854

WeilerP opened this issue Apr 8, 2022 · 1 comment
Assignees
Labels
bug Something isn't working CI CI related issue

Comments

@WeilerP
Copy link
Member

WeilerP commented Apr 8, 2022

Description

The linit checking step in the CI fails with specified versions of pre-commit and black with

Traceback (most recent call last):
  File "/home/runner/.cache/pre-commit/repofpjqa5l5/py_env-python3/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/home/runner/.cache/pre-commit/repofpjqa5l5/py_env-python3/lib/python3.8/site-packages/black/__init__.py", line 6606, in patched_main
    patch_click()
  File "/home/runner/.cache/pre-commit/repofpjqa5l5/py_env-python3/lib/python3.8/site-packages/black/__init__.py", line 6595, in patch_click
    from click import _unicodefun  # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repofpjqa5l5/py_env-python3/lib/python3.8/site-packages/click/__init__.py)
@WeilerP WeilerP added the bug Something isn't working label Apr 8, 2022
@WeilerP WeilerP self-assigned this Apr 8, 2022
@WeilerP WeilerP added the CI CI related issue label Apr 8, 2022
@WeilerP
Copy link
Member Author

WeilerP commented Apr 8, 2022

Closed via #855.

@WeilerP WeilerP closed this as completed Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI CI related issue
Projects
None yet
Development

No branches or pull requests

1 participant