[Git][debian-gis-team/pyorbital][master] 2 commits: New 0002-Fix-broken-test-on-i386.patch
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Sat Apr 13 17:17:56 BST 2024
Antonio Valentino pushed to branch master at Debian GIS Project / pyorbital
Commits:
af3953c3 by Antonio Valentino at 2024-04-13T16:00:01+00:00
New 0002-Fix-broken-test-on-i386.patch
- - - - -
d46017a1 by Antonio Valentino at 2024-04-13T16:00:45+00:00
Set distribution to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0002-Fix-broken-test-on-i386.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pyorbital (1.8.2-2) unstable; urgency=medium
+
+ * debian/patches:
+ - New 0002-Fix-broken-test-on-i386.patch (Closes: #1068646).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Sat, 13 Apr 2024 16:00:28 +0000
+
pyorbital (1.8.2-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/patches/0002-Fix-broken-test-on-i386.patch
=====================================
@@ -0,0 +1,47 @@
+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 2b507f2..6d9810e 100644
+--- a/pyorbital/tests/test_orbital.py
++++ b/pyorbital/tests/test_orbital.py
+@@ -220,19 +220,25 @@ class TestGetObserverLook(unittest.TestCase):
+ def setUp(self):
+ 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/series
=====================================
@@ -1 +1,2 @@
0001-Fix-pricacy-breach.patch
+0002-Fix-broken-test-on-i386.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/compare/b9bb4c232fa38d74a05620b8619c51b85a7cc8eb...d46017a15040f138b2bdaab3b8e2083b90d44002
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyorbital/-/compare/b9bb4c232fa38d74a05620b8619c51b85a7cc8eb...d46017a15040f138b2bdaab3b8e2083b90d44002
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/20240413/966a2de4/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list