-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Black action fails for black v23.12.0 #18
Comments
Same issue |
1 similar comment
Same issue |
It looks like the issue is that
This new wheel seems to include optional dependencies for black, specifically I'd guess that the fixes for this would be to:
Given the notice in the README that:
and the fact that you can choose a specific black version in the official action, I'm not sure what the best approach for this project is. Likely avoiding downloading |
We are affected as well even-though we pin the action to a hash ( |
Hello @dariusmargineansrx, Thank you for creating the bug report, and a big shoutout to @BryceStevenWilley and @michael-rogger-swarm for their debugging efforts 🙏🏻. I'm fully focused on completing my thesis work, which is taking up a substantial amount of my time 😅. As a result, I can't provide a specific timeline for addressing the issue, but I'm open to reviewing a PR for a hotfix whenever it's available 👍🏻. I'm okay with making adjustments like changing the Docker base and pinning black to provide temporary relief while we investigate the issue 🤔. Looking forward, my main goal is to phase out the Docker-based version of this action and introduce a composite version in v2 (track progress at #11). This will simplify maintenance, remove internal dependencies, and ensure that primary development remains in the official black repository, with this action serving as a straightforward wrapper (more details at #10). |
I've assigned this task to myself to ensure it is clear from my mind. However, as mentioned earlier, the weeks leading up to the new year are pretty hectic for me 😅. I might have some time on Friday. |
This commit temporary pins black to 23.11.0 since version https://github.com/psf/black/releases/tag/23.12.0 breaks this action (see #18).
Never mind, I quickly applied the suggestion of @BryceStevenWilley #19. |
This commit temporary pins black to 23.11.0 since version https://github.com/psf/black/releases/tag/23.12.0 breaks this action (see #18).
The issue is expected to be resolved in version https://github.com/rickstaa/action-black/releases/tag/v1.3.2. I'll take a closer look at this version and remove the pin when I have the opportunity 👍🏻. Special thanks to @BryceStevenWilley for promptly investigating this matter, enabling a swift patch ❤️🔥. |
@rickstaa Thanks for your promptness! I'll test it tomorrow and if all is good, I'll close the issue. Also, thanks @BryceStevenWilley for feedback |
@dariusmargineansrx let's keep it open till psf/black#4107 is fixed. This would allow me to remove the hotfix again 👍🏻. |
Ok! Sounds good! |
@rickstaa Thanks for the quick fix! We can confirm that the issue is resolved. |
@michael-rogger-swarm, thanks for the feedback 💙. I will close this issue and release the pin when vercel/vercel#6434 is fixed. |
Hello!
I am using action-black configured in a github action job like this:
However, I saw that it now fails with the next output:
Yesterday (11 Dec 2023), it was working fine. Please, do you have any ideas how can I fix this?
The text was updated successfully, but these errors were encountered: