black posthook throws ImportError: cannot import name 'izip_longest' from 'pathspec.compat'
#613
Labels
🐞bug
Something isn't working
Describe the bug
During the
black .
post hook, openapi-python-client throws :In a fresh environment, running
black .
on my own works originally. Then, runningopenapi-python-client update
fails at the black step. Then, the strange thing is that this error persists when runningblack .
on my own afterwards.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the
black .
to complete without errors.OpenAPI Spec File
Unfortunately this is under NDA. However, the package is generated without issue, the problem comes from the
black
post hook.Desktop (please complete the following information):
[tool.poetry.dependencies]
python = "3.9"
httpx = "0.22.0"
attrs = "21.4.0"
python-dateutil = "2.8.2"
azure-identity = "1.10.0"
exdir = "0.4.2"
[tool.poetry.dev-dependencies]
flake8 = "4.0.1"
mypy = "0.950"
pytest = "7.1.2"
black = "22.3.0"
aiounittest = "1.4.1"
openapi-python-client= "0.11.1"
The text was updated successfully, but these errors were encountered: