pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-configargparse
Module Name: pkgsrc
Committed By: adam
Date: Wed Oct 28 05:43:52 UTC 2026
Modified Files:
pkgsrc/devel/py-configargparse: Makefile distinfo
Log Message:
py-configargparse: updated to 1.9.0
1.9.0
Behavior changes
A false value for a flag now overrides lower-priority sources
Previously, setting a flag (an arg that takes no value, such as store_true, store_false, count or store_const) to false in an environment variable or a higher-priority config file added nothing to
the command line, so a true for the same flag in a lower-priority config file still turned it on. Now the false value counts as setting the flag, and lower-priority config files no longer set it. For
example, VERBOSE=false now wins over verbose = true in a config file. Args that take a value are unchanged.
A bare -- in a list value is now an error
A list value from a config file or environment variable, such as items = [a, --], used to put a bare -- on the command line, which ended option parsing and turned the user's own command-line options
after it into positional args. It now fails with an error that names the key.
Fixes
Options after -- on the command line no longer block other sources
IniConfigParser.serialize() escapes %
Saved config files keep store_false and store_const values
ConfigparserConfigFileParser reads files that only have a [DEFAULT] section
ConfigparserConfigFileParser round trip: values written by serialize() read back the same in more cases (for example strings that look like lists, and list elements containing # or ;), a value that
will be cut short by a # or ; comment now produces a warning, and interpolation errors name only the key, not the value, which may be a secret.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-configargparse/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-configargparse/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-configargparse/Makefile
diff -u pkgsrc/devel/py-configargparse/Makefile:1.29 pkgsrc/devel/py-configargparse/Makefile:1.30
--- pkgsrc/devel/py-configargparse/Makefile:1.29 Sun Oct 4 16:03:09 2026
+++ pkgsrc/devel/py-configargparse/Makefile Wed Oct 28 05:43:51 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2026/10/04 16:03:09 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2026/10/28 05:43:51 adam Exp $
-DISTNAME= configargparse-1.8.0
+DISTNAME= configargparse-1.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/ConfigArgParse/}
Index: pkgsrc/devel/py-configargparse/distinfo
diff -u pkgsrc/devel/py-configargparse/distinfo:1.26 pkgsrc/devel/py-configargparse/distinfo:1.27
--- pkgsrc/devel/py-configargparse/distinfo:1.26 Sun Oct 4 16:03:09 2026
+++ pkgsrc/devel/py-configargparse/distinfo Wed Oct 28 05:43:51 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2026/10/04 16:03:09 wiz Exp $
+$NetBSD: distinfo,v 1.27 2026/10/28 05:43:51 adam Exp $
-BLAKE2s (configargparse-1.8.0.tar.gz) = 6b5550ada79705dad3cfc40b5badd16cc2ca15571410bd91dae99a972d1757ee
-SHA512 (configargparse-1.8.0.tar.gz) = 0403d793aed9357f86dd0da9208b9ac81d95bde3371560de7ddf9f836e5295786f011a47275c28ed1ce77d329e3c8f078dfeee509b17f9d112156e179ec8297d
-Size (configargparse-1.8.0.tar.gz) = 74830 bytes
+BLAKE2s (configargparse-1.9.0.tar.gz) = a0cdf0e38ab071c9e8eade7d11a31fe0f15d11ac6ca7785c86b691ce77ef4fa8
+SHA512 (configargparse-1.9.0.tar.gz) = 6ec6164727412724208084cc5917fbe714e3e97fe8e615c637e7a433571e8ba4dc80b93ab737074bcf10155a111bb5d374f03f511051e6959ee1741d9454c7e2
+Size (configargparse-1.9.0.tar.gz) = 83875 bytes
Home |
Main Index |
Thread Index |
Old Index