Files
meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.10.1.bb
T
Leon Anavi b09da103c9 python3-configargparse: Upgrade 1.9.0 -> 1.10.1
Upgrade to release 1.10.1 which fixes two regressions in 1.10.0:

- Lists before a subcommand work again when the option that ends
  them comes from another source. For a nargs='+' or nargs='*'
  option, 1.10.0 stops with an error when a config file or env var
  list would swallow a subcommand, unless an option after the list
  ends it. When the list and that option came from different
  sources, 1.10.0 could miss the option and stop with the error
  anyway: with FILES="[a, b]" set and name = x in a config file,
  prog run failed. It now gives files=['a', 'b'] and name='x' and
  treats run as a subcommand, as 1.9.0 did.
- Count options accept values like +2 again. 1.10.0 accepted only
  digits as the number for a count option in a config file or env
  var, so values that 1.9.0 accepted, such as +2, 1_000 or an env
  var value that ends in a newline, became errors. They work again.
  A negative number such as -1 is still an error (1.9.0 ignored
  it).

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 21:49:44 -08:00

24 lines
676 B
BlitzBasic

SUMMARY = "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables."
HOMEPAGE = "https://github.com/bw2/ConfigArgParse"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943"
SRC_URI[sha256sum] = "8ee7c4429e6402b881c9a85569eb9484db2f63260718b45c67c59625284371c8"
inherit pypi python_setuptools_build_meta
DEPENDS += "python3-setuptools-scm-native"
PACKAGECONFIG ?= "yaml toml"
PACKAGECONFIG[yaml] = ",,,python3-pyyaml"
PACKAGECONFIG[toml] = ",,,python3-toml"
RDEPENDS:${PN} += "\
python3-core \
python3-shell \
python3-json \
"
BBCLASSEXTEND = "native nativesdk"