Skip to content

Fix python3-pydantic-* situation

[email protected] openembedded-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6python3-pydantic: upgrade 2.7.0 -> 2.7.1meta-python/recipes-devtools/python/python3-pydantic_2.7.1.bb+1 -10 replies
2/6python3-pydantic: Upgrade to 2.7.3meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb+1 -10 replies
3/6python3-pydantic-core: fix incompatible versionmeta-python/recipes-devtools/python/python3-pydantic-core-crates.inc meta-python/recipes-devtools/python/python3-pydantic-core/0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch meta-python/recipes-devtools/python/python3-pydantic-core/0001-Fix-generate_self_schema-for-Python-3.12-1299.patch +2 more+82 -2010 replies
4/6python3-pydantic: upgrade 2.7.3 -> 2.7.4meta-python/recipes-devtools/python/python3-pydantic_2.7.4.bb+1 -10 replies
5/6python3-pydantic-core: fix TMPDIR path referencemeta-python/recipes-devtools/python/python3-pydantic-core/0002-Dont-embed-RUSTFLAGS-in-final-binary.patch meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb+49 -20 replies
6/6python3-pydantic-core: add missing RDEPENDS for ptestmeta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [scarthgap][meta-python][PATCH 0/6] Fix python3-pydantic-* situation

From: Tim Orling <[email protected]>

Unfortunately, python3-pydantic upgrades without required upgrades to python3-pydantic-core were merged into "master" (Styhead) which left "scarthgap" in a broken situation.

This series first attempts to take backports from "master" (Styhead) and secondarily takes patches already sent to the mailing list that were never merged. The goal is to bring as much as possible to the same functional state as "master" when python3-pydantic-core 2.18.4 was merged.

Additional fixes for TMPDIR [build-paths] and ptest are also added from the mailing list.

Finally, we upgrade to the last python3-pydantic 2.7.x version, 2.7.4, for bug fixes.

A big thank you to:
* Frank de Brabander <[email protected]> for helping to follow through with upstream for the TMPDIR fix and simplifying the ptest RDEPENDS for scarthgap.
* Richard Leitner <[email protected]> for tirelessly trying to move this fix forward

The following changes since commit 2338409efc51cf2022ff5610a9fb689251706e2b:

python3-pydantic-core: Fix build with python 3.12.4 (2024-08-03 12:25:17 -0400)

are available in the Git repository at:

https://git.openembedded.org/meta-openembedded-contrib timo/scarthgap/python3-pydantic
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/scarthgap/python3-pydantic

Frank de Brabander (3):
python3-pydantic-core: fix incompatible version
python3-pydantic-core: fix TMPDIR path reference
python3-pydantic-core: add missing RDEPENDS for ptest

Khem Raj (1):
python3-pydantic: Upgrade to 2.7.3

Tim Orling (1):
python3-pydantic: upgrade 2.7.3 -> 2.7.4

Wang Mingyu (1):
python3-pydantic: upgrade 2.7.0 -> 2.7.1

 .../python/python3-pydantic-core-crates.inc   |  88 ++++++------
 ...-github.com-pyo3-pyo3-from-0.20.2-to.patch | 126 ------------------
 ...ate_self_schema-for-Python-3.12-1299.patch |  29 ----
 ...sion-from-1.76-to-1.75-in-Cargo.toml.patch |  29 ++++
 ...Dont-embed-RUSTFLAGS-in-final-binary.patch |  47 +++++++
 ...6.3.bb => python3-pydantic-core_2.18.4.bb} |  13 +-
 ...tic_2.7.0.bb => python3-pydantic_2.7.4.bb} |   2 +-
 7 files changed, 132 insertions(+), 202 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch
 delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/0001-Fix-generate_self_schema-for-Python-3.12-1299.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/0001-Set-rust-version-from-1.76-to-1.75-in-Cargo.toml.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/0002-Dont-embed-RUSTFLAGS-in-final-binary.patch
 rename meta-python/recipes-devtools/python/{python3-pydantic-core_2.16.3.bb => python3-pydantic-core_2.18.4.bb} (80%)
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.7.0.bb => python3-pydantic_2.7.4.bb} (95%)
Signature · 1 line
2.46.0