guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python


From: Andreas Enge
Subject: Re: Python
Date: Tue, 21 Feb 2023 17:24:11 +0100

Am Sun, Feb 19, 2023 at 03:10:03PM +0000 schrieb Attila Lendvai:
> weirdly enough, upstream uses one git repo for multiple projects, and uses 
> prefixed tag names for them.
> FYI, there's this long-pending patchset to update the trezor-agent (something 
> i can test myself):
> https://issues.guix.gnu.org/58437#4
> it's been pending so long, maybe it should be updated again.

Feel free, but I would say this is independent of core-updates.

Well, except that python-trezor-agent does not build in core-updates,
but this is due to its dependencies python-ecdsa (already reported in
a different message), and, as I just saw, python-configargparse:

======================================================================
FAIL: testBasicCase2 (tests.test_configargparse.TestBasicUseCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/guix-build-python-configargparse-1.2.3.drv-0/ConfigArgParse-1.2.3/tests/test_configargparse.py",
 line 250, in testBasicCase2
    self.assertRegex(self.format_help(),
AssertionError: Regex didn't match: 'usage: .* \\[-h\\] --genome GENOME 
\\[-v\\] -g MY_CFG_FILE\n?\\s+\\[-d DBSNP\\]\\s+\\[-f FRMT\\]\\s+vcf \\[vcf 
...\\]\n\n(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)(.+\\s+)positional
 arguments:\n  vcf \\s+ Variant file\\(s\\)\n\noptional arguments:\n  -h, 
--help \\s+ show this help message and exit\n  --genome GENOME \\s+ Path to 
genome file\n  -v\n  -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n  -d DBSNP, 
--dbsnp DBSNP\\s+\\[env var: DBSNP_PATH\\]\n  -f FRMT, --format FRMT\\s+\\[env 
var: OUTPUT_FORMAT\\]\n' not found in "usage: setup.py [-h] --genome GENOME 
[-v] -g MY_CFG_FILE [-d DBSNP] [-f FRMT]\n                vcf [vcf ...]\n\nArgs 
that start with '--' (eg. --genome) can also be set in a config 
file\n(/etc/settings.ini or /home/jeff/.user_settings or 
/tmp/guix-build-python-\nconfigargparse-1.2.3.drv-0/tmprdqc6hnh or specified 
via -g). Config file\nsyntax allows: key=value, flag=true, stuff=[a,b,c] (for 
details, see syntax at\nhttps://goo.gl/R74nmi). If an arg is specified in more 
than one place, then\ncommandline values override environment variables which 
override config file\nvalues which override defaults.\n\npositional 
arguments:\n  vcf                   Variant file(s)\n\noptions:\n  -h, --help   
         show this help message and exit\n  --genome GENOME       Path to 
genome file\n  -v\n  -g MY_CFG_FILE, --my-cfg-file MY_CFG_FILE\n  -d DBSNP, 
--dbsnp DBSNP\n                        [env var: DBSNP_PATH]\n  -f FRMT, 
--format FRMT\n                        [env var: OUTPUT_FORMAT]\n"

and many more.

It would be nice if someone actually using Python could sort out
the mess...

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]