[Git][debian-gis-team/pyorbital][master] Drop 0002-Fix-broken-test-on-i386.patch

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Fri Apr 11 06:44:40 BST 2025



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


Commits:
a73b7191 by Antonio Valentino at 2025-04-11T05:44:19+00:00
Drop 0002-Fix-broken-test-on-i386.patch

- - - - -


4 changed files:

- debian/changelog
- − debian/patches/0002-Fix-broken-test-on-i386.patch
- debian/patches/0003-Reproducible-build.patch → debian/patches/0002-Reproducible-build.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -6,6 +6,10 @@ pyorbital (1.9.2-2) UNRELEASED; urgency=medium
 
   [ Antonio Valentino ]
   * Update dates in d/copyright.
+  * debian/patches:
+    - Drop 0002-Fix-broken-test-on-i386.patch
+      (didn't actually solve the issue on i386).
+    - Renumber remaining patches.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 20 Mar 2025 06:18:31 +0100
 


=====================================
debian/patches/0002-Fix-broken-test-on-i386.patch deleted
=====================================
@@ -1,47 +0,0 @@
-From: Antonio Valentino <antonio.valentino at tiscali.it>
-Date: Sat, 13 Apr 2024 15:33:39 +0000
-Subject: Fix broken test on i386
-
-Forwarded: https://github.com/pytroll/pyorbital/pull/150
----
- pyorbital/tests/test_orbital.py | 22 ++++++++++++++--------
- 1 file changed, 14 insertions(+), 8 deletions(-)
-
-diff --git a/pyorbital/tests/test_orbital.py b/pyorbital/tests/test_orbital.py
-index a05af24..27efdbf 100644
---- a/pyorbital/tests/test_orbital.py
-+++ b/pyorbital/tests/test_orbital.py
-@@ -213,19 +213,25 @@ class TestGetObserverLook(unittest.TestCase):
-         """Set up the test environment."""
-         self.t = datetime(2018, 1, 1, 0, 0, 0)
-         self.sat_lon = np.array([[-89.5, -89.4, -89.5, -89.4],
--                                 [-89.3, -89.2, -89.3, -89.2]])
-+                                 [-89.3, -89.2, -89.3, -89.2]],
-+                                dtype=np.float64)
-         self.sat_lat = np.array([[45.5, 45.4, 45.5, 45.4],
--                                 [45.3, 40.2, 45.3, 40.2]])
--        self.sat_alt = 35786 * np.ones((2, 4))
-+                                 [45.3, 40.2, 45.3, 40.2]],
-+                                dtype=np.float64)
-+        self.sat_alt = 35786 * np.ones((2, 4), dtype=np.float64)
-         self.lon = np.array([[-85.5, -85.4, -89.5, -99.4],
--                             [-85.3, -89.2, -89.3, -79.2]])
-+                             [-85.3, -89.2, -89.3, -79.2]],
-+                            dtype=np.float64)
-         self.lat = np.array([[40.5, 40.4, 65.5, 45.4],
--                             [40.3, 40.2, 25.3, 40.2]])
--        self.alt = np.zeros((2, 4))
-+                             [40.3, 40.2, 25.3, 40.2]],
-+                            dtype=np.float64)
-+        self.alt = np.zeros((2, 4), dtype=np.float64)
-         self.exp_azi = np.array([[331.00275902, 330.95954165, 180, 86.435411],
--                                 [330.91642994, 180, 0, 273.232073]])
-+                                 [330.91642994, 180, 0, 273.232073]],
-+                                dtype=np.float64)
-         self.exp_elev = np.array([[83.18070976, 83.17788976, 66.548467, 81.735221],
--                                  [83.17507167, 90, 66.559906, 81.010018]])
-+                                  [83.17507167, 90, 66.559906, 81.010018]],
-+                                 dtype=np.float64)
- 
-     def test_basic_numpy(self):
-         """Test with numpy array inputs."""


=====================================
debian/patches/0003-Reproducible-build.patch → debian/patches/0002-Reproducible-build.patch
=====================================


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,2 @@
 0001-Fix-pricacy-breach.patch
-0002-Fix-broken-test-on-i386.patch
-0003-Reproducible-build.patch
+0002-Reproducible-build.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/commit/a73b71915e506386f57adffcb3849477dbcb23aa

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/commit/a73b71915e506386f57adffcb3849477dbcb23aa
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/20250411/9148c480/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list