-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
freeorion/freeorion
#3846Labels
R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: bugSomething isn't workingSomething isn't working
Description
Describe the bug
A recent version of click has been released which removes _unicodefun, breaking black (see also dask/distributed#6013).
To Reproduce
docker run --rm -it python:3.9-alpine shIn the container:
pip install "click==8.1.0" "black==22.1.0"
black .
The resulting error is:
Traceback (most recent call last):
File "/usr/local/bin/black", line 8, in <module>
sys.exit(patched_main())
File "/usr/local/lib/python3.9/site-packages/black/__init__.py", line 1423, in patched_main
patch_click()
File "/usr/local/lib/python3.9/site-packages/black/__init__.py", line 1409, in patch_click
from click import _unicodefun
ImportError: cannot import name '_unicodefun' from 'click' (/usr/local/lib/python3.9/site-packages/click/__init__.py)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
R: duplicateThis issue or pull request already existsThis issue or pull request already existsT: bugSomething isn't workingSomething isn't working