summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch
new file mode 100644
index 0000000000..4f2012e8a2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch
@@ -0,0 +1,59 @@
1From 560c73cffabc1c2e66552d7c248c0928211d3dea Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 19 Apr 2025 00:09:42 -0700
4Subject: [PATCH] cargo.toml: Update bitvec to use radium 1.x
5
6Upstream-Status: Submitted [https://github.com/ferrilab/bitvec/pull/220]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Cargo.lock | 25 +++++++++++++++++++++++--
11 Cargo.toml | 1 +
12 2 files changed, 24 insertions(+), 2 deletions(-)
13
14--- a/Cargo.toml
15+++ b/Cargo.toml
16@@ -27,6 +27,8 @@ include = [
17 rust-version = "1.75"
18
19 [dependencies]
20+#bitvec = { git = "https://github.com/alexanderkjall/bitvec", branch = "upgrade-radium-to-1" }
21+radium = "1"
22 # TODO it would be very nice to remove the "py-clone" feature as it can panic,
23 # but needs a bit of work to make sure it's not used in the codebase
24 pyo3 = { version = "0.24", features = ["generate-import-lib", "num-bigint", "py-clone"] }
25--- a/Cargo.lock
26+++ b/Cargo.lock
27@@ -43,7 +43,7 @@ source = "registry+https://github.com/ru
28 checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
29 dependencies = [
30 "funty",
31- "radium",
32+ "radium 1.1.0",
33 "tap",
34 "wyz",
35 ]
36@@ -436,6 +436,7 @@ dependencies = [
37 "num-traits",
38 "pyo3",
39 "pyo3-build-config",
40+ "radium 1.1.0",
41 "regex",
42 "serde",
43 "serde_json",
44@@ -538,6 +539,15 @@ source = "registry+https://github.com/ru
45 checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
46
47 [[package]]
48+name = "radium"
49+version = "1.1.0"
50+source = "registry+https://github.com/rust-lang/crates.io-index"
51+checksum = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c"
52+dependencies = [
53+ "cfg-if",
54+]
55+
56+[[package]]
57 name = "regex"
58 version = "1.11.1"
59 source = "registry+https://github.com/rust-lang/crates.io-index"