[Git][debian-gis-team/pyosmium][master] Ignore test failure on i386.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue Oct 21 20:17:05 BST 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / pyosmium


Commits:
326233b5 by Bas Couwenberg at 2025-10-21T21:16:49+02:00
Ignore test failure on i386.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+pyosmium (4.2.0-2) UNRELEASED; urgency=medium
+
+  * Ignore test failure on i386.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 21 Oct 2025 21:16:22 +0200
+
 pyosmium (4.2.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/rules
=====================================
@@ -5,6 +5,8 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+include /usr/share/dpkg/architecture.mk
+
 export DEB_CXXFLAGS_MAINT_APPEND=$(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CPPFLAGS)
 
 export PYBUILD_NAME=pyosmium
@@ -18,6 +20,14 @@ export VERBOSE=1
 %:
 	dh $@ --buildsystem pybuild
 
+# https://github.com/osmcode/pyosmium/issues/306
+override_dh_auto_test:
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
+	dh_auto_test || echo "Ignoring test failures"
+else
+	dh_auto_test
+endif
+
 execute_after_dh_auto_install:
 	mkdir -p debian/python3-pyosmium/usr/lib/python3-pyosmium
 	mv -v debian/python3-pyosmium/usr/bin/* debian/python3-pyosmium/usr/lib/python3-pyosmium/



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/-/commit/326233b5d6a87f8478689d7f4abab6192e397d6b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/-/commit/326233b5d6a87f8478689d7f4abab6192e397d6b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251021/e04289bb/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list