fastapi-tdd-docker icon indicating copy to clipboard operation
fastapi-tdd-docker copied to clipboard

Error Continuous Integration in GitHub Actions

Open abelthf opened this issue 3 years ago • 0 comments

I have had errors when building the docker images in gitbub, for that reason I have cloned the project, the problem persisted

thanks for your support

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 1006 Removing intermediate container 95870fd272bd 1007 ---> 530ee9ecdf51 1008 Step 11/13 : RUN flake8 . 1009 ---> Running in fb605485132c 1010 Removing intermediate container fb605485132c 1011 ---> aff27eef40ab 1012 Step 12/13 : RUN black --exclude=migrations . 1013 ---> Running in aa374e6712d7 1014 Traceback (most recent call last): 1015 File "/usr/local/bin/black", line 8, in 1016 sys.exit(patched_main()) 1017 File "/usr/local/lib/python3.10/site-packages/black/init.py", line 1372, in patched_main 1018 patch_click() 1019 File "/usr/local/lib/python3.10/site-packages/black/init.py", line 1358, in patch_click 1020 from click import _unicodefun 1021 ImportError: cannot import name '_unicodefun' from 'click' (/usr/local/lib/python3.10/site-packages/click/init.py) 1022 The command '/bin/sh -c black --exclude=migrations .' returned a non-zero code: 1 1023

1024 Error: Process completed with exit code 1.

https://github.com/abelthf/fastapii-tdd-docker/runs/7680389415?check_suite_focus=true

abelthf avatar Aug 04 '22 20:08 abelthf