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