diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2025-10-12 12:42:34 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2025-11-02 00:51:39 +0000 |
| commit | 7d7a15dcd237d701a5a5a3324f816c272eb39a3c (patch) | |
| tree | b45da50ad84bd0a2fb2e4384ab5753f541545d6d | |
| parent | 7f325a7d43f8e79503a88f952aec5640e639f446 (diff) | |
Require pyo3 0.26.0
This is the version currently available in Debian.
I will need to come up with a better way of representing this, that doesn't
result in the package immediately breaking when pyo3 gets upgraded. But, for
now, it should be good enough to test with.
| -rw-r--r-- | debian/patches/0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch | 20 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch b/debian/patches/0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch new file mode 100644 index 0000000..06f0975 --- /dev/null +++ b/debian/patches/0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch @@ -0,0 +1,20 @@ +From: Matthew Fennell <matthew@fennell.dev> +Date: Sun, 12 Oct 2025 12:39:29 +0100 +Subject: Allow later versions of pyo3 in Cargo.toml + +The currently packaged version of pyo3 is 0.25.1, while Cargo.toml requires +0.18. Loosen this requirement to compile with the later version of pyo3. +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index 0813be1..76e9b7b 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -9,4 +9,4 @@ name = "slidge_style_parser" + crate-type = ["cdylib"] + + [dependencies] +-pyo3 = "0.18.1" ++pyo3 = "=0.26.0" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..5dde5de --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch |
