diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-14 17:23:44 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-01-14 17:23:44 +0100 |
commit | 1682264fdafbfa15925cce3d0d11cbca26696e6d (patch) | |
tree | 49614359be81f1f47baa94b05f431bb2728736ca /gnu/packages/patches/python-uqbar-python3.10.patch | |
parent | 2cbb1a6e1e2679c7db74b6b906d223fb3661d09f (diff) | |
parent | bcc9cd1aaeb53c323b199623de4fafe8594d1a95 (diff) |
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/patches/python-uqbar-python3.10.patch')
-rw-r--r-- | gnu/packages/patches/python-uqbar-python3.10.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-uqbar-python3.10.patch b/gnu/packages/patches/python-uqbar-python3.10.patch new file mode 100644 index 0000000000..164f0c0c64 --- /dev/null +++ b/gnu/packages/patches/python-uqbar-python3.10.patch @@ -0,0 +1,23 @@ +Since Python 3.10 the output of a CLI program created with argparse +uses "options" instead of "optional arguments". This behaviour breaks +the tests in python-uqbar. + +--- a/tests/test_cli.py ++++ b/tests/test_cli.py +@@ -84,7 +84,7 @@ def test_call_help(): + + speak like a cat + +- optional arguments: ++ options: + -h, --help show this help message and exit + --version show program's version number and exit + --loud be adamant +@@ -101,6 +101,6 @@ def test_help(): + """ + usage: vox-aggregator [-h] [--version] {help,list,birds,mammals} ... + +- optional arguments: ++ options: + -h, --help show this help message and exit + --version show program's version number and exit |