Skip to content

Update black requirement to 23.3 (latest)#97

Open
danigm wants to merge 2 commits into
grantjenks:masterfrom
danigm:black-23.3
Open

Update black requirement to 23.3 (latest)#97
danigm wants to merge 2 commits into
grantjenks:masterfrom
danigm:black-23.3

Conversation

@danigm

@danigm danigm commented May 4, 2023

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

@grantjenks, any chance to approve this PR?

@thinknot thinknot left a comment

Copy link
Copy Markdown

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
Copy Markdown

@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