[Git][debian-gis-team/pymap3d][master] New patch 0002-Fix-tests-on-i386.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Aug 23 07:47:42 BST 2025



Antonio Valentino pushed to branch master at Debian GIS Project / pymap3d


Commits:
f28474bf by Antonio Valentino at 2025-08-23T06:46:54+00:00
New patch 0002-Fix-tests-on-i386.patch

- - - - -


4 changed files:

- debian/changelog
- debian/patches/0001-Fix-tests-on-armel.patch
- + debian/patches/0002-Fix-tests-on-i386.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,9 @@ pymap3d (3.2.0-1) unstable; urgency=medium
   [ Antonio Valentino ]
   * New upstream release.
   * Update dates in d/copyright.
+  * debian/patches:
+    - New 0002-Fix-tests-on-i386.patch.
+    - Refresh remaining patches.
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 09 Aug 2025 08:50:37 +0000
 


=====================================
debian/patches/0001-Fix-tests-on-armel.patch
=====================================
@@ -11,10 +11,10 @@ Forwarded: https://github.com/geospace-code/pymap3d/issues/87
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/pymap3d/tests/test_geodetic.py b/src/pymap3d/tests/test_geodetic.py
-index 38dc574..00a7fa5 100755
+index 11572b3..7eb515c 100755
 --- a/src/pymap3d/tests/test_geodetic.py
 +++ b/src/pymap3d/tests/test_geodetic.py
-@@ -18,12 +18,12 @@ xyzlla = [
+@@ -22,12 +22,12 @@ xyzlla = [
      ((A - 1, 0, 0), (0, 0, -1)),
      ((A + 1, 0, 0), (0, 0, 1)),
      ((0.1 * A, 0, 0), (0, 0, -0.9 * A)),


=====================================
debian/patches/0002-Fix-tests-on-i386.patch
=====================================
@@ -0,0 +1,24 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 23 Aug 2025 06:44:16 +0000
+Subject: Fix tests on i386
+
+Releax taerget accuracy from 1e-9 to 3e-9.
+
+Forwarded: not-needed
+---
+ src/pymap3d/tests/test_dca.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/pymap3d/tests/test_dca.py b/src/pymap3d/tests/test_dca.py
+index 7c6060a..3296944 100644
+--- a/src/pymap3d/tests/test_dca.py
++++ b/src/pymap3d/tests/test_dca.py
+@@ -40,7 +40,7 @@ def test_ecef_dca(ecef, dca, heading):
+     lat0, lon0, h0 = 12.0, 15.0, 30.0
+ 
+     assert pm.dca2ecef(*dca, lat0, lon0, h0, heading) == pytest.approx(ecef)
+-    assert pm.ecef2dca(*ecef, lat0, lon0, h0, heading) == pytest.approx(dca, abs=1e-9)
++    assert pm.ecef2dca(*ecef, lat0, lon0, h0, heading) == pytest.approx(dca, abs=3e-9)
+ 
+ 
+ def test_geodetic_dca():


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0001-Fix-tests-on-armel.patch
+0002-Fix-tests-on-i386.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pymap3d/-/commit/f28474bf763232a1b377a0404c3c06b8a74626c0

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pymap3d/-/commit/f28474bf763232a1b377a0404c3c06b8a74626c0
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/20250823/80648d86/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list