unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 164f0c0c64d1239cf7a52bc12d5ab89556951440 796 bytes (raw)
name: packages/patches/python-uqbar-python3.10.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

debug log:

solving 164f0c0c64d1239cf7a52bc12d5ab89556951440 ...
found 164f0c0c64d1239cf7a52bc12d5ab89556951440 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).