meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch
Leon Anavi 80d071ba7e
python3-pydantic-core: Upgrade 2.41.1 -> 2.41.5
Upgrade to release 2.41.5:

- Correct invalid serialization of date/datetime/time/timedelta
  by pulling downcast checks up
- Avoid getting default values from defaultdict
- ci: add more 3.14t builds, delete duplicate linux aarch64 build
- JsonValue: Deduplicate keys before populating Dict
- Fix: only percent-encode characters in the userinfo encode set
- Bump jiter from 0.11.0 to 0.11.1
- Bump regex from 1.11.3 to 1.12.2
- Bump percent-encoding from 2.3.1 to 2.3.2
- Fix issue with field_serializers on nested typed dicts
- Clean up GC traversal for some top-level types
- Add type inference for serializing ip address types
- Revert url credential encoding (to be reintroduced as an option
  in future)
- optimizations in URL implementation

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 10:30:33 -08:00

65 lines
1.9 KiB
Diff

From 1f0eaed9473f2a60f4a4e2dd95e376cebc0112d9 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
Upstream-Status: Submitted [https://github.com/ferrilab/bitvec/pull/220]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
Cargo.lock | 12 +++++++++++-
Cargo.toml | 2 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/Cargo.lock b/Cargo.lock
index 1a7c8ea..3d5eafe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
dependencies = [
"funty",
- "radium",
+ "radium 1.1.0",
"tap",
"wyz",
]
@@ -444,6 +444,7 @@ dependencies = [
"percent-encoding",
"pyo3",
"pyo3-build-config",
+ "radium 1.1.0",
"regex",
"serde",
"serde_json",
@@ -549,6 +550,15 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
+[[package]]
+name = "radium"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c"
+dependencies = [
+ "cfg-if",
+]
+
[[package]]
name = "regex"
version = "1.12.2"
diff --git a/Cargo.toml b/Cargo.toml
index a7e86ab..09eaf64 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.26", features = ["generate-import-lib", "num-bigint", "py-clone"] }