Your message dated Thu, 11 May 2023 10:28:40 +0200
with message-id <52e11399-4724-5180-34b1-193baee67...@debian.org>
and subject line Re: Bug#1035680: unblock: gr-air-modes/0.0.20210211-3
has caused the Debian Bug report #1035680,
regarding unblock: gr-air-modes/0.0.20210211-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1035680: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035680
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org 
Severity: normal 
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: gr-air-mo...@packages.debian.org
Control: affects -1 + src:gnuradio

Please unblock package gr-air-modes

[ Reason ]
Version 0.0.20210211-3 fixes bug #1032195
gr-air-modes: modes_rx fails with AttributeError: module 'numpy' has no
attribute 'float'

[ Impact ]
Allows smooth upgrade from bullseye to bookworm.

[ Tests ]
Version in unstable runs correctly on bookworm system.

[ Risks ]
very low: added patch only changes the dtype to follow
changes in Python NumPy between bullseye and bookworm.

[ Checklist ]
[X] all changes are documented in the d/changelog 
[X] I reviewed all changes and I approve them 
[X] attach debdiff against the package in testing

[ Other info ]
Perhaps bug #1032195 severity should have been set to serious.
numpy.float was deprecated in NumPy 1.20, removed in NumPy 1.24.
Just use the Python type float.

unblock gr-air-modes/0.0.20210211-3


diff -Nru gr-air-modes-0.0.20210211/debian/changelog gr-air-modes-0.0.20210211/debian/changelog
--- gr-air-modes-0.0.20210211/debian/changelog	2021-12-29 23:04:48.000000000 -0500
+++ gr-air-modes-0.0.20210211/debian/changelog	2023-03-02 06:35:47.000000000 -0500
@@ -1,3 +1,10 @@
+gr-air-modes (0.0.20210211-3) unstable; urgency=medium
+
+  * Use Python float rather than deprecated and removed numpy.float
+  (Closes:1032195)
+
+ -- A. Maitland Bottoms <bott...@debian.org>  Thu, 02 Mar 2023 06:35:47 -0500
+
 gr-air-modes (0.0.20210211-2) unstable; urgency=medium
 
   * source upload to allow transition to testing
diff -Nru gr-air-modes-0.0.20210211/debian/patches/float-not-numpy-float gr-air-modes-0.0.20210211/debian/patches/float-not-numpy-float
--- gr-air-modes-0.0.20210211/debian/patches/float-not-numpy-float	1969-12-31 19:00:00.000000000 -0500
+++ gr-air-modes-0.0.20210211/debian/patches/float-not-numpy-float	2023-03-02 06:35:47.000000000 -0500
@@ -0,0 +1,27 @@
+From 39a0c218f8ea5355d394d47094aec6f9e05e76d4 Mon Sep 17 00:00:00 2001
+From: "A. Maitland Bottoms" <bott...@debian.org>
+Date: Thu, 2 Mar 2023 06:30:51 -0500
+Subject: [PATCH] float not numpy float
+
+numpy.float was deprecated in NumPy 1.20, removed in NumPy 1.24.
+Just use the Python type float.
+---
+ python/mlat.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/mlat.py b/python/mlat.py
+index 1583b1f..597e61f 100755
+--- a/python/mlat.py
++++ b/python/mlat.py
+@@ -37,7 +37,7 @@ wgs84_geoid = numpy.array([[13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,1
+                [-61,-60,-61,-55,-49,-44,-38,-31,-25,-16,-6,1,4,5,4,2,6,12,16,16,17,21,20,26,26,22,16,10,-1,-16,-29,-36,-46,-55,-54,-59],            #70S
+                [-53,-54,-55,-52,-48,-42,-38,-38,-29,-26,-26,-24,-23,-21,-19,-16,-12,-8,-4,-1,1,4,4,6,5,4,2,-6,-15,-24,-33,-40,-48,-50,-53,-52],     #80S
+                [-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30]], #90S
+-               dtype=numpy.float)
++               dtype=float)
+                
+ #ok this calculates the geoid offset from the reference ellipsoid
+ #combined with LLH->ECEF this gets you XYZ for a ground-referenced point
+-- 
+2.39.2
+
diff -Nru gr-air-modes-0.0.20210211/debian/patches/series gr-air-modes-0.0.20210211/debian/patches/series
--- gr-air-modes-0.0.20210211/debian/patches/series	2021-12-21 21:19:45.000000000 -0500
+++ gr-air-modes-0.0.20210211/debian/patches/series	2023-03-02 06:35:47.000000000 -0500
@@ -1 +1,2 @@
 debian-soname
+float-not-numpy-float

--- End Message ---
--- Begin Message ---
Hi,

On 07-05-2023 19:25, A. Maitland Bottoms wrote:
unblock gr-air-modes/0.0.20210211-3

done.

Paul

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to