Source: fiona
Version: 1.9.5-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

fiona cannot be cross built from source, because it has a number of
unsatisfiable Build-Depends. Fixing this is a longer effort, but there
is some low hanging fruit: Dependencies annotated <!nocheck> are only
used for testing and testing is usually disabled for cross builds, so
any thus annotated dependency becomes irrelevant to cross builds while
still being there for normal builds. Beware that wrong <!nocheck>
annotations are considered rc bugs since trixie. Anyway. I'm attaching a
patch to annotate those explicitly called out as test depends in
pyproject.toml and verified that skipping them does not alter the output
artifacts (via reproducible builds). Please close this bug when adding
<!nocheck> annotations even though that'll not make fiona cross
buildable.

Helmut
diff --minimal -Nru fiona-1.9.5/debian/changelog fiona-1.9.5/debian/changelog
--- fiona-1.9.5/debian/changelog        2023-10-12 05:21:02.000000000 +0200
+++ fiona-1.9.5/debian/changelog        2023-12-30 12:54:17.000000000 +0100
@@ -1,3 +1,11 @@
+fiona (1.9.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Annotate test dependencies <!nocheck>.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 30 Dec 2023 12:54:17 +0100
+
 fiona (1.9.5-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru fiona-1.9.5/debian/control fiona-1.9.5/debian/control
--- fiona-1.9.5/debian/control  2023-08-30 17:21:17.000000000 +0200
+++ fiona-1.9.5/debian/control  2023-12-30 12:54:15.000000000 +0100
@@ -18,9 +18,9 @@
                python3-click-plugins,
                python3-cligj,
                python3-munch,
-               python3-pytest,
+               python3-pytest <!nocheck>,
                python3-setuptools,
-               python3-tz
+               python3-tz <!nocheck>,
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/fiona
 Vcs-Git: https://salsa.debian.org/debian-gis-team/fiona.git

Reply via email to