Make Cython upper bound removal version agnostic
This commit is contained in:
parent
10edab58ea
commit
1d9216babf
@ -46,7 +46,7 @@
|
||||
Summary: Scientific Tools for Python
|
||||
Name: python%{python3_pkgversion}-scipy
|
||||
Version: 1.16.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# BSD-3-Clause -- whole package except:
|
||||
# BSD-2-Clause -- scipy/_lib/_pep440.py
|
||||
@ -178,8 +178,7 @@ sed -i "/numpy/s/,<2\.3//" pyproject.toml
|
||||
sed -i "/array-api-strict/s/>=2\.3\.1/>=2/" pyproject.toml
|
||||
|
||||
# Loosen the upper bound on Cython
|
||||
# This can be removed from scipy >= 1.16.0
|
||||
sed -i '/Cython/s/,<3\.1\.0//' pyproject.toml
|
||||
sed -i '/Cython/s/,<[0-9.]\+//' pyproject.toml
|
||||
|
||||
%generate_buildrequires
|
||||
export PATH="$PWD/bin:$PWD/meson-1.4.1:$PATH"
|
||||
@ -298,6 +297,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 28 2026 Lumir Balhar <lbalhar@redhat.com> - 1.16.2-2
|
||||
- Rebuild with newer Cython
|
||||
|
||||
* Fri Oct 24 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.16.2-1
|
||||
- Initial package
|
||||
- Fedora contributions by:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user