Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MNT: remove workaround for 3.14b1
This is broken with cpython main which removed the color keyword argument
to HelperFormatter in python/cpython#142274
  • Loading branch information
tacaswell committed Dec 8, 2025
commit 792d9ec7791ba394aa1eb42368904a0226a8a0b8
3 changes: 0 additions & 3 deletions src/build/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,6 @@ def main_parser() -> argparse.ArgumentParser:
Construct the main parser.
"""
formatter_class = argparse.RawDescriptionHelpFormatter
# Workaround for 3.14.0 beta 1, can remove once beta 2 is out
if sys.version_info >= (3, 14):
formatter_class = partial(formatter_class, color=True)

make_parser = partial(
argparse.ArgumentParser,
Expand Down