Accepting request 1074078 from devel:languages:python:numeric
- Add patch ignore-pkg_resources-deprecation.patch: * Ignore DeprecationWarning from pkg_resources. - update to 1.24.2: just bugfixes, see https://github.com/numpy/numpy/releases/tag/v1.24.2 for details OBS-URL: https://build.opensuse.org/request/show/1074078 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=115
This commit is contained in:
commit
a52f28a9f9
12
ignore-pkg_resources-deprecation.patch
Normal file
12
ignore-pkg_resources-deprecation.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: numpy-1.24.2/pytest.ini
|
||||
===================================================================
|
||||
--- numpy-1.24.2.orig/pytest.ini
|
||||
+++ numpy-1.24.2/pytest.ini
|
||||
@@ -25,5 +25,7 @@ filterwarnings =
|
||||
# Ignore DeprecationWarnings from distutils
|
||||
ignore::DeprecationWarning:.*distutils
|
||||
ignore:\n\n `numpy.distutils`:DeprecationWarning
|
||||
+# Ignore DeprecationWarning from pkg_resources
|
||||
+ ignore:pkg_resources:DeprecationWarning
|
||||
# Ignore mypy >= 0.971 DeprecationWarnings
|
||||
ignore:path is deprecated\. Use files\(\) instead:DeprecationWarning:mypy
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2386da9a471cc00a1f47845e27d916d5ec5346ae9696e01a8a34760858fe9dd2
|
||||
size 10903184
|
3
numpy-1.24.2.tar.gz
Normal file
3
numpy-1.24.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:003a9f530e880cb2cd177cba1af7220b9aa42def9c4afc2a2fc3ee6be7eb2b22
|
||||
size 10906862
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 07:02:57 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch ignore-pkg_resources-deprecation.patch:
|
||||
* Ignore DeprecationWarning from pkg_resources.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 22 13:08:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.24.2:
|
||||
just bugfixes, see
|
||||
https://github.com/numpy/numpy/releases/tag/v1.24.2
|
||||
for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 10 08:50:37 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%define ver 1.24.1
|
||||
%define _ver 1_24_1
|
||||
%define ver 1.24.2
|
||||
%define _ver 1_24_2
|
||||
%define pname python-numpy
|
||||
%define plainpython python
|
||||
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
||||
@ -85,6 +85,8 @@ Source99: python-numpy-rpmlintrc
|
||||
Patch0: numpy-buildfix.patch
|
||||
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
|
||||
Patch1: numpy-1.9.0-remove-__declspec.patch
|
||||
# PATCH-FIX-OPENSUSE Ignore DeprecationWarnings when importing pkg_resources
|
||||
Patch2: ignore-pkg_resources-deprecation.patch
|
||||
BuildRequires: %{python_module Cython >= 0.29.30}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module devel}
|
||||
|
Loading…
Reference in New Issue
Block a user