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
20.8b0 fails with __init__() got an unexpected keyword argument 'hidden'
on Click older than 7.0
#1628
Comments
I'm not entirely sure, but it looks like the error is coming from this line: Line 384 in 9270a10
|
We'll release a follow-up. In the mean time please |
Looks like the option was new in Click 7.0. I'll send a PR to use that as the minimum requirement for Black. |
__init__() got an unexpected keyword argument 'hidden'
on Click older than 7.0
+1 I also ran into sudden failures in GitHub actions when they pulled 20.8b0. I pinned the install to 19.10b0 to workaround. |
@brysontyrrell, try pinning Click to >=7.1.2 instead and see if that works for you. |
Released a hotfix 20.8b1 that addresses this. Please confirm. |
Working for me. Thanks! |
Still not working for me.
I re-ran and it pulled |
That looks like a different problem @brysontyrrell. I'm guessing you're running |
@brysontyrrell No, this is not related to #1629. The message you pasted tells you what's going on. This is a new version of an auto-formatter. The new version changed how it formats files. Commit the changes and you're good to go. |
@ambv Thanks for clarifying. I had a caching issue locally that was causing 19.10 to be reinstalled and I wasn't catching it. |
@ambv The hotfix does not solve the issue for us. See https://travis-ci.org/github/spulec/moto/jobs/721404011 |
@bblommers The logs on that Travis job tell you what's wrong. Namely the lines in the
And why are you getting those? Because you request them explicitly here: (regex is on line 4 here) |
@ambv Well, that's awkward. I completely overlooked those lines! Thanks for the response |
Describe the bug
When I run
black
version20.8b0
in Github Actions, it fails with this traceback:To Reproduce
sudo pip3 install black
black --check .
Expected behavior
Black would display any files that failed formatting check
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: