Python updates for Home Assistant 2026.11
cover Python updates for Home Assistant 2026.11
This series updates meta-python for meta-homeassistant's upgrade to Home Assistant 2026.11.0. Not every patch is needed for the same reason, so here is what each group is for:
Needed by the Cython 3.3.1 upgrade sent to openembedded-core (PyAV 19, which Home Assistant 2026.11 pins, needs Cython 3.3):
- python3-propcache 0.5.4: 0.4.1 with the backported Cython 3.2 patch requires Cython ~= 3.2.0 and does not build with Cython 3.3.
Needed as a set:
- python3-pydantic-core 2.50.1 and python3-pydantic 2.14.1: pydantic pins pydantic-core exactly; "import pydantic" raises SystemError when they do not match.
- python3-google-api-core 2.44.0, python3-googleapis-common-protos 1.76.0 and the new python3-proto-plus 1.29.0: the old releases declare protobuf < 6 while meta-python has 7.36, and google-cloud-pubsub 2.39.2, which Home Assistant 2026.11 uses, requires google-api-core >= 2.25.0. The old google-api-core still imports with protobuf 7.36; I did not see a runtime failure, so this is about the declared requirements. meta-python-ai carries proto-plus 1.27.1 as well; once this lands it can drop its copy.
Upgrades to the versions Home Assistant 2026.11 pins. I have not seen these fail with the current versions; they bring the layer in line with the pins:
- python3-pillow 13.0.0 (pinned by Home Assistant core). It contains the fix for CVE-2026-112393, so the backport added in 53cf975e9b is dropped.
- python3-sqlalchemy 2.0.54, python3-lru-dict 1.4.1, python3-orjson 3.13.0 (pinned by Home Assistant core)
- python3-pychromecast 14.1.1 (cast integration)
- python3-pylint 4.1.3 and python3-pytest-socket 0.8.1 (Home Assistant test requirements, used by its ptest)
Recipe notes:
- python3-propcache 0.5.4 requires Cython >= 3.2.0 and has a build-inplace config setting, so both local patches are dropped.
- python3-pychromecast 14.1.1 allows setuptools < 85 and wheel < 0.49, which OE-Core satisfies, so the relax patch is dropped.
- python3-lru-dict 1.4.1 pins setuptools==80.9.0; relaxed with an Inappropriate [oe-specific] patch.
- python3-pytest-socket 0.8.1 moved to uv_build; backport of the upstream change that allows uv_build < 0.14.
- python3-pylint 4.1.3: three patches are dropped (two are in 4.1.3, the license-files one is not needed with setuptools >= 77). The ptest expectation patch was regenerated by running the functional test with pylint 4.1.3 and astroid 4.3.4 installed outside the source tree, the way the ptest sees pylint.
- python3-google-api-core and python3-googleapis-common-protos: the sdists are now named with underscores, which is the pypi.bbclass default, so PYPI_PACKAGE_SDIST is dropped.
The series is independent of the "Fixes for pika, pint, haversine and httpx2" series sent at the same time; both apply to master on their own.
Related changes for the Home Assistant 2026.11 upgrade. They belong together and are meant to land as a set:
- openembedded-core: python3-cython 3.2.9 -> 3.3.1
https://github.com/thomas-roos/openembedded-core/commits/ha-2026.11
- meta-openembedded (meta-python): this series and the fixes series
https://github.com/thomas-roos/meta-openembedded/commits/ha-2026.11
- meta-python-ai: 7 upgrades
https://github.com/zboszor/meta-python-ai/pull/46
- meta-homeassistant: Home Assistant 2026.3.1 -> 2026.11.0
https://github.com/meta-homeassistant/meta-homeassistant/pull/207
Testing, on top of master b5d60afb63 with the Cython 3.3.1 upgrade:
- built for qemux86-64 (x86-64-v3): all recipes of the series and meta-homeassistant's core-image-homeassistant (Home Assistant 2026.11)
- ptests pass for every changed recipe that has a ptest image: orjson, pillow, propcache, pydantic, pydantic-core, pylint
- checked with bodnuti: patchtest pass, no oelint-adv or shellcheck findings
AI disclosure: the patches, commit messages and this cover letter were written with Claude Code (Claude Opus 5.5), as the AI-Generated tags in each patch say. I reviewed every change, ran the builds and tests above, and can answer for them.
Thomas Roos (13):
python3-propcache: upgrade 0.4.1 -> 0.5.4
python3-pychromecast: upgrade 14.0.10 -> 14.1.1
python3-pillow: upgrade 12.3.0 -> 13.0.0
python3-sqlalchemy: upgrade 2.0.52 -> 2.0.54
python3-lru-dict: upgrade 1.3.0 -> 1.4.1
python3-pytest-socket: upgrade 0.7.0 -> 0.8.1
python3-pylint: upgrade 4.0.8 -> 4.1.3
python3-orjson: upgrade 3.12.0 -> 3.13.0
python3-pydantic-core: upgrade 2.46.5 -> 2.50.1
python3-pydantic: upgrade 2.13.5 -> 2.14.1
python3-proto-plus: add recipe python3-googleapis-common-protos: upgrade 1.63.2 -> 1.76.0
python3-google-api-core: upgrade 2.19.1 -> 2.44.0
...1.bb => python3-google-api-core_2.44.0.bb} | 9 +-
...ython3-googleapis-common-protos_1.76.0.bb} | 6 +-
...pyproject.toml-do-not-pin-setuptools.patch | 25 +++
...ict_1.3.0.bb => python3-lru-dict_1.4.1.bb} | 7 +-
.../python/python3-orjson-crates.inc | 40 ++--
...rd-avx512-module-with-x86-target-cfg.patch | 5 +-
...e-detection-macro-in-pystrref-object.patch | 11 +-
...son_3.12.0.bb => python3-orjson_3.13.0.bb} | 2 +-
.../python3-pillow/CVE-2026-112393.patch | 124 -----------
...low_12.3.0.bb => python3-pillow_13.0.0.bb} | 3 +-
...1-Update-Cython-to-version-3.2.3-184.patch | 33 ---
.../0001-build-wheel-in-place.patch | 31 ---
...he_0.4.1.bb => python3-propcache_0.5.4.bb} | 8 +-
.../python/python3-proto-plus_1.29.0.bb | 15 ++
...roject.toml-relax-build-requirements.patch | 29 ---
...0.10.bb => python3-pychromecast_14.1.1.bb} | 3 +-
.../python/python3-pydantic-core-crates.inc | 88 ++++----
...toml-Update-bitvec-to-use-radium-1.x.patch | 14 +-
...6.5.bb => python3-pydantic-core_2.50.1.bb} | 2 +-
...c_2.13.5.bb => python3-pydantic_2.14.1.bb} | 2 +-
...1-Adjust-test-expectations-for-ptest.patch | 18 +-
...l-Keep-tool.setuptools.license-files.patch | 43 ----
.../0003-astroid-4.1.2-endlineno.patch | 203 ------------------
...s-do-not-pass-asname-to-Import.infer.patch | 39 ----
...ylint_4.0.8.bb => python3-pylint_4.1.3.bb} | 5 +-
...1-pyproject.toml-allow-uv_build-0.13.patch | 25 +++
....7.0.bb => python3-pytest-socket_0.8.1.bb} | 5 +-
...2.0.52.bb => python3-sqlalchemy_2.0.54.bb} | 2 +-
28 files changed, 166 insertions(+), 631 deletions(-)
rename meta-python/recipes-devtools/python/{python3-google-api-core_2.19.1.bb => python3-google-api-core_2.44.0.bb} (71%)
rename meta-python/recipes-devtools/python/{python3-googleapis-common-protos_1.63.2.bb => python3-googleapis-common-protos_1.76.0.bb} (63%)
create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch
rename meta-python/recipes-devtools/python/{python3-lru-dict_1.3.0.bb => python3-lru-dict_1.4.1.bb} (67%)
rename meta-python/recipes-devtools/python/{python3-orjson_3.12.0.bb => python3-orjson_3.13.0.bb} (97%)
delete mode 100644 meta-python/recipes-devtools/python/python3-pillow/CVE-2026-112393.patch
rename meta-python/recipes-devtools/python/{python3-pillow_12.3.0.bb => python3-pillow_13.0.0.bb} (94%)
delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch
rename meta-python/recipes-devtools/python/{python3-propcache_0.4.1.bb => python3-propcache_0.5.4.bb} (68%)
create mode 100644 meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb
delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
rename meta-python/recipes-devtools/python/{python3-pychromecast_14.0.10.bb => python3-pychromecast_14.1.1.bb} (72%)
rename meta-python/recipes-devtools/python/{python3-pydantic-core_2.46.5.bb => python3-pydantic-core_2.50.1.bb} (94%)
rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.5.bb => python3-pydantic_2.14.1.bb} (98%)
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0004-checkers-variables-do-not-pass-asname-to-Import.infer.patch
rename meta-python/recipes-devtools/python/{python3-pylint_4.0.8.bb => python3-pylint_4.1.3.bb} (86%)
create mode 100644 meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch
rename meta-python/recipes-devtools/python/{python3-pytest-socket_0.7.0.bb => python3-pytest-socket_0.8.1.bb} (60%)
rename meta-python/recipes-devtools/python/{python3-sqlalchemy_2.0.52.bb => python3-sqlalchemy_2.0.54.bb} (88%)Signature · 1 line
2.56.0
PATCH 1/13 python3-propcache: upgrade 0.4.1 -> 0.5.4
Needed together with the Cython 3.3.1 upgrade in OE-Core: 0.4.1, with the backported "Update Cython to version 3.2.3" patch, requires Cython ~= 3.2.0 and does not build with Cython 3.3. Home Assistant 2026.11 also pins propcache 0.5.4.
Drop both local patches:
- 0001-Update-Cython-to-version-3.2.3-184.patch backported the change from Cython ~= 3.1.0 to Cython ~= 3.2.0. 0.5.4 requires Cython >= 3.2.0 (packaging/pep517_backend/_backend.py), so the backport is not needed; it would even pin the build back to Cython ~= 3.2.0.
- 0001-build-wheel-in-place.patch hardcoded build_inplace=True in the in-tree build backend. 0.5.4 adds the build-inplace config setting for this, so the recipe passes "-C build-inplace=true" in PEP517_BUILD_OPTS instead.
AI-Generated: Claude Code, Claude Opus 5.5
---
...1-Update-Cython-to-version-3.2.3-184.patch | 33 -------------------
.../0001-build-wheel-in-place.patch | 31 -----------------
...he_0.4.1.bb => python3-propcache_0.5.4.bb} | 8 ++---
3 files changed, 3 insertions(+), 69 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch
rename meta-python/recipes-devtools/python/{python3-propcache_0.4.1.bb => python3-propcache_0.5.4.bb} (68%)meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 049909ed3db8527aaae86a15d3c7998988ea77a0 Mon Sep 17 00:00:00 2001 -From: James Hilliard <[email protected]> -Date: Mon, 29 Dec 2025 13:21:12 -0700 -Subject: [PATCH] Update Cython to version 3.2.3 (#184) - -Upstream-Status: Backport [https://github.com/aio-libs/propcache/pull/184] -Co-authored-by: J. Nick Koston <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - packaging/pep517_backend/_backend.py | 2 +- - requirements/cython.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index ce79c4e..e05a9dd 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -376,7 +376,7 @@ def get_requires_for_build_wheel( - if is_pure_python_build: - c_ext_build_deps = [] - else: -- c_ext_build_deps = ['Cython ~= 3.1.0'] -+ c_ext_build_deps = ['Cython ~= 3.2.0'] - - return _setuptools_get_requires_for_build_wheel( - config_settings=config_settings, -diff --git a/requirements/cython.txt b/requirements/cython.txt -index 97dc5a1..209c15a 100644 ---- a/requirements/cython.txt -+++ b/requirements/cython.txt -@@ -1 +1 @@ --cython==3.1.4 -+cython==3.2.3
meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <[email protected]> -Date: Wed, 17 Sep 2025 15:41:09 +0800 -Subject: [PATCH] build wheel in place - -In order to make the generated library be reproducible, build wheel -in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's -option -fdebug-prefix-map could work as expected - -Upstream-Status: Pending -Signed-off-by: Hongxu Jia <[email protected]> ---- - packaging/pep517_backend/_backend.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index 61cad34..d5d839e 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -316,7 +316,7 @@ def build_wheel( - """ - with maybe_prebuild_c_extensions( - line_trace_cython_when_unset=False, -- build_inplace=False, -+ build_inplace=True, - config_settings=config_settings, - ): - return _setuptools_build_wheel( --- -2.34.1 -
meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb renamed from meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb +3 -5
@@ -3,14 +3,12 @@ HOMEPAGE = "https://github.com/aio-libs/propcache" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d" +SRC_URI[sha256sum] = "ff6b113f50bc066a698db5d944d2c6dc7507168dd3341e255a8892fd0715a558" inherit pypi python_setuptools_build_meta ptest-python-pytest cython -SRC_URI += " \ - file://0001-build-wheel-in-place.patch \ - file://0001-Update-Cython-to-version-3.2.3-184.patch \ -" +# Build the C extensions in the source tree instead of a temporary copy +PEP517_BUILD_OPTS += "-C build-inplace=true" DEPENDS += " \ python3-expandvars-native \
Signature · 1 line
2.56.0
PATCH 2/13 python3-pychromecast: upgrade 14.0.10 -> 14.1.1
In reply to Thomas RoosHome Assistant 2026.11 pins pychromecast 14.1.1 for its cast integration.
Drop 0001-pyproject.toml-relax-build-requirements.patch. It removed the upper bounds setuptools < 83 and wheel < 0.47 from the build requirements. 14.1.1 allows setuptools < 85 and wheel < 0.49, and OE-Core provides setuptools 84.0.0 and wheel 0.48.0, which are within the new bounds.
AI-Generated: Claude Code, Claude Opus 5.5
---
...roject.toml-relax-build-requirements.patch | 29 -------------------
...0.10.bb => python3-pychromecast_14.1.1.bb} | 3 +-
2 files changed, 1 insertion(+), 31 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch
rename meta-python/recipes-devtools/python/{python3-pychromecast_14.0.10.bb => python3-pychromecast_14.1.1.bb} (72%)meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From a82451e8f2db33e22fef6714ddbd35a3e03debff Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 14 May 2026 11:49:05 -0700 -Subject: [PATCH] pyproject.toml: Relax build requirements - -Drop the upstream setuptools and wheel upper caps. OE provides both via -DEPENDS and builds with --no-isolation, so the caps are spurious and -break the build whenever oe-core ships a newer version (currently -setuptools 83.0.0 and wheel 0.48.0, the latter excluded by the previous -"wheel<0.48.0" bound). - -Upstream-Status: Inappropriate [oe-core specific dependency versions] - -Signed-off-by: Khem Raj <[email protected]> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 20524ca..fc62798 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<83.0", "wheel>=0.37.1,<0.47.0"] -+requires = ["setuptools>=65.6", "wheel>=0.37.1"] - build-backend = "setuptools.build_meta" - - [project]
meta-python/recipes-devtools/python/python3-pychromecast_14.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb +1 -2
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -SRC_URI += "file://0001-pyproject.toml-relax-build-requirements.patch" -SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c" +SRC_URI[sha256sum] = "9b75553770c8007bc146ca7b5ad30dd165c71bb1335a0ea6659a514087a63c67" inherit pypi python_setuptools_build_meta
Signature · 1 line
2.56.0
PATCH 3/13 python3-pillow: upgrade 12.3.0 -> 13.0.0
In reply to Thomas RoosHome Assistant 2026.11 pins Pillow 13.0.0.
Drop CVE-2026-112393.patch. It backported the upstream fix [1] to 12.3.0. That commit is an ancestor of the 13.0.0 tag, so 13.0.0 contains the fix, and the patch no longer applies.
[1] https://github.com/python-pillow/Pillow/commit/78c08bd4d9c08037f77465a61d90633f669013f4
AI-Generated: Claude Code, Claude Opus 5.5
---
.../python3-pillow/CVE-2026-112393.patch | 124 ------------------
...low_12.3.0.bb => python3-pillow_13.0.0.bb} | 3 +-
2 files changed, 1 insertion(+), 126 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pillow/CVE-2026-112393.patch
rename meta-python/recipes-devtools/python/{python3-pillow_12.3.0.bb => python3-pillow_13.0.0.bb} (94%)meta-python/recipes-devtools/python/python3-pillow/CVE-2026-112393.patch deleted +0 -124
@@ -1,124 +0,0 @@ -From 9b693ea929423da2bebef5523881ae3850c3877e Mon Sep 17 00:00:00 2001 -From: Jeffrey 'Alex' Clark <[email protected]> -Date: Mon, 12 Oct 2026 21:18:41 -0400 -Subject: [PATCH] Fix heap buffer overflow in _tiffWriteProc when saving TIFF - to BytesIO - -libtiff seeks past the current end of data when writing the directory -and writes tag values there. _tiffWriteProc sized its realloc() from -state->size + size instead of the write position state->loc + size, -so the first out-of-line tag value written after such a seek could -overrun the allocation by up to the size of the directory. The bytes -skipped by the seek were also never zeroed, leaking stale heap -contents into the saved file. - -Size the buffer from the write position and zero the space added by -realloc, matching the semantics of writing to a real file. Reject -writes where the position is still beyond the buffer for the -non-reallocating case. - -Reported-by: carlini -Reported-by: Tomer-PL -Fixes: GHSA-332p-7hrc-92wf - -Co-authored-by: Copilot <[email protected]> -Co-Authored-By: Claude Opus 5.5 <[email protected]> - -CVE: CVE-2026-112393 -Upstream-Status: Backport [https://github.com/python-pillow/Pillow/commit/78c08bd4d9c08037f77465a61d90633f669013f4] - -Signed-off-by: Kris Gavvala <[email protected]> ---- - Tests/test_file_libtiff.py | 36 ++++++++++++++++++++++++++++++++++++ - src/libImaging/TiffDecode.c | 15 ++++++++++++++- - 2 files changed, 50 insertions(+), 1 deletion(-) - -diff --git a/Tests/test_file_libtiff.py b/Tests/test_file_libtiff.py -index c9849a056..84e4299a1 100644 ---- a/Tests/test_file_libtiff.py -+++ b/Tests/test_file_libtiff.py -@@ -757,6 +757,42 @@ class TestFileLibTiff(LibTiffTestCase): - save_bytesio("packbits") - save_bytesio("tiff_lzw") - -+ -+ def test_save_bytesio_seek_past_end(self, tmp_path: Path) -> None: -+ # When writing the directory, libtiff seeks past the end of the data -+ # written so far, and then writes the tag values there. Check that the -+ # in-memory write buffer grows to fit, and that the bytes that are -+ # skipped over are zero, as they would be when writing to a file. -+ -+ # 7 distinct bytes per row: PackBits emits 8 bytes per row, so the strip -+ # plus the header are exactly 64 KiB, the initial size of the buffer -+ im = Image.new("L", (7, 8191)) -+ im.putdata([(i * 37) & 0xFF for i in range(7 * 8191)]) -+ kwargs: dict[str, Any] = { -+ "compression": "packbits", -+ "description": "D" * 65535, -+ } -+ -+ outfile = tmp_path / "temp.tif" -+ im.save(outfile, **kwargs) -+ buffer_io = io.BytesIO() -+ im.save(buffer_io, format="tiff", **kwargs) -+ assert buffer_io.getvalue() == outfile.read_bytes() -+ -+ # odd-length tag values, so that libtiff pads between them. Large enough -+ # that the buffer has to be reallocated -+ im = hopper().resize((300, 300)) -+ kwargs = { -+ "compression": "tiff_lzw", -+ "description": "abcdef", -+ "software": "xyz0", -+ "tiffinfo": {315: "artist", 33432: "copyright!"}, -+ } -+ im.save(outfile, **kwargs) -+ buffer_io = io.BytesIO() -+ im.save(buffer_io, format="tiff", **kwargs) -+ assert buffer_io.getvalue() == outfile.read_bytes() -+ - def test_save_ycbcr(self, tmp_path: Path) -> None: - im = hopper("YCbCr") - outfile = tmp_path / "temp.tif" -diff --git a/src/libImaging/TiffDecode.c b/src/libImaging/TiffDecode.c -index 72e0d7b30..e21327f02 100644 ---- a/src/libImaging/TiffDecode.c -+++ b/src/libImaging/TiffDecode.c -@@ -88,10 +88,12 @@ _tiffWriteProc(thandle_t hdata, tdata_t buf, tsize_t size) { - dump_state(state); - - to_write = min(size, state->size - (tsize_t)state->loc); -+ // libtiff may have seeked past the end of the buffer, e.g. when writing the -+ // directory, so the required size is based on the current location. - if (state->flrealloc && size > to_write) { - tdata_t new_data; - tsize_t newsize = state->size; -- while (newsize < (size + state->size)) { -+ while (newsize < (size + (tsize_t)state->loc)) { - if (newsize > INT_MAX - 64 * 1024) { - return 0; - } -@@ -105,9 +107,20 @@ _tiffWriteProc(thandle_t hdata, tdata_t buf, tsize_t size) { - // fail out - return 0; - } -+ // zero the new space, so that any bytes libtiff seeks over without -+ // writing are 0 in the output, as they would be in a file -+ memset((UINT8 *)new_data + state->size, 0, newsize - state->size); - state->data = new_data; - state->size = newsize; - to_write = size; -+ } else if (to_write < 0) { -+ TIFFError( -+ "_tiffWriteProc", -+ "Invalid Write at loc %" PRIu64 ", size: %" PRIu64, -+ state->loc, -+ (toff_t)state->size -+ ); -+ return 0; - } - - TRACE(("to_write: %d\n", (int)to_write)); --- -2.43.0 -
meta-python/recipes-devtools/python/python3-pillow_13.0.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_12.3.0.bb +1 -2
@@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f0ac3777cfc96ded1b825e32ae7c99" SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \ file://0001-support-cross-compiling.patch \ - file://CVE-2026-112393.patch \ " -SRCREV = "bb1d8e8ab8d29048624d96e3ee53cecf7c13d13d" +SRCREV = "293218ad059d994baf1777d882911bed6a49704a" inherit python_setuptools_build_meta ptest-python-pytest
Signature · 1 line
2.56.0
PATCH 4/13 python3-sqlalchemy: upgrade 2.0.52 -> 2.0.54
In reply to Thomas RoosHome Assistant 2026.11 pins SQLAlchemy 2.0.54 (core and the recorder integration).
AI-Generated: Claude Code, Claude Opus 5.5
---
...ython3-sqlalchemy_2.0.52.bb => python3-sqlalchemy_2.0.54.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-sqlalchemy_2.0.52.bb => python3-sqlalchemy_2.0.54.bb} (88%)meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.54.bb renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.52.bb +1 -1
@@ -4,7 +4,7 @@ HOMEPAGE = "https://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=53a9111717b305b0fae0d704a24925c3" -SRC_URI[sha256sum] = "5e2d46356ac2ccb7d268ab6c2319ac6a2b42f1b8d5fd8bd3d46855cd82abee97" +SRC_URI[sha256sum] = "baa8521e8ee9f24e75dfc7aaabc08020e551ef0d48d7c3e3536f5cddf277586b" inherit pypi python_setuptools_build_meta cython
Signature · 1 line
2.56.0
PATCH 5/13 python3-lru-dict: upgrade 1.3.0 -> 1.4.1
In reply to Thomas RoosHome Assistant 2026.11 pins lru-dict 1.4.1.
The sdist is now published as lru_dict-*.tar.gz, the default name, so drop PYPI_PACKAGE_SDIST. 1.4.x pins the build to setuptools==80.9.0 and no longer needs wheel; relax the setuptools pin with a patch and drop the python3-wheel-native dependency.
AI-Generated: Claude Code, Claude Opus 5.5
---
...pyproject.toml-do-not-pin-setuptools.patch | 25 +++++++++++++++++++
...ict_1.3.0.bb => python3-lru-dict_1.4.1.bb} | 7 ++----
2 files changed, 27 insertions(+), 5 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch
rename meta-python/recipes-devtools/python/{python3-lru-dict_1.3.0.bb => python3-lru-dict_1.4.1.bb} (67%)meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Roos <[email protected]> +Date: Thu, 5 Nov 2026 22:30:00 +0100 +Subject: [PATCH] pyproject.toml: do not pin setuptools + +lru-dict 1.4.x pins the PEP 517 build to setuptools==80.9.0. OE-Core +provides a newer setuptools, which builds the extension as well. + +Upstream-Status: Inappropriate [oe-specific] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos <[email protected]> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools==80.9.0"] ++requires = ["setuptools>=80.9.0"] + build-backend = "setuptools.build_meta" + + [project]
meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb renamed from meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb +2 -5
@@ -4,10 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" -SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b" +SRC_URI += "file://0001-pyproject.toml-do-not-pin-setuptools.patch" +SRC_URI[sha256sum] = "cc518ff2d38cc7a8ab56f9a6ae557f91e2e1524b57ed8e598e97f45a2bd708fc" inherit pypi python_setuptools_build_meta - -PYPI_PACKAGE_SDIST = "lru-dict" - -DEPENDS += "python3-wheel-native"
Signature · 1 line
2.56.0
PATCH 6/13 python3-pytest-socket: upgrade 0.7.0 -> 0.8.1
In reply to Thomas RoosHome Assistant 2026.11 pins pytest-socket 0.8.1 in its test requirements.
0.8.x builds with uv_build instead of poetry-core. Backport the upstream change that allows uv_build < 0.14, since OE-Core provides 0.13.7.
AI-Generated: Claude Code, Claude Opus 5.5
---
...1-pyproject.toml-allow-uv_build-0.13.patch | 25 +++++++++++++++++++
....7.0.bb => python3-pytest-socket_0.8.1.bb} | 5 ++--
2 files changed, 28 insertions(+), 2 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch
rename meta-python/recipes-devtools/python/{python3-pytest-socket_0.7.0.bb => python3-pytest-socket_0.8.1.bb} (60%)meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch new file +25 -0
@@ -0,0 +1,25 @@ +From e3ed717f36fe4794adc50712873e7c33fd43a581 Mon Sep 17 00:00:00 2001 +From: Mike Fiedler <[email protected]> +Date: Mon, 12 Oct 2026 13:05:41 -0400 +Subject: [PATCH] pyproject.toml: allow uv_build 0.13 + +Only the build-system part of the upstream commit "chore: add Python +3.15 support", which raised the uv_build bound to < 0.14.0. + +Upstream-Status: Backport [https://github.com/miketheman/pytest-socket/commit/e3ed717f36fe4794adc50712873e7c33fd43a581] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos <[email protected]> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -92,5 +92,5 @@ + ] + + [build-system] +-requires = ["uv_build>=0.7.20,<0.13.0"] ++requires = ["uv_build>=0.7.20,<0.14.0"] + build-backend = "uv_build"
meta-python/recipes-devtools/python/python3-pytest-socket_0.8.1.bb renamed from meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb +3 -2
@@ -3,9 +3,10 @@ HOMEPAGE = "https://github.com/miketheman/pytest-socket" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=1752f63a3a8a02fed42e580e9b94a081" -SRC_URI[sha256sum] = "71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3" +SRC_URI += "file://0001-pyproject.toml-allow-uv_build-0.13.patch" +SRC_URI[sha256sum] = "2f57787914ad2e1308d09ce141b95c3e55741fbb4fb7b7556593a6b063e0c9c7" -inherit pypi python_poetry_core +inherit pypi python_uv_build RDEPENDS:${PN} = "python3-pytest"
Signature · 1 line
2.56.0
PATCH 7/13 python3-pylint: upgrade 4.0.8 -> 4.1.3
In reply to Thomas RoosHome Assistant 2026.11 pins pylint 4.1.3 in its test requirements.
Drop patches that are no longer needed:
- 0002-pyproject.toml-Keep-tool.setuptools.license-files.patch rewrote the PEP 639 license and license-files keys into the older tool.setuptools form. 4.1.3 requires setuptools >= 77, which handles the PEP 639 keys, and OE-Core provides 84.0.0.
- 0003-astroid-4.1.2-endlineno.patch adjusted functional test expectations for astroid 4.1.2 (for example MyClass instead of MyClass.my_method). 4.1.3 ships the same expectations.
- 0004-checkers-variables-do-not-pass-asname-to-Import.infer.patch was a backport of upstream commit 554b1d192434, which is part of 4.1.3.
Refresh 0001-Adjust-test-expectations-for-ptest.patch. The expected output was regenerated by running the functional test with pylint 4.1.3 and astroid 4.3.4 installed into a virtualenv and the tests outside the source tree, which is how the ptest sees pylint.
AI-Generated: Claude Code, Claude Opus 5.5
---
...1-Adjust-test-expectations-for-ptest.patch | 18 +-
...l-Keep-tool.setuptools.license-files.patch | 43 ----
.../0003-astroid-4.1.2-endlineno.patch | 203 ------------------
...s-do-not-pass-asname-to-Import.infer.patch | 39 ----
...ylint_4.0.8.bb => python3-pylint_4.1.3.bb} | 5 +-
5 files changed, 11 insertions(+), 297 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch
delete mode 100644 meta-python/recipes-devtools/python/python3-pylint/0004-checkers-variables-do-not-pass-asname-to-Import.infer.patch
rename meta-python/recipes-devtools/python/{python3-pylint_4.0.8.bb => python3-pylint_4.1.3.bb} (86%)meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch +10 -8
@@ -1,4 +1,4 @@ -From ed93b7d7f629e95528560f84ead6919b5f1c9d37 Mon Sep 17 00:00:00 2001 +From 6fb7ef6a3cacd55337c8497e720c2b5d1e5da739 Mon Sep 17 00:00:00 2001 From: Dan McGregor <[email protected]> Date: Wed, 13 Mar 2024 14:08:25 -0600 Subject: [PATCH] Adjust test expectations for ptest
@@ -12,31 +12,33 @@ Signed-off-by: Dan McGregor <[email protected]> tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) +diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt +index 9bd78c786..9a2859811 100644 --- a/tests/functional/w/wrong_import_order.txt +++ b/tests/functional/w/wrong_import_order.txt -@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard - wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before + wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""pytest.mark""":UNDEFINED wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED - wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED + wrong-import-order:20:0:20:13::"third party import ""pytest"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED --wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"", ""totally_missing"", ""pytest"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED --wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""pytest"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -+wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -+wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch deleted +0 -43
43 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch deleted +0 -203
203 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pylint/0004-checkers-variables-do-not-pass-asname-to-Import.infer.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 554b1d1924342ce2e5b4d8f79dd62eab7cd67501 Mon Sep 17 00:00:00 2001 -From: Daniël van Noord <[email protected]> -Date: Sat, 4 Jul 2026 23:17:33 +0200 -Subject: [PATCH] checkers/variables: do not pass asname to Import.infer() - -astroid 4.2 removed the asname keyword argument from Import/ImportFrom -inference (astroid commit fe29fb1f7e3e, "Remove `asname` kwarg from -Import/ImportFrom `_infer`"). With astroid >= 4.2, pylint 4.0.8 then -crashes on any module that imports a missing submodule of a package: - - TypeError: NodeNG.infer() got an unexpected keyword argument 'asname' - ... (astroid-error) - -which breaks the fallback_import_enabled, import_error and -no_name_in_module functional tests with the astroid 4.3.1 in meta-python. - -This is the pylint/ part of upstream commit 554b1d192434 -("Bump `astroid` to `4.2.0b4` (#11153)"); the astroid version pin -changes in pyproject.toml and requirements_test_min.txt are left out. - -Upstream-Status: Backport [https://github.com/pylint-dev/pylint/commit/554b1d192434] -Signed-off-by: Khem Raj <[email protected]> ---- - pylint/checkers/variables.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py -index 3ce7dc63410..7e5f27b70ef 100644 ---- a/pylint/checkers/variables.py -+++ b/pylint/checkers/variables.py -@@ -217,7 +217,7 @@ class C: ... - def _infer_name_module(node: nodes.Import, name: str) -> Generator[InferenceResult]: - context = astroid.context.InferenceContext() - context.lookupname = name -- return node.infer(context, asname=False) # type: ignore[no-any-return] -+ return node.infer(context) # type: ignore[no-any-return] - - - def _fix_dot_imports(
meta-python/recipes-devtools/python/python3-pylint_4.1.3.bb renamed from meta-python/recipes-devtools/python/python3-pylint_4.0.8.bb +1 -4
@@ -3,12 +3,9 @@ HOMEPAGE = "https://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRCREV = "ecb84baf74ae152a511e5fdada5000c85250a48f" +SRCREV = "e75de10c69103381c875601f638d4b977ff0fcaf" SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ file://0001-Adjust-test-expectations-for-ptest.patch \ - file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ - file://0003-astroid-4.1.2-endlineno.patch \ - file://0004-checkers-variables-do-not-pass-asname-to-Import.infer.patch \ file://run-ptest \ "
Signature · 1 line
2.56.0
PATCH 8/13 python3-orjson: upgrade 3.12.0 -> 3.13.0
In reply to Thomas RoosHome Assistant 2026.11 pins orjson 3.13.0.
Refresh the two x86 guard patches and regenerate python3-orjson-crates.inc with bitbake -c update_crates.
AI-Generated: Claude Code, Claude Opus 5.5
---
.../python/python3-orjson-crates.inc | 40 +++++++++----------
...rd-avx512-module-with-x86-target-cfg.patch | 5 +--
...e-detection-macro-in-pystrref-object.patch | 11 ++---
...son_3.12.0.bb => python3-orjson_3.13.0.bb} | 2 +-
4 files changed, 24 insertions(+), 34 deletions(-)
rename meta-python/recipes-devtools/python/{python3-orjson_3.12.0.bb => python3-orjson_3.13.0.bb} (97%)meta-python/recipes-devtools/python/python3-orjson-crates.inc +18 -22
@@ -4,51 +4,47 @@ SRC_URI += " \ crate://crates.io/associative-cache/3.0.1 \ crate://crates.io/bytecount/0.6.9 \ - crate://crates.io/cc/1.4.3 \ - crate://crates.io/cfg-if/1.0.4 \ - crate://crates.io/encoding_rs/0.8.35 \ - crate://crates.io/find-msvc-tools/0.1.11 \ + crate://crates.io/cc/1.6.0 \ + crate://crates.io/find-msvc-tools/0.1.14 \ crate://crates.io/gimli/0.34.0 \ crate://crates.io/itoap/1.0.1 \ - crate://crates.io/jiff-core/0.1.0 \ - crate://crates.io/libc/0.2.189 \ + crate://crates.io/jiff-core/0.1.1 \ + crate://crates.io/libc/0.2.190 \ crate://crates.io/no-panic/0.1.37 \ crate://crates.io/once_cell/1.21.4 \ crate://crates.io/proc-macro2/1.0.107 \ - crate://crates.io/pyo3-build-config/0.28.3 \ - crate://crates.io/pyo3-ffi/0.28.3 \ + crate://crates.io/pyo3-build-config/0.29.3 \ + crate://crates.io/pyo3-ffi/0.29.3 \ crate://crates.io/quote/1.0.47 \ crate://crates.io/shlex/2.0.1 \ crate://crates.io/simdutf8/0.1.5 \ - crate://crates.io/syn/3.0.3 \ + crate://crates.io/syn/3.0.6 \ crate://crates.io/target-lexicon/0.13.5 \ - crate://crates.io/unicode-ident/1.0.24 \ + crate://crates.io/unicode-ident/1.0.26 \ crate://crates.io/unwinding/0.2.10 \ - crate://crates.io/xxhash-rust/0.8.18 \ + crate://crates.io/xxhash-rust/0.8.19 \ crate://crates.io/zmij/1.0.23 \ " SRC_URI[associative-cache-3.0.1.sha256sum] = "138b4febdc7d0135523c55358c97361fd45089bc65fe859ef21a58d0892deb00" SRC_URI[bytecount-0.6.9.sha256sum] = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e" -SRC_URI[cc-1.4.3.sha256sum] = "509591b7bcd67f4ef775afad7662703b4935daaa6ec0e5605cfb1090b32a2b6d" -SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" -SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" -SRC_URI[find-msvc-tools-0.1.11.sha256sum] = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" +SRC_URI[cc-1.6.0.sha256sum] = "f74872d07caf508b30a21f6836e7d7016a2eaf7d9ff4f48deaa58cd8a0407630" +SRC_URI[find-msvc-tools-0.1.14.sha256sum] = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" SRC_URI[gimli-0.34.0.sha256sum] = "1033caf0b349c518623b5396bfb2cf0bddf44f0306d543a250e5743297aafd10" SRC_URI[itoap-1.0.1.sha256sum] = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" -SRC_URI[jiff-core-0.1.0.sha256sum] = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -SRC_URI[libc-0.2.189.sha256sum] = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" +SRC_URI[jiff-core-0.1.1.sha256sum] = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" +SRC_URI[libc-0.2.190.sha256sum] = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" SRC_URI[no-panic-0.1.37.sha256sum] = "fc80370b4544f28ffa317e3c3474ee3ecbfe269196c01ae657d9f837a7d944a1" SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" -SRC_URI[pyo3-build-config-0.28.3.sha256sum] = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e" -SRC_URI[pyo3-ffi-0.28.3.sha256sum] = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e" +SRC_URI[pyo3-build-config-0.29.3.sha256sum] = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb" +SRC_URI[pyo3-ffi-0.29.3.sha256sum] = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330" SRC_URI[quote-1.0.47.sha256sum] = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" SRC_URI[shlex-2.0.1.sha256sum] = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" -SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +SRC_URI[syn-3.0.6.sha256sum] = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" -SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" +SRC_URI[unicode-ident-1.0.26.sha256sum] = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" SRC_URI[unwinding-0.2.10.sha256sum] = "4b134ada16dda9e435abe2a6d76a01d497bc60707357845a15f9b0ed42dc88ce" -SRC_URI[xxhash-rust-0.8.18.sha256sum] = "aee1b19627c7c60102ab80d3a9cbe18de90bfe03bfa6c3715447681f0e8c8af6" +SRC_URI[xxhash-rust-0.8.19.sha256sum] = "550a2b930b62486a393c52d5c3b84bff264b28aa437ed64694d31e93b1757af7" SRC_URI[zmij-1.0.23.sha256sum] = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch +1 -4
@@ -1,4 +1,4 @@ -From c5c46664a914d3a7f048c51c3b9c2ab13e21ed1b Mon Sep 17 00:00:00 2001 +From a2acfc8ab636148cc9a2ba81ee03698703154ff0 Mon Sep 17 00:00:00 2001 From: Tim Orling <[email protected]> Date: Thu, 29 Jan 2026 09:59:55 -0800 Subject: [PATCH] Guard avx512 module with x86 target cfg
@@ -32,6 +32,3 @@ index e4c7697..46450ac 100644 #[target_feature(enable = "avx512f,avx512bw,avx512vl,bmi2")] pub(crate) unsafe fn create_str_impl_avx512vl(buf: &str) -> *mut crate::ffi::PyObject { unsafe { --- -2.39.5 -
meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch +4 -7
@@ -1,7 +1,7 @@ -From 7ef16220caaa82f7a90047c8c9b5ff2eeb15b9ce Mon Sep 17 00:00:00 2001 +From 00ea35a6fa570e449f3023322f112b3e1f700fea Mon Sep 17 00:00:00 2001 From: Tim Orling <[email protected]> Date: Thu, 29 Jan 2026 10:22:31 -0800 -Subject: [PATCH 2/2] Guard x86 feature detection macro in pystrref/object.rs +Subject: [PATCH] Guard x86 feature detection macro in pystrref/object.rs The std::is_x86_feature_detected! macro only works on x86/x86_64 targets. This patch wraps the feature detection and AVX-512 code path
@@ -18,10 +18,10 @@ Signed-off-by: Tim Orling <[email protected]> 1 file changed, 1 insertion(+) diff --git a/src/ffi/pystrref/object.rs b/src/ffi/pystrref/object.rs -index 9ef12eb..7c2c046 100644 +index 69069fa..ba0bbe1 100644 --- a/src/ffi/pystrref/object.rs +++ b/src/ffi/pystrref/object.rs -@@ -29,6 +29,7 @@ static mut STR_CREATE_FN: StrDeserializer = super::scalar::str_impl_kind_scalar; +@@ -32,6 +32,7 @@ static mut STR_CREATE_FN: StrDeserializer = super::scalar::str_impl_kind_scalar; pub fn set_str_create_fn() { unsafe {
@@ -29,6 +29,3 @@ index 9ef12eb..7c2c046 100644 #[cfg(all(CPython, feature = "avx512"))] if std::is_x86_feature_detected!("avx512vl") { STR_CREATE_FN = super::avx512::create_str_impl_avx512vl; --- -2.39.5 -
meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb renamed from meta-python/recipes-devtools/python/python3-orjson_3.12.0.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/orjson/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" -SRCREV = "6737895a1a4e3e26df0569a40147893a786f9a58" +SRCREV = "bd00937c5c46ab20eb5d7fe1cfc034b906c4578f" PYPI_SRC_URI = "git://github.com/ijl/orjson;protocol=https;branch=master;tag=${PV};destsuffix=orjson-${PV}" CVE_PRODUCT = "orjson"
Signature · 1 line
2.56.0
PATCH 9/13 python3-pydantic-core: upgrade 2.46.5 -> 2.50.1
In reply to Thomas Roospydantic 2.14.1 pins pydantic-core 2.50.1; with 2.46.5, "import pydantic" raises SystemError because the versions do not match.
Refresh 0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch and regenerate python3-pydantic-core-crates.inc with bitbake -c update_crates.
AI-Generated: Claude Code, Claude Opus 5.5
---
.../python/python3-pydantic-core-crates.inc | 88 +++++++++----------
...toml-Update-bitvec-to-use-radium-1.x.patch | 14 +--
...6.5.bb => python3-pydantic-core_2.50.1.bb} | 2 +-
3 files changed, 48 insertions(+), 56 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pydantic-core_2.46.5.bb => python3-pydantic-core_2.50.1.bb} (94%)meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc +40 -48
@@ -4,22 +4,19 @@ SRC_URI += " \ crate://crates.io/ahash/0.8.12 \ crate://crates.io/aho-corasick/1.1.3 \ - crate://crates.io/allocator-api2/0.2.21 \ crate://crates.io/autocfg/1.3.0 \ - crate://crates.io/base64/0.22.1 \ + crate://crates.io/base64/0.23.1 \ crate://crates.io/bitflags/2.9.1 \ crate://crates.io/bitvec/1.0.1 \ crate://crates.io/bumpalo/3.19.0 \ - crate://crates.io/cc/1.0.101 \ crate://crates.io/cfg-if/1.0.0 \ crate://crates.io/displaydoc/0.2.5 \ crate://crates.io/enum_dispatch/0.3.13 \ - crate://crates.io/equivalent/1.0.2 \ crate://crates.io/foldhash/0.2.0 \ crate://crates.io/form_urlencoded/1.2.2 \ crate://crates.io/funty/2.0.0 \ crate://crates.io/getrandom/0.3.3 \ - crate://crates.io/hashbrown/0.16.1 \ + crate://crates.io/hashbrown/0.17.1 \ crate://crates.io/heck/0.5.0 \ crate://crates.io/hex/0.4.3 \ crate://crates.io/icu_collections/1.5.0 \
@@ -35,7 +32,7 @@ SRC_URI += " \ crate://crates.io/idna/1.1.0 \ crate://crates.io/idna_adapter/1.2.0 \ crate://crates.io/itoa/1.0.11 \ - crate://crates.io/jiter/0.14.0 \ + crate://crates.io/jiter/0.16.0 \ crate://crates.io/js-sys/0.3.77 \ crate://crates.io/lexical-parse-float/1.0.5 \ crate://crates.io/lexical-parse-integer/1.0.5 \
@@ -43,7 +40,7 @@ SRC_URI += " \ crate://crates.io/libc/0.2.185 \ crate://crates.io/litemap/0.7.3 \ crate://crates.io/log/0.4.27 \ - crate://crates.io/lru/0.16.3 \ + crate://crates.io/lru/0.18.5 \ crate://crates.io/memchr/2.7.4 \ crate://crates.io/num-bigint/0.4.6 \ crate://crates.io/num-integer/0.1.46 \
@@ -51,31 +48,30 @@ SRC_URI += " \ crate://crates.io/once_cell/1.21.3 \ crate://crates.io/percent-encoding/2.3.2 \ crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.86 \ - crate://crates.io/pyo3/0.28.3 \ - crate://crates.io/pyo3-build-config/0.28.3 \ - crate://crates.io/pyo3-ffi/0.28.3 \ - crate://crates.io/pyo3-macros/0.28.3 \ - crate://crates.io/pyo3-macros-backend/0.28.3 \ - crate://crates.io/python3-dll-a/0.2.14 \ + crate://crates.io/proc-macro2/1.0.107 \ + crate://crates.io/pyo3/0.29.2 \ + crate://crates.io/pyo3-build-config/0.29.2 \ + crate://crates.io/pyo3-ffi/0.29.2 \ + crate://crates.io/pyo3-macros/0.29.2 \ + crate://crates.io/pyo3-macros-backend/0.29.2 \ crate://crates.io/quote/1.0.44 \ crate://crates.io/r-efi/5.2.0 \ crate://crates.io/radium/1.1.0 \ - crate://crates.io/regex/1.12.3 \ - crate://crates.io/regex-automata/0.4.13 \ - crate://crates.io/regex-syntax/0.8.5 \ - crate://crates.io/rustversion/1.0.17 \ - crate://crates.io/serde/1.0.228 \ - crate://crates.io/serde_core/1.0.228 \ - crate://crates.io/serde_derive/1.0.228 \ - crate://crates.io/serde_json/1.0.149 \ - crate://crates.io/smallvec/1.15.1 \ + crate://crates.io/regex/1.13.1 \ + crate://crates.io/regex-automata/0.4.18 \ + crate://crates.io/regex-syntax/0.8.11 \ + crate://crates.io/serde/1.0.229 \ + crate://crates.io/serde_core/1.0.229 \ + crate://crates.io/serde_derive/1.0.229 \ + crate://crates.io/serde_json/1.0.151 \ + crate://crates.io/smallvec/1.16.2 \ crate://crates.io/speedate/0.17.0 \ crate://crates.io/stable_deref_trait/1.2.0 \ crate://crates.io/static_assertions/1.1.0 \ crate://crates.io/strum/0.27.2 \ crate://crates.io/strum_macros/0.27.2 \ crate://crates.io/syn/2.0.82 \ + crate://crates.io/syn/3.0.6 \ crate://crates.io/synstructure/0.13.1 \ crate://crates.io/tap/1.0.1 \ crate://crates.io/target-lexicon/0.13.4 \
@@ -84,7 +80,7 @@ SRC_URI += " \ crate://crates.io/url/2.5.8 \ crate://crates.io/utf16_iter/1.0.5 \ crate://crates.io/utf8_iter/1.0.4 \ - crate://crates.io/uuid/1.23.0 \ + crate://crates.io/uuid/1.23.4 \ crate://crates.io/version_check/0.9.5 \ crate://crates.io/wasi/0.14.2+wasi-0.2.4 \ crate://crates.io/wasm-bindgen/0.2.100 \
@@ -109,22 +105,19 @@ SRC_URI += " \ SRC_URI[ahash-0.8.12.sha256sum] = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" -SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[base64-0.23.1.sha256sum] = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" SRC_URI[bitvec-1.0.1.sha256sum] = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" SRC_URI[bumpalo-3.19.0.sha256sum] = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" -SRC_URI[cc-1.0.101.sha256sum] = "ac367972e516d45567c7eafc73d24e1c193dcf200a8d94e9db7b3d38b349572d" SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" SRC_URI[enum_dispatch-0.3.13.sha256sum] = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" -SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" SRC_URI[foldhash-0.2.0.sha256sum] = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" SRC_URI[form_urlencoded-1.2.2.sha256sum] = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" -SRC_URI[hashbrown-0.16.1.sha256sum] = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +SRC_URI[hashbrown-0.17.1.sha256sum] = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" SRC_URI[icu_collections-1.5.0.sha256sum] = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
@@ -140,7 +133,7 @@ SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a SRC_URI[idna-1.1.0.sha256sum] = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" SRC_URI[idna_adapter-1.2.0.sha256sum] = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" -SRC_URI[jiter-0.14.0.sha256sum] = "b6f3b5d3f84b36f4ad09fd1da896d23d9852a1aa86556578dd0289f43dce311d" +SRC_URI[jiter-0.16.0.sha256sum] = "820ddcacd75c9782308d3fa594f3885630ea3f49adba78a8a29abdfe4b81630c" SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" SRC_URI[lexical-parse-float-1.0.5.sha256sum] = "de6f9cb01fb0b08060209a057c048fcbab8717b4c1ecd2eac66ebfe39a65b0f2" SRC_URI[lexical-parse-integer-1.0.5.sha256sum] = "72207aae22fc0a121ba7b6d479e42cbfea549af1479c3f3a4f12c70dd66df12e"
@@ -148,7 +141,7 @@ SRC_URI[lexical-util-1.0.6.sha256sum] = "5a82e24bf537fd24c177ffbbdc6ebcc8d54732c SRC_URI[libc-0.2.185.sha256sum] = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" SRC_URI[litemap-0.7.3.sha256sum] = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" -SRC_URI[lru-0.16.3.sha256sum] = "a1dc47f592c06f33f8e3aea9591776ec7c9f9e4124778ff8a3c3b87159f7e593" +SRC_URI[lru-0.18.5.sha256sum] = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
@@ -156,31 +149,30 @@ SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0 SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" SRC_URI[percent-encoding-2.3.2.sha256sum] = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -SRC_URI[pyo3-0.28.3.sha256sum] = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12" -SRC_URI[pyo3-build-config-0.28.3.sha256sum] = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e" -SRC_URI[pyo3-ffi-0.28.3.sha256sum] = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e" -SRC_URI[pyo3-macros-0.28.3.sha256sum] = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813" -SRC_URI[pyo3-macros-backend-0.28.3.sha256sum] = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb" -SRC_URI[python3-dll-a-0.2.14.sha256sum] = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8" +SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +SRC_URI[pyo3-0.29.2.sha256sum] = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b" +SRC_URI[pyo3-build-config-0.29.2.sha256sum] = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9" +SRC_URI[pyo3-ffi-0.29.2.sha256sum] = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327" +SRC_URI[pyo3-macros-0.29.2.sha256sum] = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c" +SRC_URI[pyo3-macros-backend-0.29.2.sha256sum] = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952" SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" SRC_URI[radium-1.1.0.sha256sum] = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" -SRC_URI[regex-1.12.3.sha256sum] = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" -SRC_URI[regex-automata-0.4.13.sha256sum] = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" -SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" -SRC_URI[serde-1.0.228.sha256sum] = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" -SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" -SRC_URI[serde_json-1.0.149.sha256sum] = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" -SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +SRC_URI[regex-1.13.1.sha256sum] = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +SRC_URI[regex-automata-0.4.18.sha256sum] = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +SRC_URI[regex-syntax-0.8.11.sha256sum] = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +SRC_URI[serde-1.0.229.sha256sum] = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +SRC_URI[serde_core-1.0.229.sha256sum] = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +SRC_URI[serde_derive-1.0.229.sha256sum] = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +SRC_URI[serde_json-1.0.151.sha256sum] = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +SRC_URI[smallvec-1.16.2.sha256sum] = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e" SRC_URI[speedate-0.17.0.sha256sum] = "aba069c070b5e213f2a094deb7e5ed50ecb092be36102a4f4042e8d2056d060e" SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" SRC_URI[strum-0.27.2.sha256sum] = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" SRC_URI[strum_macros-0.27.2.sha256sum] = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" SRC_URI[syn-2.0.82.sha256sum] = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" +SRC_URI[syn-3.0.6.sha256sum] = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" SRC_URI[target-lexicon-0.13.4.sha256sum] = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
@@ -189,7 +181,7 @@ SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb66163 SRC_URI[url-2.5.8.sha256sum] = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" -SRC_URI[uuid-1.23.0.sha256sum] = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" +SRC_URI[uuid-1.23.4.sha256sum] = "bf80a72845275afea99e7f2b434723d3bc7e38470fcd1c7ed39a599c73319a53" SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch +7 -7
@@ -1,4 +1,4 @@ -From d75df9ca49a825b67b53db9505b2aef2a79e3c76 Mon Sep 17 00:00:00 2001 +From bbce870c29c4c51402a39383476597438b4dfcef Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 19 Apr 2025 00:09:42 -0700 Subject: [PATCH] cargo.toml: Update bitvec to use radium 1.x
@@ -13,10 +13,10 @@ Signed-off-by: Leon Anavi <[email protected]> 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock -index 22a8524..1f97c2d 100644 +index 094919f..c33228f 100644 --- a/Cargo.lock +++ b/Cargo.lock -@@ -55,7 +55,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" +@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty",
@@ -25,7 +25,7 @@ index 22a8524..1f97c2d 100644 "tap", "wyz", ] -@@ -469,6 +469,7 @@ dependencies = [ +@@ -449,6 +449,7 @@ dependencies = [ "percent-encoding", "pyo3", "pyo3-build-config",
@@ -33,7 +33,7 @@ index 22a8524..1f97c2d 100644 "regex", "serde", "serde_json", -@@ -569,9 +570,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +@@ -538,9 +539,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" [[package]] name = "radium"
@@ -49,7 +49,7 @@ index 22a8524..1f97c2d 100644 [[package]] name = "regex" diff --git a/Cargo.toml b/Cargo.toml -index dd453c5..d120608 100644 +index 0d1d5a4..d3da0ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,8 @@ include = [
@@ -60,4 +60,4 @@ index dd453c5..d120608 100644 +radium = "1" # TODO it would be very nice to remove the "py-clone" feature as it can panic, # but needs a bit of work to make sure it's not used in the codebase - pyo3 = { version = "0.28", features = ["generate-import-lib", "num-bigint", "py-clone", "smallvec"] } + pyo3 = { version = "0.29.2", features = ["num-bigint", "py-clone", "smallvec"] }
meta-python/recipes-devtools/python/python3-pydantic-core_2.50.1.bb renamed from meta-python/recipes-devtools/python/python3-pydantic-core_2.46.5.bb +1 -1
@@ -13,7 +13,7 @@ require ${BPN}-crates.inc SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" SRC_URI += "file://atomic.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/radium-1.1.0/" SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" -SRC_URI[sha256sum] = "10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc" +SRC_URI[sha256sum] = "e50d7b94baac6c7d09927fa5ca5800a0c7ee5015c7fcff65beb3a1931b5a6e09" DEPENDS = "python3-maturin-native python3-typing-extensions"
Signature · 1 line
2.56.0
PATCH 10/13 python3-pydantic: upgrade 2.13.5 -> 2.14.1
In reply to Thomas RoosHome Assistant 2026.11 pins pydantic 2.14.1 in its test requirements and package constraints. Upgraded together with python3-pydantic-core 2.50.1, which it pins.
AI-Generated: Claude Code, Claude Opus 5.5
---
.../{python3-pydantic_2.13.5.bb => python3-pydantic_2.14.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.5.bb => python3-pydantic_2.14.1.bb} (98%)meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit python_hatchling ptest-python-pytest -SRCREV = "001dea020e0809844e5b17666432c9135a976f46" +SRCREV = "b2212c787fb5c73386dc770681ec49cd09da8e73" SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v${@oe.utils.trim_version('${PV}', 2)}-fixes;tag=v${PV}" DEPENDS += "python3-hatch-fancy-pypi-readme-native"
Signature · 1 line
2.56.0
PATCH 11/13 python3-proto-plus: add recipe
In reply to Thomas Roospython3-google-api-core 2.x requires proto-plus. A recipe for 1.27.1 exists in meta-python-ai, but meta-python cannot depend on that layer.
Only protobuf is a runtime dependency; google-api-core is needed by the test suite only.
AI-Generated: Claude Code, Claude Opus 5.5
--- .../python/python3-proto-plus_1.29.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb
meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "Beautiful, Pythonic protocol buffers" +DESCRIPTION = "Proto Plus provides a Pythonic wrapper around protocol buffers. \ + Messages behave like native Python types, which makes them easier to \ + construct, read and serialize." +HOMEPAGE = "https://github.com/googleapis/google-cloud-python/tree/main/packages/proto-plus" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "cfb4e62ad7e13dd18f346cabbda00cab39930d36a05791fd81ddb074d6ee884f" + +RDEPENDS:${PN} += "python3-protobuf" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.56.0
PATCH 12/13 python3-googleapis-common-protos: upgrade 1.63.2 -> 1.76.0
In reply to Thomas Roos1.63.2 declares protobuf < 6, while meta-python provides 7.36. The new release accepts protobuf < 8. Needed by the google-api-core upgrade.
The package is built with setuptools.build_meta now. The sdist on PyPI was renamed from googleapis-common-protos-1.63.2.tar.gz to googleapis_common_protos-1.76.0.tar.gz; the underscore form is the pypi.bbclass default, so PYPI_PACKAGE_SDIST, which pointed at the old name, is dropped.
AI-Generated: Claude Code, Claude Opus 5.5
---
...1.63.2.bb => python3-googleapis-common-protos_1.76.0.bb} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
rename meta-python/recipes-devtools/python/{python3-googleapis-common-protos_1.63.2.bb => python3-googleapis-common-protos_1.76.0.bb} (63%)meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.76.0.bb renamed from meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb +2 -4
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/googleapis/python-api-common-protos" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -PYPI_PACKAGE_SDIST = "googleapis-common-protos" - -SRC_URI[sha256sum] = "27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87" +SRC_URI[sha256sum] = "71db0e44a1d4c2dd024ebad44ca67129cc1e2892e4861df466764749d5ef8642" RDEPENDS:${PN} += "\ python3-grpcio \
Signature · 1 line
2.56.0
PATCH 13/13 python3-google-api-core: upgrade 2.19.1 -> 2.44.0
In reply to Thomas Roos2.19.1 declares protobuf < 6, while meta-python provides 7.36, and google-cloud-pubsub 2.39.2, which Home Assistant 2026.11 uses, requires google-api-core >= 2.25.0.
New runtime dependencies: proto-plus and opentelemetry-api. pytz is no longer used. The package is built with setuptools.build_meta now. The sdist on PyPI was renamed from google-api-core-2.19.1.tar.gz to google_api_core-2.44.0.tar.gz; the underscore form is the pypi.bbclass default, so PYPI_PACKAGE_SDIST, which pointed at the old name, is dropped.
AI-Generated: Claude Code, Claude Opus 5.5
---
...-core_2.19.1.bb => python3-google-api-core_2.44.0.bb} | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
rename meta-python/recipes-devtools/python/{python3-google-api-core_2.19.1.bb => python3-google-api-core_2.44.0.bb} (71%)meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb renamed from meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb +4 -5
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/googleapis/python-api-core" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -PYPI_PACKAGE_SDIST = "google-api-core" - -SRC_URI[sha256sum] = "f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd" +SRC_URI[sha256sum] = "5ab9a396965c1227d7dea4581e562b7018aa2bca96d2de0be5eb70dc9c8ab3a1" RDEPENDS:${PN} += "\ python3-asyncio \
@@ -20,7 +18,8 @@ RDEPENDS:${PN} += "\ python3-googleapis-common-protos \ python3-google-auth \ python3-grpcio \ + python3-opentelemetry-api \ + python3-proto-plus \ python3-protobuf \ - python3-pytz \ python3-requests \ "
Signature · 1 line
2.56.0