summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0001-Allow-later-versions-of-pyo3-in-Cargo.toml.patch20
-rw-r--r--debian/patches/series1
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