Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4824577ca5 | |||
| b84b9a82a1 | |||
| b817952cc4 | |||
| bbdc5557a2 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4a616eb17bbdc5886faabcda4c18461d90af9183544214a650d727f12934d319
|
|
||||||
size 11846954
|
|
||||||
3
PyCBC-2.5.1.tar.gz
Normal file
3
PyCBC-2.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e370a1ff82f49d8c1f2550841f2a70fe8328b3d810d46f7c8c646006309a29a6
|
||||||
|
size 11749616
|
||||||
18
python-PyCBC-tests-numpy-2.0-compat.patch
Normal file
18
python-PyCBC-tests-numpy-2.0-compat.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
pycbc/conversions.py | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: pycbc-2.5.1/pycbc/conversions.py
|
||||||
|
===================================================================
|
||||||
|
--- pycbc-2.5.1.orig/pycbc/conversions.py
|
||||||
|
+++ pycbc-2.5.1/pycbc/conversions.py
|
||||||
|
@@ -77,7 +77,8 @@ def ensurearray(*args):
|
||||||
|
inputs was an array.
|
||||||
|
"""
|
||||||
|
input_is_array = any(isinstance(arg, numpy.ndarray) for arg in args)
|
||||||
|
- args = numpy.broadcast_arrays(*args)
|
||||||
|
+ # For numpy >= 2, broadcast_arrays returns tuple instead of list
|
||||||
|
+ args = list(numpy.broadcast_arrays(*args))
|
||||||
|
args.append(input_is_array)
|
||||||
|
return args
|
||||||
|
|
||||||
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 15 14:03:59 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Add python-PyCBC-tests-numpy-2.0-compat.patch for compatibility
|
||||||
|
with numpy >= 2.0 in tests.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 17 05:29:48 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2.5.1:
|
||||||
|
* enable checksum by default for h5py datasets
|
||||||
|
* use a personal branch of BBHx to allow python3.9 to run
|
||||||
|
- Changes from version 2.5.0:
|
||||||
|
* Add support for python 3.12, drop support for python 3.8
|
||||||
|
* Standardization of logging and versioning information
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 19 12:40:49 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
Thu Oct 19 12:40:49 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyCBC
|
# spec file for package python-PyCBC
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -30,14 +30,16 @@
|
|||||||
|
|
||||||
%define modname PyCBC
|
%define modname PyCBC
|
||||||
Name: python-PyCBC%{psuffix}
|
Name: python-PyCBC%{psuffix}
|
||||||
Version: 2.4.0
|
Version: 2.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Core library to analyze gravitational-wave data
|
Summary: Core library to analyze gravitational-wave data
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: http://www.pycbc.org/
|
URL: http://www.pycbc.org/
|
||||||
Source0: https://github.com/gwastro/pycbc/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
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 Cython >= 0.29}
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
BuildRequires: %{python_module devel >= 3.9}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.16.0}
|
BuildRequires: %{python_module numpy-devel >= 1.16.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
|||||||
Reference in New Issue
Block a user