On Sat, Nov 28, 2026 at 08:09:41PM -0600, Simon Quigley wrote:
Here's a patch which should get python-maturin up to speed.
Thanks. I ended up redoing it myself along the same sorts of lines, but
this did save me some time investigating things.
diff -Nru python-maturin-1.16.0/debian/patches/relax-cargo-cyclonedx.patch
python-maturin-1.16.0/debian/patches/relax-cargo-cyclonedx.patch
--- python-maturin-1.16.0/debian/patches/relax-cargo-cyclonedx.patch
1969-12-31 18:00:00.000000000 -0600
+++ python-maturin-1.16.0/debian/patches/relax-cargo-cyclonedx.patch
2026-11-28 16:28:11.000000000 -0600
@@ -0,0 +1,52 @@
+Description: Build against cargo-cyclonedx 0.5.10.
+Author: Simon Quigley <[email protected]>
+Origin: vendor
For this, I don't see any reason not to take the upstream patch instead
(dropping the Cargo.lock bits):
https://github.com/PyO3/maturin/commit/c909db16c9f0838d42d79e0058b82379d47f2986
+-serial_test = { version = "3.2.0", default-features = false }
++serial_test = { version = "4", default-features = false }
To make transitions smoother, I prefer `version = ">=3.2.0,<5"`.
--
Colin Watson (he/him) [[email protected]]