Skip to content

cli: fix crash with python 3.14 - #171

Merged
zzzeid merged 1 commit into
mozilla-conduit:mainfrom
jcristau:cli-boolean-optional-action
Oct 14, 2026
Merged

zzzeid merged 1 commit into
mozilla-conduit:mainfrom
jcristau:cli-boolean-optional-action

Conversation

@jcristau

Copy link
Copy Markdown
Contributor

argparse.BooleanOptionalAction no longer accepts a type argument in Python 3.14, which made every git-hg-cli command fail when building the argument parser. Drop it, and add a test exercising --help for each subcommand.

argparse.BooleanOptionalAction no longer accepts a type argument in
Python 3.14, which made every git-hg-cli command fail when building the
argument parser.  Drop it, and add a test exercising --help for each
subcommand.
@jcristau
jcristau marked this pull request as ready for review October 14, 2026 16:28
@jcristau
jcristau requested a review from a team as a code owner October 14, 2026 16:28
@zzzeid
zzzeid merged commit 453d49a into mozilla-conduit:main Oct 14, 2026
1 check passed
@jcristau
jcristau deleted the cli-boolean-optional-action branch October 14, 2026 17:12
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