Skip to content

feat: test on and support Python 3.14's color --help#27

Merged
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/feat/py314
May 15, 2025
Merged

feat: test on and support Python 3.14's color --help#27
henryiii merged 1 commit intopypa:mainfrom
henryiii:henryiii/feat/py314

Conversation

@henryiii
Copy link
Copy Markdown
Contributor

@henryiii henryiii commented May 14, 2025

I also like to add allow_abbrev=False, which works on 3.8+.

We could drop 3.8 now.


📚 Documentation preview 📚: https://dependency-groups--27.org.readthedocs.build/en/27/

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Copy link
Copy Markdown
Contributor

@sirosen sirosen left a comment

Choose a reason for hiding this comment

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

I didn't know there were new things in 3.14 for argparse, that's nice! Also, I typically write compatibility code in a much more verbose way -- I like the use of partial; might steal that trick. 😉

@henryiii
Copy link
Copy Markdown
Contributor Author

I got it from pypa/build#895 (comment) - and it's great, due to the fact it types correctly. I'll likely start using it more too.

@henryiii
Copy link
Copy Markdown
Contributor Author

See https://iscinumpy.dev/post/python-314/ :)

@henryiii henryiii merged commit d727da9 into pypa:main May 15, 2025
6 checks passed
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.

2 participants