Accepting request 1086645 from devel:languages:python:numeric
- Add patch remove-deprecated-hypothesis-funcs.patch: * Change to a non-deprecated function from hypothesis. OBS-URL: https://build.opensuse.org/request/show/1086645 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=117
This commit is contained in:
commit
db98fd23f4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 04:22:36 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch remove-deprecated-hypothesis-funcs.patch:
|
||||
* Change to a non-deprecated function from hypothesis.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:28:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -88,6 +88,8 @@ Patch0: numpy-buildfix.patch
|
||||
Patch1: numpy-1.9.0-remove-__declspec.patch
|
||||
# PATCH-FIX-OPENSUSE Ignore DeprecationWarnings when importing pkg_resources
|
||||
Patch2: ignore-pkg_resources-deprecation.patch
|
||||
# PATCH-FIX-OPENSUSE Do not call a deprecated hypothesis health check function
|
||||
Patch3: remove-deprecated-hypothesis-funcs.patch
|
||||
BuildRequires: %{python_module Cython >= 0.29.30}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module devel}
|
||||
|
13
remove-deprecated-hypothesis-funcs.patch
Normal file
13
remove-deprecated-hypothesis-funcs.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: numpy-1.24.2/numpy/conftest.py
|
||||
===================================================================
|
||||
--- numpy-1.24.2.orig/numpy/conftest.py
|
||||
+++ numpy-1.24.2/numpy/conftest.py
|
||||
@@ -30,7 +30,7 @@ hypothesis.settings.register_profile(
|
||||
hypothesis.settings.register_profile(
|
||||
name="np.test() profile",
|
||||
deadline=None, print_blob=True, database=None, derandomize=True,
|
||||
- suppress_health_check=hypothesis.HealthCheck.all(),
|
||||
+ suppress_health_check=list(hypothesis.HealthCheck),
|
||||
)
|
||||
# Note that the default profile is chosen based on the presence
|
||||
# of pytest.ini, but can be overridden by passing the
|
Loading…
Reference in New Issue
Block a user