python3-configargparse: Upgrade 1.10.1 -> 1.10.2
PATCH 1/3 python3-configargparse: Upgrade 1.10.1 -> 1.10.2
Upgrade to release 1.10.2:
Fixes a regression in 1.10.0 and 1.10.1, and a bug in how TomlConfigParser reads section names.
- None as a command line arg works again. parser.parse_args(['--foo', None]) raised TypeError: object of type 'NoneType' has no len() in 1.10.0 and 1.10.1. It gives foo=None again, as 1.9.0 and plain argparse do. The same goes for 0 and False.
- A quoted part of a TOML section name can now hold a dot when it is in single quotes or comes after a space (#370). TomlConfigParser(["tool.'a.b'"]) and TomlConfigParser(['tool . "a.b"']) now read the table [tool."a.b"]. Before, both names were split at the dot inside the quotes, so that table's settings were silently not read (tool."a.b" already worked). Writing a config file with such a section name now writes [tool."a.b"] too.
With that fix, the quoted parts of a section name follow TOML's rules more closely:
- Backslash escapes are read in a double-quoted part and left as they are in a single-quoted part.
- Spaces inside double quotes are kept. tool." a " used to be read as tool.a.
- A quote character in the middle of an unquoted part, which isn't valid TOML, now starts a quoted part, so tool.it's.x is no longer split at the second dot. Write it as tool."it's".x, which works in earlier versions too.
---
...onfigargparse_1.10.1.bb => python3-configargparse_1.10.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-configargparse_1.10.1.bb => python3-configargparse_1.10.2.bb} (86%)meta-python/recipes-devtools/python/python3-configargparse_1.10.2.bb renamed from meta-python/recipes-devtools/python/python3-configargparse_1.10.1.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bw2/ConfigArgParse" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" -SRC_URI[sha256sum] = "8ee7c4429e6402b881c9a85569eb9484db2f63260718b45c67c59625284371c8" +SRC_URI[sha256sum] = "2deb0b3d6d46ff6e3218fcd350127507c5e3c11e21c8072a9fb24531dfc9bd4a" inherit pypi python_setuptools_build_meta
Signature · 1 line
2.47.3
PATCH 2/3 python3-importlib-metadata: Upgrade 10.1.0 -> 10.2.0
Upgrade to release 10.2.0:
Features:
- Restored csv, inspect, json, zipfile, _adapters, and importlib.metadata to module scope, where a reader can see what the module depends on, instead of hiding them in the functions that use them for performance. They are declared in __lazy_modules__ and so stay deferred, and deferred alike on every supported Python: 3.15 honors the declaration natively (PEP 810) and earlier Pythons reach the same behavior through the lazy-importer backport, which is now a dependency there.
Bugfixes:
- MetadataPathFinder is now installed on sys.meta_path only after the module is fully initialized. Previously it was installed partway through, so anything walking sys.meta_path during that window, such as another thread calling entry_points(), would raise
NameError: name 'PathDistribution'
- is not defined. An import interrupted in that window left the half-built finder installed for the life of the process, failing every subsequent lookup.
- Return License-File, Import-Name, and Import-Namespace as lists in JSON-compatible metadata, including when only one value is present, and retain all repeated values as required by PEP 566.
Improved Documentation:
- Added a caveats page describing how this package and importlib.metadata interoperate: the two class hierarchies, the protocols both satisfy, and what that asks of consumers and of custom providers.
---
...-metadata_10.1.0.bb => python3-importlib-metadata_10.2.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-importlib-metadata_10.1.0.bb => python3-importlib-metadata_10.2.0.bb} (82%)meta-python/recipes-devtools/python/python3-importlib-metadata_10.2.0.bb renamed from meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=affe5a7d8b988c3db245c01075b29e17" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "82b04047fa09792c1a8cfeddfe08bec79e4b13c29c8469b0d3949860f61017e8" +SRC_URI[sha256sum] = "9413a2029fd9ca5669d27f1386071bbfe3c7ebca0545692ec975088241fe1d79" DEPENDS += "python3-setuptools-scm-native python3-coherent-licensed-native" RDEPENDS:${PN} += "python3-misc python3-zipp"
Signature · 1 line
2.47.3
PATCH 3/3 python3-jsonpatch: Upgrade 1.47 -> 1.48
In reply to Leon AnaviUpgrade to release 1.48:
- test: compare Unicode string values exactly
- Serialize and compare patches whose paths are pointer objects
- Report errors of jsondiff and jsonpatch in one line
- Let jsonpatch --backup replace an existing backup
- Reject diffs that change a member whose name is not a string
- from_diff: avoid the generic deepcopy and the sorted copy for move keys
---
.../{python3-jsonpatch_1.47.bb => python3-jsonpatch_1.48.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-jsonpatch_1.47.bb => python3-jsonpatch_1.48.bb} (81%)meta-python/recipes-devtools/python/python3-jsonpatch_1.48.bb renamed from meta-python/recipes-devtools/python/python3-jsonpatch_1.47.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4f81c84f9a053e31fe9402a2a4e78864" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "5ed650b7517789e0f43428aa7b09442c0b90de0a0fd17a53fd0ebf55205c601e" +SRC_URI[sha256sum] = "81e9a03754137a1201d9b534ddd599cc0eb5983fe941bce238dc8a76e442bb94" RDEPENDS:${PN} += " \ python3-json \
Signature · 1 line
2.47.3