fix: skip commitizen's stale py_3_13 invalid-command test #78

Merged
lyrathorpe merged 1 commits from fix/commitizen-py313-invalid-command-test into main 2026-07-21 11:26:21 +01:00
Showing only changes of commit 4d27b29233 - Show all commits
+10
View File
@@ -95,6 +95,16 @@
claude-code claude-code
; ;
}) })
# commitizen 4.13.9's regression test for the invalid-command error
# message asserts argparse's older, unquoted "invalid choice" wording;
# the argparse in Python 3.13 quotes each choice, so the fixture no
# longer matches and the checkPhase fails. The package itself is fine
# -- deselect just that test. Drop once nixpkgs updates the fixture.
(_final: prev: {
commitizen = prev.commitizen.overridePythonAttrs (old: {
disabledTests = (old.disabledTests or [ ]) ++ [ "test_invalid_command" ];
});
})
]; ];
# Unfree packages permitted to be built (replaces blanket allowUnfree). # Unfree packages permitted to be built (replaces blanket allowUnfree).