From d0c963e197364d26bf9f9132aff8a1613c567c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 11 Apr 2024 10:17:17 +0200 Subject: [PATCH 01/28] Don't BuildRequire pythran in RHEL We've been told by RHEL scipy maintainers they will be getting rid of the dependency. --- Cython.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Cython.spec b/Cython.spec index 9c0274c..f7caf6e 100644 --- a/Cython.spec +++ b/Cython.spec @@ -23,16 +23,15 @@ BuildRequires: python3-test # the Python tests requirements are curated manually # the test-requirements*.txt files mix in coverage and optional deps BuildRequires: python3-numpy -BuildRequires: python3-pythran %if %{undefined rhel} -# We don't want to pull in ipython to RHEL just to run more tests. -# The tests use IPython.testing.globalipapp +# We don't want to pull in the following deps to RHEL just to run more tests. +# The tests use IPython.testing.globalipapp: BuildRequires: python3-ipython+test +BuildRequires: python3-pythran # The tests requiring jedi are optional and skipped when jedi is not installed. # Note that the jedi tests were forcefully disabled a long time ago, # in https://github.com/cython/cython/issues/1845 far, far away. # We keep the dependency here so we don't forget to re-add it once the balance is restored. -# We don't want to pull in jedi to RHEL just to potentially run more tests. BuildRequires: python3-jedi %endif %endif From 6396fb88bbb849a2b35809c48ff60808e7b1bd49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 7 May 2024 17:48:02 +0200 Subject: [PATCH 02/28] Import CI tests from RHEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is from RHEL distgit tests/Cython, directory Sanity/smoke. The original commit hash: 36cb03f34340bf13e42326bd9cb26f5f03b6fc27 Only necessary files were kept. Some outdated stuff was removed. Co-Authored-By: Jan Kepler Co-Authored-By: Lukáš Zachar --- .fmf/version | 1 + plan.fmf | 4 ++++ tests/smoke/helloworld.pyx | 1 + tests/smoke/main.fmf | 9 +++++++++ tests/smoke/runtest.sh | 41 ++++++++++++++++++++++++++++++++++++++ tests/smoke/setup.py | 6 ++++++ 6 files changed, 62 insertions(+) create mode 100644 .fmf/version create mode 100644 plan.fmf create mode 100644 tests/smoke/helloworld.pyx create mode 100644 tests/smoke/main.fmf create mode 100755 tests/smoke/runtest.sh create mode 100644 tests/smoke/setup.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..e6427de --- /dev/null +++ b/plan.fmf @@ -0,0 +1,4 @@ +discover: + how: fmf +execute: + how: tmt diff --git a/tests/smoke/helloworld.pyx b/tests/smoke/helloworld.pyx new file mode 100644 index 0000000..ad35e5a --- /dev/null +++ b/tests/smoke/helloworld.pyx @@ -0,0 +1 @@ +print("Hello World") diff --git a/tests/smoke/main.fmf b/tests/smoke/main.fmf new file mode 100644 index 0000000..91811aa --- /dev/null +++ b/tests/smoke/main.fmf @@ -0,0 +1,9 @@ +summary: smoke test +test: ./runtest.sh +framework: beakerlib +require: + - gcc + - python3-devel + - python3-cython + - python3-setuptools +duration: 10m diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100755 index 0000000..a38c525 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,41 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/Cython/Sanity/smoke +# Description: smoke test +# Author: Jan Kepler +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2017 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 +set -o pipefail + +PYTHON="${PYTHON:-python3}" + +rlJournalStart + rlPhaseStartTest + rlRun "$PYTHON setup.py build_ext --inplace" 0 "Building Cython file" + rlRun "$PYTHON -c 'import helloworld' | tee output.log" 0 "Running Cython file" + rlAssertGrep "Hello World" "output.log" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd diff --git a/tests/smoke/setup.py b/tests/smoke/setup.py new file mode 100644 index 0000000..2cc6bec --- /dev/null +++ b/tests/smoke/setup.py @@ -0,0 +1,6 @@ +from setuptools import setup +from Cython.Build import cythonize + +setup( + ext_modules = cythonize("helloworld.pyx") +) From ccc0af15257ec093357c1f1fec83d86fac784e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 10 May 2024 13:40:14 +0200 Subject: [PATCH 03/28] CI: Run upstream testsuite --- plan.fmf | 1 + tests/testsuite/main.fmf | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/testsuite/main.fmf diff --git a/plan.fmf b/plan.fmf index e6427de..890b3bb 100644 --- a/plan.fmf +++ b/plan.fmf @@ -1,4 +1,5 @@ discover: how: fmf + dist-git-source: true execute: how: tmt diff --git a/tests/testsuite/main.fmf b/tests/testsuite/main.fmf new file mode 100644 index 0000000..a701681 --- /dev/null +++ b/tests/testsuite/main.fmf @@ -0,0 +1,19 @@ +summary: upstream testsuite +require: + - gcc + - gcc-c++ + - gdb + - python3-devel + - python3-test + - python3-cython + - python3-setuptools + - python3-pip + - python3-numpy + - python3-pytest + - flexiblas-devel # for pythran + # ipython and pythran installed from PyPI, not available in RHEL +test: | + pip install ipython==8.24.0 pythran==0.15.0 && + cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) && + python3 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*' +duration: 60m From 3a774c1af398ec49635d9d9e3e6715fa8bbea209 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 08:41:27 +0200 Subject: [PATCH 04/28] Bootstrap for Python 3.13 --- Cython.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython.spec b/Cython.spec index f7caf6e..1ce2db6 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %bcond tests 1 # This bcond allows to ship a non-compiled version From f7d2eb89bd27819f38e7e0039660966b3ec97610 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sun, 16 Jun 2024 09:20:45 +0200 Subject: [PATCH 05/28] Rebuilt for Python 3.13 --- Cython.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 1ce2db6..f7caf6e 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %bcond tests 1 # This bcond allows to ship a non-compiled version From 3bf2d16c620b99734ba4ae151ab047f20e1d6bad Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 14:49:54 +0000 Subject: [PATCH 06/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 35d536cf3c54e70a0c5cb468f7ea5d0a7db4d13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 6 Aug 2024 21:38:30 +0200 Subject: [PATCH 07/28] CI: Quadruple the necessary time We got: Maximum test time '60m' exceeded. And: Maximum test time '120m' exceeded. [skip changelog] --- tests/testsuite/main.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/main.fmf b/tests/testsuite/main.fmf index a701681..23d1dec 100644 --- a/tests/testsuite/main.fmf +++ b/tests/testsuite/main.fmf @@ -16,4 +16,4 @@ test: | pip install ipython==8.24.0 pythran==0.15.0 && cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) && python3 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*' -duration: 60m +duration: 240m From 6021cd6d277dc0cf8d05f4a67ff5fb27a7952553 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Fri, 5 Apr 2024 21:11:19 +0200 Subject: [PATCH 08/28] Update to 3.0.11 - Fixes: rhbz#2303197 - Fixes: rhbz#2293086 Co-Authored-By: Charalampos Stratakis --- .gitignore | 71 +---------------------------------------------------- Cython.spec | 5 +++- sources | 2 +- 3 files changed, 6 insertions(+), 72 deletions(-) diff --git a/.gitignore b/.gitignore index 5978d3e..8ea4881 100644 --- a/.gitignore +++ b/.gitignore @@ -1,70 +1 @@ -Cython-0.12.1.tar.gz -/Cython-0.13.tar.gz -/Cython-0.14.tar.gz -/Cython-0.14.1.tar.gz -/Cython-0.15.tar.gz -/Cython-0.15.1.tar.gz -/Cython-0.16.tar.gz -/Cython-0.17b3.tar.gz -/Cython-0.17.tar.gz -/Cython-0.17.1.tar.gz -/Cython-0.17.2.tar.gz -/Cython-0.17.3.tar.gz -/Cython-0.18.tar.gz -/Cython-0.19.tar.gz -/Cython-0.19.2.tar.gz -/Cython-0.20.tar.gz -/Cython-0.20.1.tar.gz -/Cython-0.21.tar.gz -/Cython-0.21.1.tar.gz -/Cython-0.22.tar.gz -/Cython-0.23.tar.gz -/Cython-0.23.4.tar.gz -/Cython-0.24.1.tar.gz -/Cython-0.25.2.tar.gz -/Cython-0.27.1.tar.gz -/Cython-0.27.3.tar.gz -/Cython-0.28.1.tar.gz -/Cython-0.28.4.tar.gz -/Cython-0.28.5.tar.gz -/Cython-0.29~rc2.tar.gz -/Cython-0.29.tar.gz -/Cython-0.29.1.tar.gz -/Cython-0.29.3.tar.gz -/Cython-0.29.5.tar.gz -/Cython-0.29.6.tar.gz -/Cython-0.29.7.tar.gz -/Cython-0.29.9.tar.gz -/Cython-0.29.10.tar.gz -/Cython-0.29.11.tar.gz -/Cython-0.29.12.tar.gz -/Cython-0.29.13.tar.gz -/Cython-0.29.14.tar.gz -/Cython-0.29.15.tar.gz -/Cython-0.29.16.tar.gz -/Cython-0.29.17.tar.gz -/Cython-0.29.19.tar.gz -/Cython-0.29.21.tar.gz -/Cython-0.29.22.tar.gz -/Cython-0.29.24.tar.gz -/Cython-0.29.26.tar.gz -/Cython-0.29.28.tar.gz -/Cython-0.29.29.tar.gz -/Cython-0.29.30.tar.gz -/Cython-0.29.32.tar.gz -/Cython-0.29.33.tar.gz -/Cython-0.29.34.tar.gz -/Cython-0.29.35.tar.gz -/Cython-3.0.0a11.tar.gz -/Cython-3.0.0b1.tar.gz -/Cython-3.0.0b2.tar.gz -/Cython-3.0.0b3.tar.gz -/Cython-3.0.0rc2.tar.gz -/Cython-3.0.0.tar.gz -/Cython-3.0.2.tar.gz -/Cython-3.0.3.tar.gz -/Cython-3.0.4.tar.gz -/Cython-3.0.5.tar.gz -/Cython-3.0.6.tar.gz -/Cython-3.0.8.tar.gz -/Cython-3.0.9.tar.gz +/Cython-*.tar.gz diff --git a/Cython.spec b/Cython.spec index f7caf6e..5f252de 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.9 +Version: 3.0.11 Release: %autorelease Summary: Language for writing Python extension modules @@ -98,12 +98,15 @@ Provides: bundled(python3dist(tempita)) %check # run.pstats_profile_test* fails on Python 3.12 # https://github.com/cython/cython/issues/5470 +# run.numpy_parallel fails on i686 +# https://github.com/cython/cython/issues/6200 # run.parallel fails on i686 # https://github.com/cython/cython/issues/2807 %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ --exclude 'run.pstats_profile_test*' \ %ifarch %{ix86} --exclude run.parallel \ + --exclude run.numpy_parallel \ %endif %endif diff --git a/sources b/sources index dda1595..a1c6015 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.9.tar.gz) = 7899474882faab14716973783bbb46b981eab48192791acbbd06133efee83bfa9ace0e9a0272b0a44061a95ed94cdceaa98c4100f843220f5987791e36fa00e6 +SHA512 (Cython-3.0.11.tar.gz) = 8f7982af5be1db1072b1090257a9d487dc341d79522f442f4608303d18b388349a7d586ec74e66fbffd0ce88c00ca622202729907fe7cefef71828cfd3f68fe6 From ba2dba13579a52db4463be1f45ec5d14d2a4301e Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 25 Dec 2024 13:57:51 +0100 Subject: [PATCH 09/28] Apply patch for NumPy 2.x test failure It appears to be a cosmetic issue rather than a real failure. --- ...86242ee46cc16f0a6efef7eb40a5ab3c57d5.patch | 24 +++++++++++++++++++ Cython.spec | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch diff --git a/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch b/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch new file mode 100644 index 0000000..5442c4c --- /dev/null +++ b/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch @@ -0,0 +1,24 @@ +From 852286242ee46cc16f0a6efef7eb40a5ab3c57d5 Mon Sep 17 00:00:00 2001 +From: da-woods +Date: Wed, 25 Dec 2024 12:12:11 +0000 +Subject: [PATCH] Backport ufunc Numpy2 fix + +--- + tests/run/ufunc.pyx | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/run/ufunc.pyx b/tests/run/ufunc.pyx +index f489a07d5e4..b1895ee7903 100644 +--- a/tests/run/ufunc.pyx ++++ b/tests/run/ufunc.pyx +@@ -124,8 +124,8 @@ def test_plus_one_twice(): + Test a function returning a fused ctuple + >>> plus_one_twice(int_arr_1d) # doctest: +ELLIPSIS + (array([ 1, 5, 9, 13, 17]...), array([ 1, 5, 9, 13, 17]...)) +- >>> plus_one_twice(1.j) +- ((1+1j), (1+1j)) ++ >>> print(*plus_one_twice(1.j)) ++ (1+1j) (1+1j) + + 2D variant skipped because it's hard to sensible doctest + """ diff --git a/Cython.spec b/Cython.spec index 5f252de..166d3e8 100644 --- a/Cython.spec +++ b/Cython.spec @@ -13,6 +13,10 @@ License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz +# Backport patch for NumPy 2.x +# https://github.com/cython/cython/issues/6581 +Patch: https://github.com/cython/cython/commit/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch + BuildRequires: python3-devel %if %{with tests} From 3c76406608406d20a47bed36723bcb05a61e7856 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 08:31:37 +0000 Subject: [PATCH 10/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 295d3360cf15709ea61e6e464c995c7da328839a Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 27 Feb 2025 08:07:06 -0500 Subject: [PATCH 11/28] On 32-bit (ix86), reduce debuginfo level in %check - Fixes RHBZ#2339845 by avoiding memory exhaustion in test_many_expressions --- Cython.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cython.spec b/Cython.spec index 166d3e8..9bdea1e 100644 --- a/Cython.spec +++ b/Cython.spec @@ -100,6 +100,13 @@ Provides: bundled(python3dist(tempita)) %if %{with tests} %check +%if 0%{?__isa_bits} < 64 +# On 32-bit platforms, with their inherent ~4GB/process address space +# limitation, at least test_many_expressions fails due to memory exhaustion +# unless we reduce the debuginfo level (RHBZ#2339845). +export CFLAGS="${CFLAGS} -g1" +%endif + # run.pstats_profile_test* fails on Python 3.12 # https://github.com/cython/cython/issues/5470 # run.numpy_parallel fails on i686 From 99c8abe3b79ac156b88b45cbca6bb14728f63d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 6 Mar 2025 19:25:38 +0100 Subject: [PATCH 12/28] Avoid accidentally including bogus *.txt files as documentation - Include README.rst and CHANGES.rst instead This avoids packaging: COPYING.txt and LICENSE.txt (already installed as %license) INSTALL.txt (not relevant) ToDo.txt (original from pyrex) doc-requirements.txt test-requirements-27.txt test-requirements-312.txt test-requirements-34.txt test-requirements-36.txt test-requirements-cpython.txt test-requirements-pypy27.txt test-requirements.txt --- Cython.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 9bdea1e..af0eb78 100644 --- a/Cython.spec +++ b/Cython.spec @@ -124,7 +124,7 @@ export CFLAGS="${CFLAGS} -g1" %files -n python3-cython -f %{pyproject_files} -%doc *.txt Demos Doc Tools +%doc README.rst CHANGES.rst USAGE.txt Demos Doc Tools %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize From b472f69665155d13fc47b183c35a3df4c595ce2b Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 26 Mar 2025 22:43:04 +0100 Subject: [PATCH 13/28] Update to 3.0.12 - Fixes: rhbz#2344778 --- ...86242ee46cc16f0a6efef7eb40a5ab3c57d5.patch | 24 ------------------- Cython.spec | 6 +---- sources | 2 +- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch diff --git a/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch b/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch deleted file mode 100644 index 5442c4c..0000000 --- a/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 852286242ee46cc16f0a6efef7eb40a5ab3c57d5 Mon Sep 17 00:00:00 2001 -From: da-woods -Date: Wed, 25 Dec 2024 12:12:11 +0000 -Subject: [PATCH] Backport ufunc Numpy2 fix - ---- - tests/run/ufunc.pyx | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/run/ufunc.pyx b/tests/run/ufunc.pyx -index f489a07d5e4..b1895ee7903 100644 ---- a/tests/run/ufunc.pyx -+++ b/tests/run/ufunc.pyx -@@ -124,8 +124,8 @@ def test_plus_one_twice(): - Test a function returning a fused ctuple - >>> plus_one_twice(int_arr_1d) # doctest: +ELLIPSIS - (array([ 1, 5, 9, 13, 17]...), array([ 1, 5, 9, 13, 17]...)) -- >>> plus_one_twice(1.j) -- ((1+1j), (1+1j)) -+ >>> print(*plus_one_twice(1.j)) -+ (1+1j) (1+1j) - - 2D variant skipped because it's hard to sensible doctest - """ diff --git a/Cython.spec b/Cython.spec index af0eb78..46a91ad 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.11 +Version: 3.0.12 Release: %autorelease Summary: Language for writing Python extension modules @@ -13,10 +13,6 @@ License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz -# Backport patch for NumPy 2.x -# https://github.com/cython/cython/issues/6581 -Patch: https://github.com/cython/cython/commit/852286242ee46cc16f0a6efef7eb40a5ab3c57d5.patch - BuildRequires: python3-devel %if %{with tests} diff --git a/sources b/sources index a1c6015..fb14614 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.11.tar.gz) = 8f7982af5be1db1072b1090257a9d487dc341d79522f442f4608303d18b388349a7d586ec74e66fbffd0ce88c00ca622202729907fe7cefef71828cfd3f68fe6 +SHA512 (Cython-3.0.12.tar.gz) = bbf2cc662b846cf5ff9b686046ec210ea9d3893482e2b5a2696d2ad44f12facd15075b168a3eb6d1f4ea799786f676868eab2593451bceb2937aec2cb1aea99e From 63e867fd03f4c19cbc7e22e5476420438243599a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:14:40 +0200 Subject: [PATCH 14/28] Bootstrap for Python 3.14 --- Cython.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython.spec b/Cython.spec index 46a91ad..48ee6c4 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %bcond tests 1 # This bcond allows to ship a non-compiled version From 43375bfd29130a55ce0ca9af54dd8d5531a7ec0d Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 18 Jun 2025 15:50:46 +0200 Subject: [PATCH 15/28] Bootstrap for Python 3.14.0b3 bytecode From 8479a40394d9c8bb2612452d7b989f98ac8e1f66 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 21 Jul 2025 11:29:54 +0200 Subject: [PATCH 16/28] Unbootstrap for Python 3.14 --- Cython.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 48ee6c4..46a91ad 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %bcond tests 1 # This bcond allows to ship a non-compiled version From b19df3773ec8daab3444909d347283def4781523 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 15:44:56 +0000 Subject: [PATCH 17/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From eabd7d051ccf98f3787a53f5ef30ef5478e392ab Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 26 Jun 2025 02:56:19 +0200 Subject: [PATCH 18/28] Update to 3.1.2 - Fixes: rhbz#2365167, rhbz#2374314 --- Cython.spec | 2 +- sources | 2 +- tests/testsuite/main.fmf | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cython.spec b/Cython.spec index 46a91ad..caed175 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.12 +Version: 3.1.2 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index fb14614..741a985 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.12.tar.gz) = bbf2cc662b846cf5ff9b686046ec210ea9d3893482e2b5a2696d2ad44f12facd15075b168a3eb6d1f4ea799786f676868eab2593451bceb2937aec2cb1aea99e +SHA512 (Cython-3.1.2.tar.gz) = 52e840a77581d1ca435376750f54c5a231c357ab6c54ecfbc7383e202a83142ad30d0dc978a79360a66a7651bbe3fb0f4d786a24c1e34278253035572795a02e diff --git a/tests/testsuite/main.fmf b/tests/testsuite/main.fmf index 23d1dec..4f5b19b 100644 --- a/tests/testsuite/main.fmf +++ b/tests/testsuite/main.fmf @@ -12,8 +12,9 @@ require: - python3-pytest - flexiblas-devel # for pythran # ipython and pythran installed from PyPI, not available in RHEL + # Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075 test: | - pip install ipython==8.24.0 pythran==0.15.0 && + pip install pythran==0.18.0 && cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) && python3 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*' duration: 240m From 4131df38671a4fdd4e35559116b9e38a9ca993d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Jul 2025 19:06:30 +0200 Subject: [PATCH 19/28] CI: Use blas-devel for pip-installed pythran [skip changelog] --- tests/testsuite/main.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/main.fmf b/tests/testsuite/main.fmf index 4f5b19b..608f3c9 100644 --- a/tests/testsuite/main.fmf +++ b/tests/testsuite/main.fmf @@ -10,7 +10,7 @@ require: - python3-pip - python3-numpy - python3-pytest - - flexiblas-devel # for pythran + - blas-devel # for pythran # ipython and pythran installed from PyPI, not available in RHEL # Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075 test: | From 5aacdf9933c2e35d17367edcd56bc39417a854bb Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 13 Aug 2025 15:06:04 +0200 Subject: [PATCH 20/28] Update to 3.1.3 - Fixes: rhbz#2388173 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index caed175..a4d8f18 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.1.2 +Version: 3.1.3 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 741a985..425750e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.1.2.tar.gz) = 52e840a77581d1ca435376750f54c5a231c357ab6c54ecfbc7383e202a83142ad30d0dc978a79360a66a7651bbe3fb0f4d786a24c1e34278253035572795a02e +SHA512 (Cython-3.1.3.tar.gz) = 2f8b515441829f7a4f68fcb6cdcf6a2c6aaebde603f4e595fbadf6d5a81c1b8c9bdacc170354925c23ada4cc9497bbdf82fb6cc507b71a0fbb589b5d3988324e From df85e60d1024ff712b8d35303bb7611276107428 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:43:36 +0200 Subject: [PATCH 21/28] Rebuilt for Python 3.14.0rc2 bytecode From 36d2e823ed2bd0e80ee5853f7d5a19409faec1fa Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:12:56 +0200 Subject: [PATCH 22/28] Rebuilt for Python 3.14.0rc3 bytecode From d26d9ef002a4532488d300317e82bccc2308a831 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 8 Oct 2025 21:23:59 +0200 Subject: [PATCH 23/28] Update to 3.1.4 - Fixes: rhbz#2395654 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index a4d8f18..28e89e0 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.1.3 +Version: 3.1.4 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 425750e..78ef036 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.1.3.tar.gz) = 2f8b515441829f7a4f68fcb6cdcf6a2c6aaebde603f4e595fbadf6d5a81c1b8c9bdacc170354925c23ada4cc9497bbdf82fb6cc507b71a0fbb589b5d3988324e +SHA512 (Cython-3.1.4.tar.gz) = 72bb19bea95bf30130204ed843fc5f608b8a012bb98a458f71ddd74846b87f9b5778a316cc9422065cafbb1b1abd3b7553f74405b175b604e74f78988366e528 From 9f329e2bce90537294f70fc055ca326e43b9b6b7 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 22 Oct 2025 20:21:56 +0200 Subject: [PATCH 24/28] Update to 3.1.6 - Fixes: rhbz#2405056 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 28e89e0..bce9203 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.1.4 +Version: 3.1.6 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 78ef036..29d79b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.1.4.tar.gz) = 72bb19bea95bf30130204ed843fc5f608b8a012bb98a458f71ddd74846b87f9b5778a316cc9422065cafbb1b1abd3b7553f74405b175b604e74f78988366e528 +SHA512 (Cython-3.1.6.tar.gz) = d766b6aee3917b5ae98015d3ca837953baca340c7de0095fd55403ab77dfcc2446a09cd348afa2a640061cc5363887c370f90d4dfc62e317e86da8d668861a80 From c094a0ed36e5aec75b224e74497c5662079fad6c Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 5 Nov 2025 16:00:01 +0100 Subject: [PATCH 25/28] Update to 3.2.1 - Fixes: rhbz#2414622 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index bce9203..56644db 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.1.6 +Version: 3.2.1 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 29d79b0..86818f4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.1.6.tar.gz) = d766b6aee3917b5ae98015d3ca837953baca340c7de0095fd55403ab77dfcc2446a09cd348afa2a640061cc5363887c370f90d4dfc62e317e86da8d668861a80 +SHA512 (Cython-3.2.1.tar.gz) = 78556141f3683d0ba2145ded3f475880d7f4e0a41929ba43a3904609da15332de6ef675d62348ce649a8498cc245a6e11c60123eb524e75994eb29a3587d42a8 From 88f4ce7f6fc3173bf20e0e2bcbc11d0f657df006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Mon, 15 Dec 2025 11:56:20 +0100 Subject: [PATCH 26/28] Update to 3.2.3 - Fixes: rhbz#2419172 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 56644db..f00716b 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.2.1 +Version: 3.2.3 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 86818f4..9f07d97 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.2.1.tar.gz) = 78556141f3683d0ba2145ded3f475880d7f4e0a41929ba43a3904609da15332de6ef675d62348ce649a8498cc245a6e11c60123eb524e75994eb29a3587d42a8 +SHA512 (Cython-3.2.3.tar.gz) = 5d81031ebf9f60fbcbc1dbc210c17aa62b75141dd787f2391adfae6d983778d7b88a36a1ba0dcc31596b8e731c03edfb4b24d2a3647eaf2a22d94b869c906461 From 2c6f91d207106cb57babd67723c876067ad6ae1e Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 15 Jan 2026 06:55:58 +0100 Subject: [PATCH 27/28] Update to 3.2.4 - Fixes: rhbz#2427014 --- Cython.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index f00716b..b46e0f2 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.2.3 +Version: 3.2.4 Release: %autorelease Summary: Language for writing Python extension modules diff --git a/sources b/sources index 9f07d97..eca0943 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.2.3.tar.gz) = 5d81031ebf9f60fbcbc1dbc210c17aa62b75141dd787f2391adfae6d983778d7b88a36a1ba0dcc31596b8e731c03edfb4b24d2a3647eaf2a22d94b869c906461 +SHA512 (Cython-3.2.4.tar.gz) = 5ab8e39739a79debbe89b2ff5b6d88e1b7aafd5ad34460f14f3fc2bd90c10bdc9d6aa5b5844a48e30402dde9790cb9abcba3dc2b4e8cde24c4eeee818a180099 From f7a8a27b267424a4680fe94fbf315d6ebe322b8d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 02:31:09 +0000 Subject: [PATCH 28/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild