mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-pydantic-core: upgrade 2.34.1. -> 2.35.2
new version ptest needs module typing_inspection | ImportError while importing test module '/usr/lib/python3-pydantic-core/ptest/tests/test_misc.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | ../../python3.13/importlib/__init__.py:88: in import_module | return _bootstrap._gcd_import(name[level:], package, level) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | tests/test_misc.py:10: in <module> | from typing_inspection import typing_objects | E ModuleNotFoundError: No module named 'typing_inspection' | ERROR: tests/test_misc.py:tests/test_misc.py Changelog: ========== - update to speedate 0.16 - Better document SerializationInfo - Fix generic issues with ValidationInfo and SerializationInfo - Do not reuse validator and serializer when unpickling - Remove unnecessary required fields count when exclude_none is set - Update test dependencies after 3.8 dropped support - Mark constructor parameters of exceptions as positional-only - fix: submodel fields with wrap validator affect smart union selection - use pypa/gh-action-pypi-publish - add critical sections around bytearray reads - simplify ser-as-any mechanism - Coerce 'time' schema constraints - drop serde-json preserve_order feature - Remove core schema validation - Improve uncaught PydanticUseDefault exception message - Add support for Python 3.14 - drop pypy3.9 support, add pypy3.11 support - Add ensure_ascii option - Update repr of TzInfo - Make ValidationInfo and SerializationInfo generic for context Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 560c73cffabc1c2e66552d7c248c0928211d3dea Mon Sep 17 00:00:00 2001
|
||||
From 41fded05f38bdb8378b98be4f1dd5392a00f3d1b Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 19 Apr 2025 00:09:42 -0700
|
||||
Subject: [PATCH] cargo.toml: Update bitvec to use radium 1.x
|
||||
@@ -7,24 +7,15 @@ Upstream-Status: Submitted [https://github.com/ferrilab/bitvec/pull/220]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Cargo.lock | 25 +++++++++++++++++++++++--
|
||||
Cargo.toml | 1 +
|
||||
2 files changed, 24 insertions(+), 2 deletions(-)
|
||||
Cargo.lock | 12 +++++++++++-
|
||||
Cargo.toml | 2 ++
|
||||
2 files changed, 13 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -27,6 +27,8 @@ include = [
|
||||
rust-version = "1.75"
|
||||
|
||||
[dependencies]
|
||||
+#bitvec = { git = "https://github.com/alexanderkjall/bitvec", branch = "upgrade-radium-to-1" }
|
||||
+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.24", features = ["generate-import-lib", "num-bigint", "py-clone"] }
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index 44bdf4e..274b828 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -43,7 +43,7 @@ source = "registry+https://github.com/ru
|
||||
@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
|
||||
dependencies = [
|
||||
"funty",
|
||||
@@ -33,7 +24,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
"tap",
|
||||
"wyz",
|
||||
]
|
||||
@@ -436,6 +436,7 @@ dependencies = [
|
||||
@@ -421,6 +421,7 @@ dependencies = [
|
||||
"num-traits",
|
||||
"pyo3",
|
||||
"pyo3-build-config",
|
||||
@@ -41,10 +32,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
"regex",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -538,6 +539,15 @@ source = "registry+https://github.com/ru
|
||||
@@ -527,6 +528,15 @@ version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
||||
|
||||
[[package]]
|
||||
+[[package]]
|
||||
+name = "radium"
|
||||
+version = "1.1.0"
|
||||
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
@@ -53,7 +45,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
+ "cfg-if",
|
||||
+]
|
||||
+
|
||||
+[[package]]
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.11.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index 660e06a..7ee67d6 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -25,6 +25,8 @@ include = [
|
||||
rust-version = "1.75"
|
||||
|
||||
[dependencies]
|
||||
+#bitvec = { git = "https://github.com/alexanderkjall/bitvec", branch = "upgrade-radium-to-1" }
|
||||
+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.25", features = ["generate-import-lib", "num-bigint", "py-clone"] }
|
||||
|
||||
Reference in New Issue
Block a user