Skip to content

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