Accepting request 1186069 from devel:languages:python:numeric

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1186069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=16
This commit is contained in:
Ana Guerrero 2024-07-08 17:08:39 +00:00 committed by Git OBS Bridge
commit 8c7abdc089
4 changed files with 17 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6780d896969ba7f53c8995ba90c87c548beb3db435dc90c60b9a10ed1ab4d868
size 103252

3
bottleneck-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beb36df519b8709e7d357c0c9639b03b885ca6355bbf5e53752c685de51605b8
size 103490

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 1 04:19:18 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.0:
* Building against numpy 2.0, which ships new backwards compatible ABI
* Update CI config
- Remove numpy upper bound.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 19 11:14:59 UTC 2024 - Ben Greiner <code@bnavigator.de> Fri Apr 19 11:14:59 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -17,29 +17,29 @@
Name: python-Bottleneck Name: python-Bottleneck
Version: 1.3.8 Version: 1.4.0
Release: 0 Release: 0
Summary: A collection of fast NumPy array functions Summary: A collection of fast NumPy array functions
License: BSD-2-Clause AND BSD-3-Clause License: BSD-2-Clause AND BSD-3-Clause
URL: https://github.com/pydata/bottleneck URL: https://github.com/pydata/bottleneck
Source0: https://files.pythonhosted.org/packages/source/B/Bottleneck/Bottleneck-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/b/bottleneck/bottleneck-%{version}.tar.gz
Source99: python-Bottleneck.rpmlintrc Source99: python-Bottleneck.rpmlintrc
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.16.0 with %python-numpy-devel < 2} BuildRequires: %{python_module numpy-devel >= 1.16.0}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: (python-numpy >= 1.16.0 with python-numpy < 2) Requires: python-numpy >= 1.16.0
%python_subpackages %python_subpackages
%description %description
Bottleneck is a collection of fast NumPy array functions written in C. Bottleneck is a collection of fast NumPy array functions written in C.
%prep %prep
%setup -q -n Bottleneck-%{version} %setup -q -n bottleneck-%{version}
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
@ -50,9 +50,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
# https://github.com/pydata/bottleneck/issues/423 %pytest_arch --pyargs bottleneck
donttest="(move_test and test_move)"
%pytest_arch --pyargs bottleneck -k "not ($donttest)"
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE