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

bump black version #323

Merged

Conversation

EdwardLarson
Copy link
Collaborator

One sentence summary of this PR (This should go in the CHANGELOG!)
Bump black version to avoid spurious import-time errors with INFO logging level.

Link to Related Issue(s)

With the logging level set to INFO, at import time, black generates some errors about missing cache etc. These are completely inconsequential but do look a bit nasty (error file not found etc.) so could concern/confuse users. The issue in black is documented here:
psf/black#3193

It has been resolved (making these errors show up with DEBUG log level only, which is fine I guess) but we are on an older version which doesn't include these changes.

Please describe the changes in your request.

Anyone you think should look at this, specifically?

Copy link
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending passing tests, this looks good!

@rbs-jacob rbs-jacob merged commit 45d2687 into redballoonsecurity:master Jun 7, 2023
5 checks passed
@ANogin
Copy link
Contributor

ANogin commented Jul 27, 2023

@Edward-Larson this created an inconsistency - ofrak_core requires black==23.3.0, but ofrak_io (ofrak_io/setup.py ) still has black==22.6.0.

P.S. We should land #218 eventually to make it possible to detect these kinds of issues in CI tests

whyitfor pushed a commit that referenced this pull request Sep 29, 2023
whyitfor added a commit that referenced this pull request Sep 29, 2023
Co-authored-by: Wyatt <wyatt@redballoonsecurity.com>
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

Successfully merging this pull request may close these issues.

None yet

4 participants