public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-scikit-learn] rawhide: Remove Cython upper version bound to allow Cython 3.3+
Date: Sat, 14 Nov 2026 12:03:19 GMT [thread overview]
Message-ID: <179465779956.1.4788068521142831661.rpms-python-scikit-learn-5aef317cd589@fedoraproject.org> (raw)
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.
reply other threads:[~2026-11-14 12:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179465779956.1.4788068521142831661.rpms-python-scikit-learn-5aef317cd589@fedoraproject.org \
--to=lbalhar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox