aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorTroy Figiel <troy@troyfigiel.com>2023-11-17 21:48:02 +0100
committerLudovic Courtès <ludo@gnu.org>2024-01-07 16:56:00 +0100
commit51d25c771cfb7e26f5bd0d675893f68a8cbb92dc (patch)
treed8794aac47fbaa2f19fa2c6c6d98578415e8772e /gnu/packages/patches
parent4cafd86f77d23a9635e079f36c59b643a86fd3f5 (diff)
downloadguix-51d25c771cfb7e26f5bd0d675893f68a8cbb92dc.tar.gz
guix-51d25c771cfb7e26f5bd0d675893f68a8cbb92dc.zip
gnu: python-uqbar: Update to 0.5.9.
* gnu/packages/graphviz.scm (python-uqbar): Update to 0.5.9. [source]: Add patch for Python 3.10 compatibility. [arguments]: Remove outdated patch phase. Change-Id: I81d83efd69bd07fe12790981c48a6e82297908f0 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/python-uqbar-python3.10.patch23
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