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

Update black requirement to 23.3 (latest) #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danigm
Copy link

@danigm danigm commented May 4, 2023

This patch makes blue compatible with the latest black release 23.3.0

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request May 4, 2023
https://build.opensuse.org/request/show/1084655
by user dgarcia + dimstar_suse
- Add black-23.3.patch to make it compatible with latest python-black
  version. gh#grantjenks/blue#97
@thinknot
Copy link

This would support --target-version=py311 which would help me out a lot.
Error: Invalid value for '-t' / '--target-version': 'py311' is not one of 'py33', 'py34', 'py35', 'py36', 'py37', 'py38', 'py39', 'py310'.

@dunossauro
Copy link

@grantjenks, any chance to approve this PR?

Copy link

@thinknot thinknot left a comment

Choose a reason for hiding this comment

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

If using black 23.3.3: they have changed the toml import reference name from black.files.tomli to black.files.tomllib

See https://github.com/psf/black/blob/main/src/black/files.py

@marcelo-franceschini
Copy link

@grantjenks, any chance to approve this PR?

I got to know this project thanks to you, @dunossauro. Unfortunately, it seems to be stalled. @thinknot What can we do to help you?

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.

4 participants