python3-pydantic-core: Upgrade 2.46.4 -> 2.46.5
PATCH 1/2 python3-pydantic-core: Upgrade 2.46.4 -> 2.46.5
Upgrade to release 2.46.5 and keep all crates encapsulated in file python3-pydantic-core-crates.inc. Drop the patch that enables getrandom on all musl platforms because it has been merged in the upstrea.
Release 2.46.5 brings the following changes:
- Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
- Fix missing GC traversal on some pydantic-core struct fields
- Count validated model fields once in smart unions
This work was sponsored by GOVCERT.LU.
--- .../python/python3-pydantic-core-crates.inc | 23 +-- ...toml-Update-bitvec-to-use-radium-1.x.patch | 9 +- ...able-getrandom-on-all-musl-platforms.patch | 81 --------- .../python/python3-pydantic-core_2.46.4.bb | 154 ------------------ .../python/python3-pydantic-core_2.46.5.bb | 51 ++++++ 5 files changed, 56 insertions(+), 262 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core_2.46.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core_2.46.5.bb
meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc +2 -21
@@ -60,7 +60,7 @@ SRC_URI += " \ crate://crates.io/python3-dll-a/0.2.14 \ crate://crates.io/quote/1.0.44 \ crate://crates.io/r-efi/5.2.0 \ - crate://crates.io/radium/0.7.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 \
@@ -165,7 +165,7 @@ SRC_URI[pyo3-macros-backend-0.28.3.sha256sum] = "c4cdc218d835738f81c2338f822078a SRC_URI[python3-dll-a-0.2.14.sha256sum] = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8" SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" -SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" +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"
@@ -210,22 +210,3 @@ SRC_URI[zerofrom-derive-0.1.4.sha256sum] = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3 SRC_URI[zerovec-0.10.4.sha256sum] = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" SRC_URI[zerovec-derive-0.10.3.sha256sum] = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" SRC_URI[zmij-1.0.6.sha256sum] = "aac060176f7020d62c3bcc1cdbcec619d54f48b07ad1963a3f80ce7a0c17755f" -SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" -SRC_URI[jiter-0.11.1.sha256sum] = "8e805fb15a8249d25213202b9098f7b9ad00f8042ccc6f0063d2ae7b33f3d7da" -SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -SRC_URI[pyo3-0.26.0.sha256sum] = "7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383" -SRC_URI[pyo3-build-config-0.26.0.sha256sum] = "4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f" -SRC_URI[pyo3-ffi-0.26.0.sha256sum] = "025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105" -SRC_URI[pyo3-macros-0.26.0.sha256sum] = "2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded" -SRC_URI[pyo3-macros-backend-0.26.0.sha256sum] = "100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf" -SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -SRC_URI[radium-1.1.0.sha256sum] = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" -SRC_URI[regex-1.12.2.sha256sum] = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" -SRC_URI[serde_json-1.0.145.sha256sum] = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" -SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" -SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" -SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" -SRC_URI[uuid-1.18.1.sha256sum] = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch +3 -6
@@ -1,4 +1,4 @@ -From ca6400743a86fa334936d9984dcd40e90bb06e60 Mon Sep 17 00:00:00 2001 +From d75df9ca49a825b67b53db9505b2aef2a79e3c76 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,7 +13,7 @@ Signed-off-by: Leon Anavi <[email protected]> 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock -index 6f26c8a..91ceade 100644 +index 22a8524..1f97c2d 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 @@ index 6f26c8a..91ceade 100644 [[package]] name = "regex" diff --git a/Cargo.toml b/Cargo.toml -index 1fb5dcc..4949c8a 100644 +index dd453c5..d120608 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,8 @@ include = [
@@ -61,6 +61,3 @@ index 1fb5dcc..4949c8a 100644 # 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"] } --- -2.47.3 -
meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch deleted +0 -81
81 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pydantic-core_2.46.4.bb deleted +0 -154
154 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pydantic-core_2.46.5.bb new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH 2/2 python3-pydantic: Upgrade 2.13.4 -> 2.13.5
Upgrade to release 2.13.5:
- Allow reuse of validators when plugins are set
- Fix missing GC traversal on some pydantic-core struct fields
- Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
- Count validated model fields once in smart unions
This work was sponsored by GOVCERT.LU.
---
.../{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} (98%)meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit python_hatchling ptest-python-pytest -SRCREV = "cf67d4b3193c3fe43ede18612ed62785eee11382" +SRCREV = "001dea020e0809844e5b17666432c9135a976f46" PV .= "+git" SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes" DEPENDS += "python3-hatch-fancy-pypi-readme-native"
Signature · 1 line
2.47.3
Re: [oe] [meta-python][PATCH 2/2] python3-pydantic: Upgrade 2.13.4 -> 2.13.5
Quoted 25 lines · Leon Anavi via lists.openembedded.org
Upgrade to release 2.13.5:
- Allow reuse of validators when plugins are set
- Fix missing GC traversal on some pydantic-core struct fields
- Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
- Count validated model fields once in smart unionsThis work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi <[email protected]>--- .../{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} (98%)meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" · line 15
Quoted 6 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +1
-1@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit python_hatchling ptest-python-pytest -SRCREV = "cf67d4b3193c3fe43ede18612ed62785eee11382" +SRCREV = "001dea020e0809844e5b17666432c9135a976f46" PV .= "+git"
no need to set PV
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" · line 16
Quoted 1 line
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes"
can please include tag=v${PV} in the SRC_URI
Quoted 13 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-1DEPENDS += "python3-hatch-fancy-pypi-readme-native" --2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#130285): https://lists.openembedded.org/g/openembedded-devel/message/130285
Mute This Topic: https://lists.openembedded.org/mt/121408815/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 2/2] python3-pydantic: Upgrade 2.13.4 -> 2.13.5
Hi Ankur,
Quoted 27 lines · Ankur Tyagi
Quoted 25 lines · Leon Anavi via lists.openembedded.org
Upgrade to release 2.13.5:
- Allow reuse of validators when plugins are set
- Fix missing GC traversal on some pydantic-core struct fields
- Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
- Count validated model fields once in smart unionsThis work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi <[email protected]>--- .../{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} (98%)
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
Quoted 6 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" · line 15
Quoted 5 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +1
-1inherit python_hatchling ptest-python-pytest -SRCREV = "cf67d4b3193c3fe43ede18612ed62785eee11382" +SRCREV = "001dea020e0809844e5b17666432c9135a976f46" PV .= "+git"no need to set PV
OK, thank you for the code review. I removed it.
Quoted 3 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" · line 16
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes"can please include tag=v${PV} in the
SRC_URI
OK, but in this case with oe.utils.trim_version.
I have just sent v2 of the patch.
Best regards, Leon
Quoted 14 lines
Quoted 14 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-1DEPENDS += "python3-hatch-fancy-pypi-readme-native" --2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#130285): https://lists.openembedded.org/g/openembedded-devel/message/130285
Mute This Topic: https://lists.openembedded.org/mt/121408815/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 2/2] python3-pydantic: Upgrade 2.13.4 -> 2.13.5
Quoted 47 lines · Leon Anavi via lists.openembedded.org
Hi Ankur,
Quoted 10 lines · Ankur Tyagi
Quoted 8 lines · Leon Anavi via lists.openembedded.org
Upgrade to release 2.13.5:
- Allow reuse of validators when plugins are set
- Fix missing GC traversal on some pydantic-core struct fields
- Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
- Count validated model fields once in smart unionsQuoted 5 lines
Quoted 5 lines
This work was sponsored by GOVCERT.LU.
Signed-off-by Leon Anavi <[email protected]>--- .../{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} | 2+- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> rename meta-python/recipes-devtools/python/{python3-pydantic_2.13.4.bb => python3-pydantic_2.13.5.bb} (98%)
Quoted 2 lines
Review
Quoted 2 lines
(quoted diff) +0
-0python3-pydantic_2.13.4.bb b/meta-python/recipes-devtools/python/ python3-pydantic_2.13.5.bb
Quoted 2 lines
Quoted 2 lines
similarity index 98%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb
Quoted 1 line
Quoted 1 line
rename to meta-python/recipes-devtools/python/
python3-pydantic_2.13.5.bb
Quoted 4 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM =
Quoted 4 lines
index
17a6941d14..7c5dcdcb26100644meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM ="file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
Quoted 7 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" · line 15
Quoted 6 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +1
-1inherit python_hatchling ptest-python-pytest -SRCREV = "cf67d4b3193c3fe43ede18612ed62785eee11382" +SRCREV = "001dea020e0809844e5b17666432c9135a976f46" PV .= "+git"no need to set PV
OK, thank you for the code review. I removed it.
Quoted 1 line
Quoted 8 lines
Quoted 1 line
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb LIC_FILES_CHKSUM = · line 15
Quoted 1 line
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-0SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes"
Quoted 1 line
can please include tag=v${PV} in the
SRC_URIOK, but in this case with oe.utils.trim_version.
I have just sent v2 of the patch.
I accepted v1, please send new patch with diff between v1 and v2
Quoted 23 lines
Best regards, Leon
Quoted 8 lines
Quoted 8 lines
meta-python/recipes-devtools/python/python3-pydantic_2.13.5.bb renamed from meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +0
-1DEPENDS += "python3-hatch-fancy-pypi-readme-native" --2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#130307):
https://lists.openembedded.org/g/openembedded-devel/message/130307
Mute This Topic: https://lists.openembedded.org/mt/121408815/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-