Accepting request 1201248 from home:badshah400:branches:science

Add python-PyCBC-tests-numpy-2.0-compat.patch for compatibility with numpy >= 2.0 in tests.

OBS-URL: https://build.opensuse.org/request/show/1201248
OBS-URL: https://build.opensuse.org/package/show/science/python-PyCBC?expand=0&rev=40
This commit is contained in:
2024-09-16 06:15:52 +00:00
committed by Git OBS Bridge
parent 1da26a3589
commit fc9077d19b
3 changed files with 26 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ Summary: Core library to analyze gravitational-wave data
License: GPL-3.0-or-later
URL: http://www.pycbc.org/
Source0: https://github.com/gwastro/pycbc/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM python-PyCBC-tests-numpy-2.0-compat.patch badshah400@gmail.com -- Fix appending to numpy.broadcast_arrays output for numpy >= 2.0
Patch1: python-PyCBC-tests-numpy-2.0-compat.patch
BuildRequires: %{python_module Cython >= 0.29}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module numpy-devel >= 1.16.0}