[Git][debian-gis-team/pygac][master] 2 commits: New 0003-Compatibility-with-numpy-v1.24.patch
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Thu Dec 29 17:20:55 GMT 2022
Antonio Valentino pushed to branch master at Debian GIS Project / pygac
Commits:
41a9161a by Antonio Valentino at 2022-12-29T17:17:15+00:00
New 0003-Compatibility-with-numpy-v1.24.patch
- - - - -
39479ac7 by Antonio Valentino at 2022-12-29T17:17:57+00:00
Set distribution to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/0003-Compatibility-with-numpy-v1.24.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,10 +1,13 @@
-pygac (1.7.1-2) UNRELEASED; urgency=medium
+pygac (1.7.1-2) unstable; urgency=medium
- * Team upload.
+ [ Bas Couwenberg ]
* Enable numpy3 dh helper.
* Add py3dist override for h5py.
- -- Bas Couwenberg <sebastic at debian.org> Thu, 22 Dec 2022 09:32:38 +0100
+ [ Antonio Valentino ]
+ * New 0003-Compatibility-with-numpy-v1.24.patch (Closes: #1027239).
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Thu, 29 Dec 2022 17:17:24 +0000
pygac (1.7.1-1) unstable; urgency=medium
=====================================
debian/patches/0003-Compatibility-with-numpy-v1.24.patch
=====================================
@@ -0,0 +1,26 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Thu, 29 Dec 2022 17:03:16 +0000
+Subject: Compatibility with numpy v1.24
+
+Forwarded: https://github.com/pytroll/pygac/pull/120
+
+---
+ pygac/pod_reader.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pygac/pod_reader.py b/pygac/pod_reader.py
+index d77edb3..4696927 100644
+--- a/pygac/pod_reader.py
++++ b/pygac/pod_reader.py
+@@ -498,9 +498,9 @@ class PODReader(Reader):
+ # one line to the other should be equal to the scan rate.
+ pixels_per_line = self.lats.shape[1]
+ complete_lons = np.full((num_lines, pixels_per_line), np.nan,
+- dtype=np.float)
++ dtype=float)
+ complete_lats = np.full((num_lines, pixels_per_line), np.nan,
+- dtype=np.float)
++ dtype=float)
+
+ complete_lons[scan_lines - min_line] = self.lons
+ complete_lats[scan_lines - min_line] = self.lats
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
0001-Fix-config.patch
0002-Install-the-tests-sub-package.patch
+0003-Compatibility-with-numpy-v1.24.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/compare/32ee433dd90e5bc6416a51c0f9d1a9edb5bec02f...39479ac7bc555c92c1833050406bd189ffc7f65b
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/compare/32ee433dd90e5bc6416a51c0f9d1a9edb5bec02f...39479ac7bc555c92c1833050406bd189ffc7f65b
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/20221229/e3ace1e1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list