thomasthiebaud / poetry-githooks

Simple git hooks with poetry
MIT License
15 stars 3 forks source link

Version conflict with black #9

Closed rspeer closed 2 years ago

rspeer commented 2 years ago

With the current version constraints, I can't have poetry-githooks and black 22 installed at the same time using Poetry.

poetry-githooks requires click ^7.1.2, which implies click < 8.0. black 22.1 requires click >= 8.0. Poetry's dependency solver has a very hard time figuring out that it needs to use an older version of black to resolve the conflict.

Assuming that click hasn't broken functionality that you need, could you update the dependencies of poetry-githooks to allow 8.x versions of click?

Thanks.

thomasthiebaud commented 2 years ago

Hi @rspeer, thanks for opening an issue. I'll have a look asap

thomasthiebaud commented 2 years ago

It should be fixed with version 2.0