Package: python-cryptography
Version: 43.0.0-2
Severity: serious
Tags: patch, ftbfs

python-cryptography cannot be built in sid (and soon trixie) due to
an overly strict Debian build-dependency for the cc crate (the
upstream cargo dependency is fine).

A debdiff fixing this is attached.
diff -Nru python-cryptography-43.0.0/debian/changelog 
python-cryptography-43.0.0/debian/changelog
--- python-cryptography-43.0.0/debian/changelog 2025-03-28 20:20:16.000000000 
+0000
+++ python-cryptography-43.0.0/debian/changelog 2025-04-24 21:13:03.000000000 
+0000
@@ -1,3 +1,10 @@
+python-cryptography (43.0.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix overly strict build-dependency for cc crate.
+
+ -- Peter Michael Green <plugw...@debian.org>  Thu, 24 Apr 2025 21:13:03 +0000
+
 python-cryptography (43.0.0-2) unstable; urgency=medium
 
   * Restore B-D: python3-setuptools (Closes: #1100262).
diff -Nru python-cryptography-43.0.0/debian/control 
python-cryptography-43.0.0/debian/control
--- python-cryptography-43.0.0/debian/control   2025-03-28 20:20:16.000000000 
+0000
+++ python-cryptography-43.0.0/debian/control   2025-04-24 21:12:53.000000000 
+0000
@@ -8,7 +8,7 @@
                debhelper-compat (= 13),
                dh-sequence-python3,
                librust-asn1-0.20-dev,
-               librust-cc-1.1-dev,
+               librust-cc-1-dev (>= 1.1.6~),
                librust-cfg-if-dev,
                librust-foreign-types-0.3-dev,
                librust-foreign-types-shared-0.1-dev,

Reply via email to