-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch with fix for numpy 2.0 compatibility.
- Loading branch information
Showing
9 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,5 +58,5 @@ index dbea5b05e..b06482327 100644 | |
OUTPUT ${pyexefile} | ||
DEPENDS ${pyfile} | ||
-- | ||
2.42.0 | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,5 +209,5 @@ index 28b735773..c953aa8fa 100644 | |
) | ||
|
||
-- | ||
2.42.0 | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,5 @@ index d46d6eb4a..5651a54a1 100644 | |
- main(sys.argv) | ||
+ main() | ||
-- | ||
2.42.0 | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,5 @@ index d4a7ca991..46ddd9a3a 100644 | |
if os.path.isdir(entry): | ||
subdirs = 0 | ||
-- | ||
2.42.0 | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
recipe/0008-filter-python-Change-float_-to-float64-for-numpy-2.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ryan Volz <ryan.volz@gmail.com> | ||
Date: Mon, 3 Jun 2024 12:33:49 -0400 | ||
Subject: [PATCH] filter: python: Change float_ to float64 for numpy 2.0 | ||
compatibility | ||
|
||
Signed-off-by: Ryan Volz <ryan.volz@gmail.com> | ||
--- | ||
gr-filter/python/filter/gui/polezero_plot.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/gr-filter/python/filter/gui/polezero_plot.py b/gr-filter/python/filter/gui/polezero_plot.py | ||
index 9d6db915e..db9afe866 100644 | ||
--- a/gr-filter/python/filter/gui/polezero_plot.py | ||
+++ b/gr-filter/python/filter/gui/polezero_plot.py | ||
@@ -11,7 +11,7 @@ from PyQt5 import Qt, QtCore | ||
from math import sin, cos, pi | ||
import pyqtgraph as pg | ||
from numpy import zeros | ||
-from numpy import float_ as Float | ||
+from numpy import float64 as Float | ||
from numpy import vectorize | ||
from numpy import delete | ||
|
||
-- | ||
2.45.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters