public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-scikit-learn] rawhide: Remove Cython upper version bound to allow Cython 3.3+
@ 2026-11-14 12:03 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-11-14 12:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-scikit-learn
Branch : rawhide
Commit : 5aef317cd589d61c20099bdeccf43999ef861627
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-11-03T13:21:33+00:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-scikit-learn/c/5aef317cd589d61c20099bdeccf43999ef861627?branch=rawhide
Log:
Remove Cython upper version bound to allow Cython 3.3+
---
diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec
index 9db863c..5bd7aac 100644
--- a/python-scikit-learn.spec
+++ b/python-scikit-learn.spec
@@ -64,8 +64,8 @@ sed -i -e 's|scipy>=1.10.0,<1.17.0|scipy|' pyproject.toml
# EPEL 10 has Cython 3.0.9, and the only reason Cython 3.0.10
# is required upstream is for Windows, see
# https://github.com/scikit-learn/scikit-learn/pull/28743
-sed -i -e 's|cython>=3.1.2|cython>=3.0.9|' pyproject.toml
-sed -i -e 's|CYTHON_MIN_VERSION = "3.1.2"|CYTHON_MIN_VERSION = "3.0.9"|' sklearn/_min_dependencies.py
+sed -i -e 's|cython>=3\.[0-9.]*,<3\.[0-9.]*|cython>=3.0.9|g' pyproject.toml
+sed -i -e 's|CYTHON_MIN_VERSION = "3\.[0-9.]*"|CYTHON_MIN_VERSION = "3.0.9"|' sklearn/_min_dependencies.py
find sklearn/metrics/_dist_metrics.pyx.tp -type f | xargs sed -i 's/cdef inline {{INPUT_DTYPE_t}} rdist/cdef {{INPUT_DTYPE_t}} rdist/g'
# Remove upper bound on meson-python version; weirdly, this is in the PyPI
# sdist but not in git.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-14 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 12:03 [rpms/python-scikit-learn] rawhide: Remove Cython upper version bound to allow Cython 3.3+ Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox