Skip to content
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

Issue of required black version #12

Closed
kazyam53 opened this issue Apr 17, 2022 · 2 comments
Closed

Issue of required black version #12

kazyam53 opened this issue Apr 17, 2022 · 2 comments

Comments

@kazyam53
Copy link

kazyam53 commented Apr 17, 2022

In setup.py, required version of black is,

"black>=19.10b0,<=20.8",

But it's written to install black==21.10b0 on README.md.
And it cause error during executing black.

@sergeant-wizard
Copy link
Collaborator

sergeant-wizard commented Apr 19, 2022

If you are using pysen by pip install pysen[lint] and have experienced the issue reported in psf/black#2964, we'll address the issue by #13 which will be available in the next release.

Otherwise if your issue is specific to black==21.10b0 please report the problem with some detailed error logs.
Please note that the version specification your are referring to is merely for scenarios where pysen is installed by pip install pysen[lint]. By no means does it imply that pysen is incompatible with versions not specified there.
Indeed we think pysen is compatible withblack==21.10b0, and that is why we describe it as an example in our README.

@kazyam53
Copy link
Author

I use it on poetry so I can't install black==21.10b0 because of it's dependancy.
But I have downgraded click to 8.0.4 as you did on your new version and it worked.
Thank you for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants