[Git][debian-gis-team/satpy][master] 3 commits: Fix unittests on i386 platforms

Antonio Valentino gitlab at salsa.debian.org
Tue Aug 18 16:26:56 BST 2020



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


Commits:
8fd4532f by Antonio Valentino at 2020-08-18T10:24:34+00:00
Fix unittests on i386 platforms

- - - - -
e9555d07 by Antonio Valentino at 2020-08-18T14:46:43+00:00
Add Forwarded field to patches

- - - - -
0336b00f by Antonio Valentino at 2020-08-18T15:02:32+00:00
Set distribution to unstable

- - - - -


6 changed files:

- debian/changelog
- debian/patches/0001-Disable-extra-dependency-form-geoviews.patch
- debian/patches/0002-No-setuptools-scm.patch
- debian/patches/0003-Skip-broken-tests.patch
- + debian/patches/0004-Fix-tests-on-i386-platforms.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+satpy (0.22.0-2) unstable; urgency=medium
+
+  * debian/patches:
+    - new 0004-Fix-tests-on-i386-platforms.patch
+    - add Forwarded field to patches
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Tue, 18 Aug 2020 14:46:49 +0000
+
 satpy (0.22.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/0001-Disable-extra-dependency-form-geoviews.patch
=====================================
@@ -2,6 +2,7 @@ From: Antonio Valentino <antonio.valentino at tiscali.it>
 Date: Sun, 17 Feb 2019 10:56:06 +0000
 Subject: Disable extra dependency form geoviews
 
+Forwarded: not-needed
 ---
  satpy/tests/test_scene.py | 7 +++++++
  setup.py                  | 4 ++--


=====================================
debian/patches/0002-No-setuptools-scm.patch
=====================================
@@ -2,6 +2,7 @@ From: Antonio Valentino <antonio.valentino at tiscali.it>
 Date: Wed, 1 Jan 2020 11:24:15 +0000
 Subject: No setuptools-scm
 
+Forwarded: non-needed
 ---
  doc/source/conf.py | 16 +++++++++++-----
  satpy/__init__.py  |  2 +-


=====================================
debian/patches/0003-Skip-broken-tests.patch
=====================================
@@ -2,6 +2,7 @@ From: Antonio Valentino <antonio.valentino at tiscali.it>
 Date: Tue, 6 Aug 2019 19:14:13 +0200
 Subject: Skip broken tests
 
+Forwarded: https://github.com/pytroll/satpy/issues/1316
 ---
  satpy/tests/reader_tests/test_avhrr_l1b_gaclac.py | 4 ++++
  satpy/tests/writer_tests/test_mitiff.py           | 4 ++--


=====================================
debian/patches/0004-Fix-tests-on-i386-platforms.patch
=====================================
@@ -0,0 +1,36 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 18 Aug 2020 10:17:12 +0000
+Subject: Fix tests on i386 platforms
+
+Forwarded: https://github.com/pytroll/satpy/pull/1315
+---
+ satpy/tests/reader_tests/test_seviri_l1b_hrit.py | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/satpy/tests/reader_tests/test_seviri_l1b_hrit.py b/satpy/tests/reader_tests/test_seviri_l1b_hrit.py
+index e993efa..ead8b00 100644
+--- a/satpy/tests/reader_tests/test_seviri_l1b_hrit.py
++++ b/satpy/tests/reader_tests/test_seviri_l1b_hrit.py
+@@ -29,6 +29,7 @@ from satpy.readers.seviri_l1b_hrit import (HRITMSGFileHandler, HRITMSGPrologueFi
+ from satpy.readers.seviri_base import CHANNEL_NAMES, VIS_CHANNELS
+ from satpy.dataset import DatasetID
+ 
++from numpy import testing as npt
+ 
+ def new_get_hd(instance, hdr_info):
+     """Generate some metadata."""
+@@ -254,10 +255,10 @@ class TestHRITMSGFileHandlerHRV(unittest.TestCase):
+         self.assertEqual(proj_dict['units'], 'm')
+         self.reader.fill_hrv = False
+         area = self.reader.get_area_def(DatasetID('HRV'))
+-        self.assertEqual(area.defs[0].area_extent,
+-                         (-22017598561055.01, -2926674655354.9604, 23564847539690.22, 77771774058.38356))
+-        self.assertEqual(area.defs[1].area_extent,
+-                         (-30793529275853.656, -3720765401003.719, 14788916824891.568, -2926674655354.9604))
++        npt.assert_allclose(area.defs[0].area_extent,
++                            (-22017598561055.01, -2926674655354.9604, 23564847539690.22, 77771774058.38356))
++        npt.assert_allclose(area.defs[1].area_extent,
++                            (-30793529275853.656, -3720765401003.719, 14788916824891.568, -2926674655354.9604))
+ 
+ 
+ class TestHRITMSGFileHandler(unittest.TestCase):


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-Disable-extra-dependency-form-geoviews.patch
 0002-No-setuptools-scm.patch
 0003-Skip-broken-tests.patch
+0004-Fix-tests-on-i386-platforms.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/compare/11d5f755a1dba7b931ee16e144665b439ff94722...0336b00f4b1d2e30a5e4f17e14bff7732a091fae

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/compare/11d5f755a1dba7b931ee16e144665b439ff94722...0336b00f4b1d2e30a5e4f17e14bff7732a091fae
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/20200818/7893da9c/attachment-0001.html>


More information about the Pkg-grass-devel mailing list