Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 1 | From b1d4d171fd13624f3d8bb917f716b62494066501 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
| 3 | Date: Mon, 22 Feb 2021 18:42:43 +0200 |
| 4 | Subject: [PATCH] setup.py: Fix numpy version |
| 5 | |
| 6 | Fix numpy version to ensure bitbake will find the pip package. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [oe specific] |
| 9 | |
| 10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
| 11 | |
| 12 | --- |
| 13 | setup.py | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/setup.py b/setup.py |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 17 | index 4b2890c..42ba21b 100755 |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 18 | --- a/setup.py |
| 19 | +++ b/setup.py |
| 20 | @@ -49,7 +49,7 @@ SETUP_REQUIRES = [ |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 21 | "Cython >=0.29.14; python_version=='3.8'", |
| 22 | "Cython >=0.29.15; python_version>='3.9'", |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 23 | ] + [ |
| 24 | - f"numpy =={np_min}; python_version{py_condition}" |
| 25 | + f"numpy >={np_min}; python_version{py_condition}" |
| 26 | for np_min, py_condition in NUMPY_MIN_VERSIONS |
| 27 | ] |
| 28 | |