Hi Armin, Tim, Frank, On Sat, Jul 06, 2024 at 08:08:10PM GMT, Richard Leitner wrote: > The currently available python-3-pydantic v2.7.0 requires > python3-pydantic-core to be updated to v2.18.1. > > Removed patch: 0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to: > The pyo3 version bump patch is dropped as the pyo3 version in > python3-pydantic-core was updated to a newer one. > > Added patch: 0001-Lower-MSRV-to-1.75-1316: > This patch for lowering the MSRV to 1.75 (from 1.76) is backported to > fix the build (as scarthgap provides rust 1.75). > > Added patch: 0001-Fix-generate_self_schema-for-Python-3.12-1299: > This patch fixes following build error for python 3.12+ (which we have): > TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: > 'recursive_guard' > > Updated crate dependencies: > ahash: 0.8.7 -> 0.8.10 > enum_dispatch: 0.3.12 -> 0.3.13 > indexmap: 2.0.0 -> 2.2.2 > jiter: 0.0.6 -> 0.2.1 > pyo3: 0.20.3 -> 0.21.1 > regex: 1.10.2 -> 1.10.3 > regex-automata: 0.4.3 -> 0.4.5 > serde: 1.0.195 -> 1.0.197 > serde_derive: 1.0.195 -> 1.0.197 > serde_json: 1.0.109 -> 1.0.114 > smallvec: 1.11.2 -> 1.13.2 > speedate: 0.13.0 -> 0.14.0 > uuid: 1.6.1 -> 1.7.0 > > Added new crate dependencies: > strum_macros: 0.26.1 > > Removed crate dependencies: > allocator-api2 > lexical-core > lexical-write-float > lexical-write-integer > > Changelog: > https://github.com/pydantic/pydantic-core/releases > > Signed-off-by: Richard Leitner <d...@g0hl1n.net> > --- > .../python/python3-pydantic-core-crates.inc | 78 +++++------ > ...-github.com-pyo3-pyo3-from-0.20.2-to.patch | 126 ------------------ > ...ate_self_schema-for-Python-3.12-1299.patch | 32 +++++ > .../0001-Lower-MSRV-to-1.75-1316.patch | 25 ++++ > ...6.3.bb => python3-pydantic-core_2.18.1.bb} | 7 +- > 5 files changed, 98 insertions(+), 170 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 > create 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-Lower-MSRV-to-1.75-1316.patch > rename meta-python/recipes-devtools/python/{python3-pydantic-core_2.16.3.bb > => python3-pydantic-core_2.18.1.bb} (87%)
as bee8b9bbc (python3-pydantic-core: fix incompatible version, 2024-07-26), which updates pydantic-core to 2.18.4. got merged to master here's a friendly Ping for this patch for scarthgap. Backporting the commit from master seems not to work as pydantic 2.7.0 requires pydantic-core 2.18.1 [1]. Therefore I want to start the discussion again on how to fix this for scarthgap: a) Revert the pydantic update to 2.7.0 b) Update pydantic-core to 2.18.4 to match pydantic 2.7.0 c) Update pydantic-core and pydantic to current master's state d) any other ideas? Please see also the past discussion at [2] and the original patch at [3]. Thanks and regards; rl [1] https://github.com/pydantic/pydantic/blob/v2.7.0/pyproject.toml#L51 [2] https://lore.kernel.org/openembedded-devel/20240706180810.1707296-1-...@g0hl1n.net/ [3] https://lore.kernel.org/openembedded-devel/20240726130135.1250-1-debraban...@gmail.com/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#111481): https://lists.openembedded.org/g/openembedded-devel/message/111481 Mute This Topic: https://lists.openembedded.org/mt/107073841/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-