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