-
Notifications
You must be signed in to change notification settings - Fork 56
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
Version specification for black
makes poetry
fail
#52
Comments
Hi @CircleOnCircles, Thanks for the report! I looked but didn't yet find out where the In darker 1.0.0 setup.cfg we have: install_requires =
black
typing-extensions ; python_version < "3.8" Looking inside darker-1.0.0-py3-none-any.whl on PyPI, we have: $ unzip -p darker-1.0.0-py3-none-any.whl darker-1.0.0.dist-info/METADATA|grep Requires-Dist
Requires-Dist: black
Requires-Dist: typing-extensions ; python_version < "3.8"
Requires-Dist: isort (>=5.0.1) ; extra == 'isort'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-black ; extra == 'test'
Requires-Dist: pytest-isort (>=1.1.0) ; extra == 'test'
Requires-Dist: pytest-mypy ; extra == 'test' and in darker-1.0.0.tar.gz: $ tar xOf darker-1.0.0.tar.gz darker-1.0.0/setup.cfg | grep -A3 install_requires
install_requires =
black
typing-extensions ; python_version < "3.8"
python_requires = >=3.6
$ tar xOf darker-1.0.0.tar.gz darker-1.0.0/src/darker.egg-info/requires.txt
black
[:python_version < "3.8"]
typing-extensions
[isort]
isort>=5.0.1
[test]
pytest
pytest-black
pytest-isort>=1.1.0
pytest-mypy |
So @CircleOnCircles is this a Poetry bug (python-poetry/poetry#2687?) or can we do something in Darker to fix this problem? |
Yes, I guess. |
black
makes poetry
fail
It seems like poetry doesn't understand
*
version.The text was updated successfully, but these errors were encountered: