From f52c2ecc1128a50051e3e0d2091c5ead3601508a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 7 Jan 2022 10:44:03 +0100 Subject: [PATCH 01/73] Update to 0.29.26 --- .gitignore | 1 + Cython.spec | 8 ++++---- bf4979e244.patch | 23 ----------------------- sources | 2 +- 4 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 bf4979e244.patch diff --git a/.gitignore b/.gitignore index 4def83a..c7112e2 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 7738e0d..d53b843 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.24 +Version: 0.29.26 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -13,9 +13,6 @@ License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz -# Fix test issue -Patch0: https://github.com/cython/cython/commit/bf4979e244.patch - BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -130,6 +127,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Fri Jan 07 2022 Miro Hrončok - 0.29.26-1 +- Update to 0.29.26 + * Wed Jul 21 2021 Scott Talbert - 0.29.24-1 - Update to 0.29.24 to fix FTBFS with Python 3.10 diff --git a/bf4979e244.patch b/bf4979e244.patch deleted file mode 100644 index a3bd8cd..0000000 --- a/bf4979e244.patch +++ /dev/null @@ -1,23 +0,0 @@ -From bf4979e2441ffbc9aaeb88f5c67608578040588f Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Sat, 3 Apr 2021 08:23:44 +0200 -Subject: [PATCH] Make a helper function in a C++ test correctly propagate - exceptions so that it won't have to spit out compiler warnings. - ---- - tests/run/cpp_stl_conversion.pyx | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/run/cpp_stl_conversion.pyx b/tests/run/cpp_stl_conversion.pyx -index 578915a0b7..3ea404d256 100644 ---- a/tests/run/cpp_stl_conversion.pyx -+++ b/tests/run/cpp_stl_conversion.pyx -@@ -15,7 +15,7 @@ py_set = set - py_xrange = xrange - py_unicode = unicode - --cdef string add_strings(string a, string b): -+cdef string add_strings(string a, string b) except *: - return a + b - - def normalize(bytes b): diff --git a/sources b/sources index db6bb62..0144e6b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.24.tar.gz) = 387a827f3cb7428248019744e3ed606a133d98ac882b83624d24ae0fdf8a8f2334978555d7d84e5cc4adaf715c541fef64e45bcbdda85ca33473c21f99360be8 +SHA512 (Cython-0.29.26.tar.gz) = 936449dd0031c2e2baeb4402a448d632324c1b66bf062ae0e632cf63dc27556607efb8446e8f913253b761627d3946283c2a60fdcad8c2434e1601fe4b0fb60e From 6678a848994817d315b6a2fcf097d005fb9fd430 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 19:18:59 +0000 Subject: [PATCH 02/73] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index d53b843..99e4afe 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -127,6 +127,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 0.29.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jan 07 2022 Miro Hrončok - 0.29.26-1 - Update to 0.29.26 From db919742fcc1e4570dcd49eb6637c09ee2313dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 31 Mar 2022 13:55:01 +0200 Subject: [PATCH 03/73] Update to 0.29.28 --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c7112e2..549e016 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 99e4afe..009fd52 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.26 -Release: 2%{?dist} +Version: 0.29.28 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -127,6 +127,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Thu Mar 31 2022 Miro Hrončok - 0.29.28-1 +- Update to 0.29.28 + * Wed Jan 19 2022 Fedora Release Engineering - 0.29.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 0144e6b..bb9e6ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.26.tar.gz) = 936449dd0031c2e2baeb4402a448d632324c1b66bf062ae0e632cf63dc27556607efb8446e8f913253b761627d3946283c2a60fdcad8c2434e1601fe4b0fb60e +SHA512 (Cython-0.29.28.tar.gz) = 52490d0b5355e13cbe586830f763173d7556cf3d79d79192ca75138b1190e7a4c1f3feeb0568349802ef3b97300c3805f54eef5ffd73a5180d68f023ac2a44cd From ba54d3b2cd317491a063165068b4160b713cc37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 31 Mar 2022 13:55:10 +0200 Subject: [PATCH 04/73] Remove a very weird rm -rf that has not been needed for a long time --- Cython.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 009fd52..77d0380 100644 --- a/Cython.spec +++ b/Cython.spec @@ -90,7 +90,6 @@ cp -p Tools/cython-mode.el . %install %py3_install -- %{!?with_cython_compile:--no-cython-compile} -rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests # emacs-cython-mode install mkdir -p %{buildroot}%{_emacs_sitelispdir}/ From 374291e8ee4bb306ab2aed0bb1f81b7eb6836e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Mon, 16 May 2022 15:47:29 +0200 Subject: [PATCH 05/73] Update to 0.29.30 --- .gitignore | 2 ++ Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 549e016..c663909 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,5 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 77d0380..75d584e 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.28 +Version: 0.29.30 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -126,6 +126,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Mon May 30 2022 Tomáš Hrnčiar - 0.29.30-1 +- Update to 0.29.30 + * Thu Mar 31 2022 Miro Hrončok - 0.29.28-1 - Update to 0.29.28 diff --git a/sources b/sources index bb9e6ab..551e6a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.28.tar.gz) = 52490d0b5355e13cbe586830f763173d7556cf3d79d79192ca75138b1190e7a4c1f3feeb0568349802ef3b97300c3805f54eef5ffd73a5180d68f023ac2a44cd +SHA512 (Cython-0.29.30.tar.gz) = f6b07adfa1ebe9d52dfb72857ffd40b35d8777914299de101c7b96ee2d64cdd85ac0374ed41b382881b1f3ce535a9af9419dfabee9a4781a3f818125292627d4 From b85dfd3bda70305ada265e9440e26f751da0f1a3 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 14:53:36 +0200 Subject: [PATCH 06/73] Bootstrap for Python 3.11 --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 75d584e..6869b03 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %bcond_without tests # This bcond allows to ship a non-compiled version @@ -6,7 +7,7 @@ Name: Cython Version: 0.29.30 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -126,6 +127,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Mon Jun 13 2022 Python Maint - 0.29.30-2 +- Bootstrap for Python 3.11 + * Mon May 30 2022 Tomáš Hrnčiar - 0.29.30-1 - Update to 0.29.30 From 6dc133adcfa894b0d9664ad3ccb946d6a59e1def Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 18:55:39 +0200 Subject: [PATCH 07/73] Rebuilt for Python 3.11 --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 6869b03..d35b73f 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %bcond_without tests # This bcond allows to ship a non-compiled version @@ -7,7 +6,7 @@ Name: Cython Version: 0.29.30 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -127,6 +126,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Mon Jun 13 2022 Python Maint - 0.29.30-3 +- Rebuilt for Python 3.11 + * Mon Jun 13 2022 Python Maint - 0.29.30-2 - Bootstrap for Python 3.11 From 29491f052368c790b1cc0b463ae901df228d3e5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 18:34:09 +0000 Subject: [PATCH 08/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index d35b73f..50ee467 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.30 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -126,6 +126,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 0.29.30-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 0.29.30-3 - Rebuilt for Python 3.11 From 2f1be2ed78dd3a229a5d3954c3a738841f921180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 8 Aug 2022 12:03:50 +0200 Subject: [PATCH 09/73] Update to 0.29.32 --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c663909..e954ff8 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 50ee467..97b1920 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.30 -Release: 4%{?dist} +Version: 0.29.32 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -126,6 +126,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Mon Aug 08 2022 Miro Hrončok - 0.29.32-1 +- Update to 0.29.32 + * Wed Jul 20 2022 Fedora Release Engineering - 0.29.30-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 551e6a8..9a5af0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.30.tar.gz) = f6b07adfa1ebe9d52dfb72857ffd40b35d8777914299de101c7b96ee2d64cdd85ac0374ed41b382881b1f3ce535a9af9419dfabee9a4781a3f818125292627d4 +SHA512 (Cython-0.29.32.tar.gz) = 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f From 7b06dc068dab516cf00f49e06f7cbf49c2435553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 8 Aug 2022 12:04:40 +0200 Subject: [PATCH 10/73] Avoid RPM warning warning: line 71: Possible unexpanded macro in: Requires: emacs(bin) >= %{_emacs_version} --- Cython.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cython.spec b/Cython.spec index 97b1920..e6854fe 100644 --- a/Cython.spec +++ b/Cython.spec @@ -68,7 +68,9 @@ Provides: bundled(python3dist(tempita)) Summary: A major mode for editing Cython source files in Emacs BuildArch: noarch BuildRequires: emacs +%{?_emacs_version: Requires: emacs(bin) >= %{_emacs_version} +} %description -n emacs-cython-mode cython-mode is an Emacs major mode for editing Cython source files. From 4c46cbf0e07b6e5a8c111a025f62dd783b0d9d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 20 Dec 2022 01:14:01 +0100 Subject: [PATCH 11/73] emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters Fixes: https://bugzilla.redhat.com/2155090 --- Cython.spec | 11 ++++++++++- emacs-docstring-wrap.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 emacs-docstring-wrap.patch diff --git a/Cython.spec b/Cython.spec index e6854fe..4307358 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,13 +6,18 @@ Name: Cython Version: 0.29.32 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz +# Wrap the docstring of cython-default-compile-format to 80 characters +# Upstream PR: https://github.com/cython/emacs-cython-mode/pull/1 +# Fixes https://bugzilla.redhat.com/2155090 +Patch: emacs-docstring-wrap.patch + BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -128,6 +133,10 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Tue Dec 20 2022 Miro Hrončok - 0.29.32-2 +- emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters +- Fixes: rhbz#2155090 + * Mon Aug 08 2022 Miro Hrončok - 0.29.32-1 - Update to 0.29.32 diff --git a/emacs-docstring-wrap.patch b/emacs-docstring-wrap.patch new file mode 100644 index 0000000..792d6e2 --- /dev/null +++ b/emacs-docstring-wrap.patch @@ -0,0 +1,26 @@ +From 38339b8598b5cfaef324650368581f6967b024a0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Tue, 20 Dec 2022 01:08:58 +0100 +Subject: [PATCH] Wrap the docstring of cython-default-compile-format to 80 + characters + +This should avoid a warning as reported in: +https://bugzilla.redhat.com/show_bug.cgi?id=2155090 +--- + Tools/cython-mode.el | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Tools/cython-mode.el b/Tools/cython-mode.el +index 2d9fbae..970a765 100644 +--- a/Tools/cython-mode.el ++++ b/Tools/cython-mode.el +@@ -108,7 +108,8 @@ + ;;;###autoload + (defcustom cython-default-compile-format "cython -a %s" + "Format for the default command to compile a Cython file. +-It will be passed to `format' with `buffer-file-name' as the only other argument." ++It will be passed to `format' with `buffer-file-name' ++as the only other argument." + :group 'cython + :type 'string) + From 92cc956a763b0ec35a8ec653f972ba60a0d48afa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 19:43:47 +0000 Subject: [PATCH 12/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 4307358..29176be 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.32 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -133,6 +133,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 0.29.32-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Dec 20 2022 Miro Hrončok - 0.29.32-2 - emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters - Fixes: rhbz#2155090 From d52e2fc9c57bd7b300b791a49eec0baf8b5ad81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 17 Feb 2023 17:46:58 +0100 Subject: [PATCH 13/73] Update to 0.29.33 --- .gitignore | 1 + Cython.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e954ff8..dd6884b 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 29176be..c3592ef 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.32 -Release: 3%{?dist} +Version: 0.29.33 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -133,6 +133,10 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Fri Feb 17 2023 Miro Hrončok - 0.29.33-1 +- Update to 0.29.33 +- Fix test failures with NumPy 1.24 + * Wed Jan 18 2023 Fedora Release Engineering - 0.29.32-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 9a5af0a..757cea1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.32.tar.gz) = 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f +SHA512 (Cython-0.29.33.tar.gz) = 85f5ba7159d8793dbda980140b26086727f356a71d78f8522419657841d07b865d09c2f0a0f77d398669d071c1d261060235321a19eb7808e35d24f8ac71560d From d55635fb41d0d4b0500b48cc10936eec2537fc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 17 Feb 2023 17:47:57 +0100 Subject: [PATCH 14/73] Update the RPM license tag to SPDX --- Cython.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index c3592ef..7af3349 100644 --- a/Cython.spec +++ b/Cython.spec @@ -9,7 +9,7 @@ Version: 0.29.33 Release: 1%{?dist} Summary: Language for writing Python extension modules -License: ASL 2.0 +License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz @@ -136,6 +136,7 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir * Fri Feb 17 2023 Miro Hrončok - 0.29.33-1 - Update to 0.29.33 - Fix test failures with NumPy 1.24 +- Update the RPM license tag to SPDX * Wed Jan 18 2023 Fedora Release Engineering - 0.29.32-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 5c173e36d171f6fe10d17aa89e164bd408297e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 3 Apr 2023 08:21:24 +0200 Subject: [PATCH 15/73] Update to 0.29.34 Includes fixes for Python 3.12.0a5 and a6. --- .gitignore | 1 + Cython.spec | 8 +++++++- sources | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dd6884b..25dc7b3 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 7af3349..826f628 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.33 +Version: 0.29.34 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -133,6 +133,12 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Mon Apr 03 2023 Miro Hrončok - 0.29.34-1 +- Update to 0.29.34 +- Fixes: rhbz#1823181 +- Fixes: rhbz#2172822 +- Fixes: rhbz#2177838 + * Fri Feb 17 2023 Miro Hrončok - 0.29.33-1 - Update to 0.29.33 - Fix test failures with NumPy 1.24 diff --git a/sources b/sources index 757cea1..b937013 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.33.tar.gz) = 85f5ba7159d8793dbda980140b26086727f356a71d78f8522419657841d07b865d09c2f0a0f77d398669d071c1d261060235321a19eb7808e35d24f8ac71560d +SHA512 (Cython-0.29.34.tar.gz) = 51679d1304d0f87dfb51e60c753f1ce60027f855a91cf130a5dcf84353884a7dcf09c01701945ae2f9173f8f095890c377d5faac28c2f01d7f764609c0130411 From 5cc48f1485194db5e07f1271c6c5b94dc1908eb2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 24 May 2023 17:47:32 -0400 Subject: [PATCH 16/73] Avoid python-jedi dependency in RHEL builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit python-jedi is unwanted in RHEL; the tests which use it are skipped if absent, see the comment for details. Co-Authored-By: Miro Hrončok --- Cython.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 826f628..0655590 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.34 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -24,8 +24,15 @@ BuildRequires: python3-setuptools %if %{with tests} BuildRequires: gcc-c++ BuildRequires: python3-numpy +# 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. +%if %{undefined rhel} BuildRequires: python3-jedi %endif +%endif %if %{with cython_compile} BuildRequires: gcc @@ -133,6 +140,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Wed May 24 2023 Yaakov Selkowitz - 0.29.34-2 +- Avoid python-jedi dependency in RHEL builds + * Mon Apr 03 2023 Miro Hrončok - 0.29.34-1 - Update to 0.29.34 - Fixes: rhbz#1823181 From 1e9bead9ab3d4f5f9882e3c744c9511a31233d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 26 May 2023 10:47:05 +0200 Subject: [PATCH 17/73] Stop shipping emacs-cython-mode in RHEL builds --- Cython.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Cython.spec b/Cython.spec index 0655590..299f663 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,6 +4,9 @@ # Slower, but sometimes necessary with alpha Python versions %bcond_without cython_compile +# We don't ship emacs-cython-mode in EL. +%bcond emacs %{undefined rhel} + Name: Cython Version: 0.29.34 Release: 2%{?dist} @@ -76,6 +79,7 @@ Provides: bundled(python3dist(tempita)) %description -n python3-Cython %{_description} +%if %{with emacs} %package -n emacs-cython-mode Summary: A major mode for editing Cython source files in Emacs BuildArch: noarch @@ -86,6 +90,7 @@ Requires: emacs(bin) >= %{_emacs_version} %description -n emacs-cython-mode cython-mode is an Emacs major mode for editing Cython source files. +%endif %prep @@ -95,21 +100,25 @@ cython-mode is an Emacs major mode for editing Cython source files. %build %py3_build -- %{!?with_cython_compile:--no-cython-compile} +%if %{with emacs} # emacs-cython-mode build echo ";; (require 'cython-mode)" > cython-mode-init.el cp -p Tools/cython-mode.el . %{_emacs_bytecompile} *.el +%endif %install %py3_install -- %{!?with_cython_compile:--no-cython-compile} +%if %{with emacs} # emacs-cython-mode install mkdir -p %{buildroot}%{_emacs_sitelispdir}/ cp -p cython-mode.el cython-mode.elc %{buildroot}%{_emacs_sitelispdir}/ mkdir -p %{buildroot}%{_emacs_sitestartdir}/ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/ +%endif %if %{with tests} @@ -133,15 +142,18 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{python3_site}/pyximport/ %pycached %{python3_site}/cython.py +%if %{with emacs} %files -n emacs-cython-mode %license LICENSE.txt %{_emacs_sitelispdir}/cython*.el* %{_emacs_sitestartdir}/cython*.el* +%endif %changelog * Wed May 24 2023 Yaakov Selkowitz - 0.29.34-2 - Avoid python-jedi dependency in RHEL builds +- Stop shipping emacs-cython-mode in RHEL builds * Mon Apr 03 2023 Miro Hrončok - 0.29.34-1 - Update to 0.29.34 From e08af6dcb7ac9ce950e3c909456672b9a1a87604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 26 May 2023 10:56:41 +0200 Subject: [PATCH 18/73] Use a consistent %bcond syntax --- Cython.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 299f663..716d196 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,8 +1,8 @@ -%bcond_without tests +%bcond tests 1 # This bcond allows to ship a non-compiled version # Slower, but sometimes necessary with alpha Python versions -%bcond_without cython_compile +%bcond cython_compile 1 # We don't ship emacs-cython-mode in EL. %bcond emacs %{undefined rhel} From 1c3444e22e6d2bd74539f320dd6dd2449a77dda7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:25:36 +0200 Subject: [PATCH 19/73] Bootstrap for Python 3.12 --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 716d196..4f4e75f 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 @@ -9,7 +10,7 @@ Name: Cython Version: 0.29.34 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -151,6 +152,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Tue Jun 13 2023 Python Maint - 0.29.34-3 +- Bootstrap for Python 3.12 + * Wed May 24 2023 Yaakov Selkowitz - 0.29.34-2 - Avoid python-jedi dependency in RHEL builds - Stop shipping emacs-cython-mode in RHEL builds From 4a30dd7e9341803f7f8c02e69e1271ac2c672b4b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 16 Jun 2023 08:21:08 +0200 Subject: [PATCH 20/73] Rebuilt for Python 3.12 --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 4f4e75f..85e5c24 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 @@ -10,7 +9,7 @@ Name: Cython Version: 0.29.34 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -152,6 +151,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Fri Jun 16 2023 Python Maint - 0.29.34-4 +- Rebuilt for Python 3.12 + * Tue Jun 13 2023 Python Maint - 0.29.34-3 - Bootstrap for Python 3.12 From 5bbbb81a091f3cb9fd944e62ea37a1249e8e602e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 18 Jun 2023 18:31:10 +0200 Subject: [PATCH 21/73] Bootstrap Python 3.12 with 0.29.35 --- .gitignore | 1 + Cython.spec | 11 ++++++----- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 25dc7b3..6c9d337 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 85e5c24..3201e36 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,4 @@ -%bcond tests 1 +%bcond tests 0 # This bcond allows to ship a non-compiled version # Slower, but sometimes necessary with alpha Python versions @@ -8,8 +8,8 @@ %bcond emacs %{undefined rhel} Name: Cython -Version: 0.29.34 -Release: 4%{?dist} +Version: 0.29.35 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -151,8 +151,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog -* Fri Jun 16 2023 Python Maint - 0.29.34-4 -- Rebuilt for Python 3.12 +* Sun Jun 18 2023 Miro Hrončok - 0.29.35-1 +- Update to 0.29.35 +- Fixes: rhbz#2210064 * Tue Jun 13 2023 Python Maint - 0.29.34-3 - Bootstrap for Python 3.12 diff --git a/sources b/sources index b937013..2689fa0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.34.tar.gz) = 51679d1304d0f87dfb51e60c753f1ce60027f855a91cf130a5dcf84353884a7dcf09c01701945ae2f9173f8f095890c377d5faac28c2f01d7f764609c0130411 +SHA512 (Cython-0.29.35.tar.gz) = 35d679d94e1f731e004b83fb4ae0d569703b0800c913012308146b1c54463ce12cb1cf3733e24162fb357f179444c5ca31108a37850e6c749ddebac5175119f5 From c6b945e9de35df905af769607bd4f3e98c44e003 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 30 Jun 2023 16:52:02 +0200 Subject: [PATCH 22/73] Backport compile-time Python 3.12 compatibility for CYTHON_TRACE support --- Cython.spec | 10 +++++++++- py3.12-tracing.patch | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 py3.12-tracing.patch diff --git a/Cython.spec b/Cython.spec index 3201e36..109f5f0 100644 --- a/Cython.spec +++ b/Cython.spec @@ -9,7 +9,7 @@ Name: Cython Version: 0.29.35 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -21,6 +21,11 @@ Source: https://github.com/cython/cython/archive/%{version}/Cython-%{ver # Fixes https://bugzilla.redhat.com/2155090 Patch: emacs-docstring-wrap.patch +# Compile-time Python 3.12 compatibility for CYTHON_TRACE support +# Taken from the 3.x branch upstream. +# See: https://github.com/cython/cython/issues/5450 +Patch: https://github.com/cython/cython/commit/03c498d3142ccee2da258c540e96f12c863159fc.patch?/py3.12-tracing.patch + BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -151,6 +156,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* Fri Jun 30 2023 Petr Viktorin - 0.29.35-2 +- Compile-time Python 3.12 compatibility for CYTHON_TRACE support + * Sun Jun 18 2023 Miro Hrončok - 0.29.35-1 - Update to 0.29.35 - Fixes: rhbz#2210064 diff --git a/py3.12-tracing.patch b/py3.12-tracing.patch new file mode 100644 index 0000000..9d46643 --- /dev/null +++ b/py3.12-tracing.patch @@ -0,0 +1,43 @@ +From 03c498d3142ccee2da258c540e96f12c863159fc Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Mon, 29 May 2023 22:08:50 +0200 +Subject: [PATCH] Avoid using the thread state attribute "use_tracing" in + Python 3.12 where it was removed from the struct. + +See PEP-669 (https://peps.python.org/pep-0669/) and the implementation in https://github.com/python/cpython/pull/103083. +There is more to be done to properly support PEP-669, but this makes it compile. + +See https://github.com/cython/cython/issues/5450 +--- + Cython/Utility/Profile.c | 12 +++++++++--- + 1 file changed, 9 insertions(+), 3 deletions(-) + +diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c +index 20b599e7979..2b8564b226f 100644 +--- a/Cython/Utility/Profile.c ++++ b/Cython/Utility/Profile.c +@@ -61,15 +61,21 @@ + #define __Pyx_TraceFrameInit(codeobj) \ + if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; + ++ + #if PY_VERSION_HEX >= 0x030b00a2 ++ #if PY_VERSION_HEX >= 0x030C00b1 ++ #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ ++ ((!(check_tracing) || !(tstate)->tracing) && \ ++ (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc))) ++ #else + #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ + (unlikely((tstate)->cframe->use_tracing) && \ + (!(check_tracing) || !(tstate)->tracing) && \ + (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc))) ++ #endif + +- #define __Pyx_EnterTracing(tstate) PyThreadState_EnterTracing(tstate) +- +- #define __Pyx_LeaveTracing(tstate) PyThreadState_LeaveTracing(tstate) ++ #define __Pyx_EnterTracing(tstate) PyThreadState_EnterTracing(tstate) ++ #define __Pyx_LeaveTracing(tstate) PyThreadState_LeaveTracing(tstate) + + #elif PY_VERSION_HEX >= 0x030a00b1 + #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ From 47185aeaea75b67310fd209ae635b11b40070c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Thu, 23 Feb 2023 12:18:32 +0100 Subject: [PATCH 23/73] Update to 3.0.0rc2 --- .gitignore | 5 +++ Cython.spec | 66 +++++++------------------------------- emacs-docstring-wrap.patch | 26 --------------- py3.12-tracing.patch | 43 ------------------------- sources | 2 +- 5 files changed, 17 insertions(+), 125 deletions(-) delete mode 100644 emacs-docstring-wrap.patch delete mode 100644 py3.12-tracing.patch diff --git a/.gitignore b/.gitignore index 6c9d337..8b8aafe 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,8 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 109f5f0..1e9fe02 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,30 +1,19 @@ -%bcond tests 0 +%bcond tests 1 # This bcond allows to ship a non-compiled version # Slower, but sometimes necessary with alpha Python versions %bcond cython_compile 1 -# We don't ship emacs-cython-mode in EL. -%bcond emacs %{undefined rhel} - Name: Cython -Version: 0.29.35 -Release: 2%{?dist} +%global general_version 3.0.0 +%global prerel rc2 +Version: %{general_version}%{?prerel:~%{prerel}} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 URL: http://www.cython.org -Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz - -# Wrap the docstring of cython-default-compile-format to 80 characters -# Upstream PR: https://github.com/cython/emacs-cython-mode/pull/1 -# Fixes https://bugzilla.redhat.com/2155090 -Patch: emacs-docstring-wrap.patch - -# Compile-time Python 3.12 compatibility for CYTHON_TRACE support -# Taken from the 3.x branch upstream. -# See: https://github.com/cython/cython/issues/5450 -Patch: https://github.com/cython/cython/commit/03c498d3142ccee2da258c540e96f12c863159fc.patch?/py3.12-tracing.patch +Source: https://github.com/cython/cython/archive/%{general_version}%{?prerel:%{prerel}}/Cython-%{general_version}%{?prerel:%{prerel}}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -84,47 +73,17 @@ Provides: bundled(python3dist(tempita)) %description -n python3-Cython %{_description} -%if %{with emacs} -%package -n emacs-cython-mode -Summary: A major mode for editing Cython source files in Emacs -BuildArch: noarch -BuildRequires: emacs -%{?_emacs_version: -Requires: emacs(bin) >= %{_emacs_version} -} - -%description -n emacs-cython-mode -cython-mode is an Emacs major mode for editing Cython source files. -%endif - - %prep -%autosetup -n cython-%{version} -p1 +%autosetup -n cython-%{general_version}%{?prerel} -p1 %build %py3_build -- %{!?with_cython_compile:--no-cython-compile} -%if %{with emacs} -# emacs-cython-mode build -echo ";; -(require 'cython-mode)" > cython-mode-init.el -cp -p Tools/cython-mode.el . -%{_emacs_bytecompile} *.el -%endif - %install %py3_install -- %{!?with_cython_compile:--no-cython-compile} -%if %{with emacs} -# emacs-cython-mode install -mkdir -p %{buildroot}%{_emacs_sitelispdir}/ -cp -p cython-mode.el cython-mode.elc %{buildroot}%{_emacs_sitelispdir}/ -mkdir -p %{buildroot}%{_emacs_sitestartdir}/ -cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/ -%endif - %if %{with tests} %check @@ -147,15 +106,12 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{python3_site}/pyximport/ %pycached %{python3_site}/cython.py -%if %{with emacs} -%files -n emacs-cython-mode -%license LICENSE.txt -%{_emacs_sitelispdir}/cython*.el* -%{_emacs_sitestartdir}/cython*.el* -%endif - %changelog +* Thu Jul 13 2023 Tomáš Hrnčiar - 3.0.0~rc2-1 +- Update to 3.0.0rc2 +- The emacs-cython-mode package is no longer part of this project + * Fri Jun 30 2023 Petr Viktorin - 0.29.35-2 - Compile-time Python 3.12 compatibility for CYTHON_TRACE support diff --git a/emacs-docstring-wrap.patch b/emacs-docstring-wrap.patch deleted file mode 100644 index 792d6e2..0000000 --- a/emacs-docstring-wrap.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 38339b8598b5cfaef324650368581f6967b024a0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Tue, 20 Dec 2022 01:08:58 +0100 -Subject: [PATCH] Wrap the docstring of cython-default-compile-format to 80 - characters - -This should avoid a warning as reported in: -https://bugzilla.redhat.com/show_bug.cgi?id=2155090 ---- - Tools/cython-mode.el | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Tools/cython-mode.el b/Tools/cython-mode.el -index 2d9fbae..970a765 100644 ---- a/Tools/cython-mode.el -+++ b/Tools/cython-mode.el -@@ -108,7 +108,8 @@ - ;;;###autoload - (defcustom cython-default-compile-format "cython -a %s" - "Format for the default command to compile a Cython file. --It will be passed to `format' with `buffer-file-name' as the only other argument." -+It will be passed to `format' with `buffer-file-name' -+as the only other argument." - :group 'cython - :type 'string) - diff --git a/py3.12-tracing.patch b/py3.12-tracing.patch deleted file mode 100644 index 9d46643..0000000 --- a/py3.12-tracing.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 03c498d3142ccee2da258c540e96f12c863159fc Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Mon, 29 May 2023 22:08:50 +0200 -Subject: [PATCH] Avoid using the thread state attribute "use_tracing" in - Python 3.12 where it was removed from the struct. - -See PEP-669 (https://peps.python.org/pep-0669/) and the implementation in https://github.com/python/cpython/pull/103083. -There is more to be done to properly support PEP-669, but this makes it compile. - -See https://github.com/cython/cython/issues/5450 ---- - Cython/Utility/Profile.c | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c -index 20b599e7979..2b8564b226f 100644 ---- a/Cython/Utility/Profile.c -+++ b/Cython/Utility/Profile.c -@@ -61,15 +61,21 @@ - #define __Pyx_TraceFrameInit(codeobj) \ - if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; - -+ - #if PY_VERSION_HEX >= 0x030b00a2 -+ #if PY_VERSION_HEX >= 0x030C00b1 -+ #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ -+ ((!(check_tracing) || !(tstate)->tracing) && \ -+ (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc))) -+ #else - #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ - (unlikely((tstate)->cframe->use_tracing) && \ - (!(check_tracing) || !(tstate)->tracing) && \ - (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc))) -+ #endif - -- #define __Pyx_EnterTracing(tstate) PyThreadState_EnterTracing(tstate) -- -- #define __Pyx_LeaveTracing(tstate) PyThreadState_LeaveTracing(tstate) -+ #define __Pyx_EnterTracing(tstate) PyThreadState_EnterTracing(tstate) -+ #define __Pyx_LeaveTracing(tstate) PyThreadState_LeaveTracing(tstate) - - #elif PY_VERSION_HEX >= 0x030a00b1 - #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ diff --git a/sources b/sources index 2689fa0..df7bb5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.35.tar.gz) = 35d679d94e1f731e004b83fb4ae0d569703b0800c913012308146b1c54463ce12cb1cf3733e24162fb357f179444c5ca31108a37850e6c749ddebac5175119f5 +SHA512 (Cython-3.0.0rc2.tar.gz) = 42ff1b3f2509c90be6007b9156454ae89c1be26a9dde6ca9c109b0cfa3de30797eeeffef38ea1bfe37a9c8e062c776c8cb755826f8c25aa7c9703fbb031bf643 From d2e6364600bbced0cddebe3dfe8ff9bdef2922d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 17 Jul 2023 20:42:54 +0200 Subject: [PATCH 24/73] Update to 3.0.0 --- .gitignore | 1 + Cython.spec | 11 ++++++----- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8b8aafe..8c1ac3a 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 1e9fe02..63dc9c9 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,15 +5,13 @@ %bcond cython_compile 1 Name: Cython -%global general_version 3.0.0 -%global prerel rc2 -Version: %{general_version}%{?prerel:~%{prerel}} +Version: 3.0.0 Release: 1%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 URL: http://www.cython.org -Source: https://github.com/cython/cython/archive/%{general_version}%{?prerel:%{prerel}}/Cython-%{general_version}%{?prerel:%{prerel}}.tar.gz +Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -74,7 +72,7 @@ Provides: bundled(python3dist(tempita)) %prep -%autosetup -n cython-%{general_version}%{?prerel} -p1 +%autosetup -n cython-%{version} -p1 %build @@ -108,6 +106,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Mon Jul 17 2023 Miro Hrončok - 3.0.0-1 +- Update to 3.0.0 + * Thu Jul 13 2023 Tomáš Hrnčiar - 3.0.0~rc2-1 - Update to 3.0.0rc2 - The emacs-cython-mode package is no longer part of this project diff --git a/sources b/sources index df7bb5e..99eae7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.0rc2.tar.gz) = 42ff1b3f2509c90be6007b9156454ae89c1be26a9dde6ca9c109b0cfa3de30797eeeffef38ea1bfe37a9c8e062c776c8cb755826f8c25aa7c9703fbb031bf643 +SHA512 (Cython-3.0.0.tar.gz) = a9bf6f0a78accd0624bc2a61329541d97d60257ae3a6b6601f73bd9122427a3d460129b317f000d3061a4dfe3e6a6de59342354862ded13e85c7eb622ee39f9a From 1f32e41a7ebcfb180f69c9b1b4e6cae84074205e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 17 Jul 2023 21:59:59 +0200 Subject: [PATCH 25/73] Exclude tests failing on Python 3.12 --- Cython.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cython.spec b/Cython.spec index 63dc9c9..77a8210 100644 --- a/Cython.spec +++ b/Cython.spec @@ -85,7 +85,9 @@ Provides: bundled(python3dist(tempita)) %if %{with tests} %check +# run.pstats_profile_test* fails on Python 3.12 %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ + --exclude 'run.pstats_profile_test*' \ %ifarch %{ix86} --exclude run.parallel # https://github.com/cython/cython/issues/2807 %endif From 87851c9fe52eca59820c471089fce373b88478fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 18 Jul 2023 00:19:54 +0200 Subject: [PATCH 26/73] Add more optional test deps --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 77a8210..60b8eeb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -19,12 +19,15 @@ BuildRequires: python3-setuptools %if %{with tests} BuildRequires: gcc-c++ BuildRequires: python3-numpy +BuildRequires: python3-pythran +%if %{undefined rhel} +# We don't want to pull in ipython to RHEL just to run more tests. +BuildRequires: python3-ipython # 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. -%if %{undefined rhel} BuildRequires: python3-jedi %endif %endif From 14926296e2c2b7467b5a397ea92200492d942e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 19 Jul 2023 06:58:16 +0200 Subject: [PATCH 27/73] Rename python3-Cython to python3-cython --- Cython.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Cython.spec b/Cython.spec index 60b8eeb..34c6a14 100644 --- a/Cython.spec +++ b/Cython.spec @@ -57,13 +57,14 @@ libraries, and for fast C modules that speed up the execution of Python code.} %description %{_description} -%package -n python3-Cython +%package -n python3-cython Summary: %{summary} Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release} Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Provides: cython = %{?epoch:%{epoch}:}%{version}-%{release} Provides: cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -%py_provides python3-cython +%py_provides python3-Cython +Obsoletes: python3-Cython < 3~~ # A small templating library is bundled in Cython/Tempita # Upstream version 0.5.2 is available from https://pypi.org/project/Tempita @@ -71,7 +72,7 @@ Provides: cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} # Upstream homepage is inaccessible. Provides: bundled(python3dist(tempita)) -%description -n python3-Cython %{_description} +%description -n python3-cython %{_description} %prep @@ -98,7 +99,7 @@ Provides: bundled(python3dist(tempita)) %endif -%files -n python3-Cython +%files -n python3-cython %license LICENSE.txt %doc *.txt Demos Doc Tools %{_bindir}/cython @@ -113,6 +114,7 @@ Provides: bundled(python3dist(tempita)) %changelog * Mon Jul 17 2023 Miro Hrončok - 3.0.0-1 - Update to 3.0.0 +- Rename python3-Cython to python3-cython * Thu Jul 13 2023 Tomáš Hrnčiar - 3.0.0~rc2-1 - Update to 3.0.0rc2 From 8319632a829a764bdb87827a6577f772267f50b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 1 Sep 2023 16:14:25 +0200 Subject: [PATCH 28/73] Update to 3.0.2 --- .gitignore | 1 + Cython.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8c1ac3a..75f07e2 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 34c6a14..4ad12eb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.0 +Version: 3.0.2 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -112,6 +112,10 @@ Provides: bundled(python3dist(tempita)) %changelog +* Fri Sep 01 2023 Miro Hrončok - 3.0.2-1 +- Update to 3.0.2 +- Fixes: rhbz#2235027 + * Mon Jul 17 2023 Miro Hrončok - 3.0.0-1 - Update to 3.0.0 - Rename python3-Cython to python3-cython diff --git a/sources b/sources index 99eae7f..8414d01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.0.tar.gz) = a9bf6f0a78accd0624bc2a61329541d97d60257ae3a6b6601f73bd9122427a3d460129b317f000d3061a4dfe3e6a6de59342354862ded13e85c7eb622ee39f9a +SHA512 (Cython-3.0.2.tar.gz) = f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 From 7cb8cd10402e117aed984554a992813f44caae24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Oct 2023 12:15:25 +0200 Subject: [PATCH 29/73] Update to 3.0.3 --- .gitignore | 1 + Cython.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 75f07e2..7740595 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 4ad12eb..9b54489 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.2 +Version: 3.0.3 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -112,6 +112,10 @@ Provides: bundled(python3dist(tempita)) %changelog +* Fri Oct 13 2023 Miro Hrončok - 3.0.3-1 +- Update to 3.0.3 +- Fixes: rhbz#2242429 + * Fri Sep 01 2023 Miro Hrončok - 3.0.2-1 - Update to 3.0.2 - Fixes: rhbz#2235027 diff --git a/sources b/sources index 8414d01..996dedd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.2.tar.gz) = f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 +SHA512 (Cython-3.0.3.tar.gz) = c27c16abaf0122ad61e0eeb92aa80a33fc491332b8ebec209cd1810d2b0e3bf14fe1e81838803b86f407520a6d6f7ab8b84d97e495e7d91fd6f7702a46980caa From 7b55261c3d438908d3b957121e4a1fa7db614533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Oct 2023 14:59:48 +0200 Subject: [PATCH 30/73] Add upstream link to the comment about skipped pstats profile tests --- Cython.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython.spec b/Cython.spec index 9b54489..c0c477b 100644 --- a/Cython.spec +++ b/Cython.spec @@ -90,6 +90,7 @@ Provides: bundled(python3dist(tempita)) %if %{with tests} %check # run.pstats_profile_test* fails on Python 3.12 +# https://github.com/cython/cython/issues/5470 %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ --exclude 'run.pstats_profile_test*' \ %ifarch %{ix86} From 2323ac7d60b0c2b83290c9aa9823ee7fd531cc03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 18 Oct 2023 00:29:27 +0200 Subject: [PATCH 31/73] Exclude gil_in_var on i686 --- Cython.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index c0c477b..fdf8180 100644 --- a/Cython.spec +++ b/Cython.spec @@ -91,10 +91,15 @@ Provides: bundled(python3dist(tempita)) %check # run.pstats_profile_test* fails on Python 3.12 # https://github.com/cython/cython/issues/5470 +# run.parallel fails on i686 +# https://github.com/cython/cython/issues/2807 +# gil_in_var fails on i686 +# https://github.com/cython/cython/issues/5768 %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ --exclude 'run.pstats_profile_test*' \ %ifarch %{ix86} - --exclude run.parallel # https://github.com/cython/cython/issues/2807 + --exclude run.parallel \ + --exclude gil_in_var \ %endif %endif From 816bc6d12faaab23f67272b3c78eea3a4bef6e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Oct 2023 14:58:38 +0200 Subject: [PATCH 32/73] Add more optional test dependencies to run more tests --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index fdf8180..f8a8a11 100644 --- a/Cython.spec +++ b/Cython.spec @@ -18,11 +18,15 @@ BuildRequires: python3-setuptools %if %{with tests} BuildRequires: gcc-c++ +BuildRequires: gdb +# optionally uses Python's test.support for some test +BuildRequires: python3-test BuildRequires: python3-numpy BuildRequires: python3-pythran %if %{undefined rhel} # We don't want to pull in ipython to RHEL just to run more tests. -BuildRequires: python3-ipython +# The tests use IPython.testing.globalipapp +BuildRequires: python3-ipython+test # 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. From b652c0db5c3f79206f2f54675355d6cc38517395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 18 Oct 2023 20:12:46 +0200 Subject: [PATCH 33/73] Update to 3.0.4 --- .gitignore | 1 + Cython.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7740595..64d6545 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index f8a8a11..257fdb9 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.3 +Version: 3.0.4 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -122,6 +122,10 @@ Provides: bundled(python3dist(tempita)) %changelog +* Wed Oct 18 2023 Miro Hrončok - 3.0.4-1 +- Update to 3.0.4 +- Fixes: rhbz#2244865 + * Fri Oct 13 2023 Miro Hrončok - 3.0.3-1 - Update to 3.0.3 - Fixes: rhbz#2242429 diff --git a/sources b/sources index 996dedd..f120c14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.3.tar.gz) = c27c16abaf0122ad61e0eeb92aa80a33fc491332b8ebec209cd1810d2b0e3bf14fe1e81838803b86f407520a6d6f7ab8b84d97e495e7d91fd6f7702a46980caa +SHA512 (Cython-3.0.4.tar.gz) = bc87e38f9c188a5311f75f49ba4b9ec1ee0af00ff9ed655ca69972891f8b0801025265f8cad4521670088275c7da3d6136aeda7ebb6a33554f64cc7aef362c73 From 86fdd7be24103f07a0dacc747593226720cb8bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 31 Oct 2023 17:06:56 +0100 Subject: [PATCH 34/73] Update to 3.0.5 --- .gitignore | 1 + Cython.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 64d6545..9e96b0a 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 257fdb9..427cb37 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.4 +Version: 3.0.5 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -97,13 +97,10 @@ Provides: bundled(python3dist(tempita)) # https://github.com/cython/cython/issues/5470 # run.parallel fails on i686 # https://github.com/cython/cython/issues/2807 -# gil_in_var fails on i686 -# https://github.com/cython/cython/issues/5768 %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ --exclude 'run.pstats_profile_test*' \ %ifarch %{ix86} --exclude run.parallel \ - --exclude gil_in_var \ %endif %endif @@ -122,6 +119,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Tue Oct 31 2023 Miro Hrončok - 3.0.5-1 +- Update to 3.0.5 + * Wed Oct 18 2023 Miro Hrončok - 3.0.4-1 - Update to 3.0.4 - Fixes: rhbz#2244865 diff --git a/sources b/sources index f120c14..2b43564 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.4.tar.gz) = bc87e38f9c188a5311f75f49ba4b9ec1ee0af00ff9ed655ca69972891f8b0801025265f8cad4521670088275c7da3d6136aeda7ebb6a33554f64cc7aef362c73 +SHA512 (Cython-3.0.5.tar.gz) = 585d3fe810ace55278fcc6ea4508b3b5259320f92998cd688da787cd5f88ac5fc2467025f20da6d968969eb3296ae9c517136d24a4dbb475441271227968f6be From 5907573e25197b02e65c39c373b52ff8b12b756d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Oct 2023 14:56:47 +0200 Subject: [PATCH 35/73] Convert to pyproject-rpm-macros --- Cython.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/Cython.spec b/Cython.spec index 427cb37..9a0a9f9 100644 --- a/Cython.spec +++ b/Cython.spec @@ -14,13 +14,14 @@ URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz BuildRequires: python3-devel -BuildRequires: python3-setuptools %if %{with tests} BuildRequires: gcc-c++ BuildRequires: gdb # optionally uses Python's test.support for some test 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} @@ -38,10 +39,8 @@ BuildRequires: python3-jedi %if %{with cython_compile} BuildRequires: gcc -%global python3_site %{python3_sitearch} %else BuildArch: noarch -%global python3_site %{python3_sitelib} %endif %global _description %{expand: @@ -83,12 +82,17 @@ Provides: bundled(python3dist(tempita)) %autosetup -n cython-%{version} -p1 +%generate_buildrequires +%pyproject_buildrequires + + %build -%py3_build -- %{!?with_cython_compile:--no-cython-compile} +%pyproject_wheel %{!?with_cython_compile:-C--global-option=--no-cython-compile} %install -%py3_install -- %{!?with_cython_compile:--no-cython-compile} +%pyproject_install +%pyproject_save_files Cython cython pyximport %if %{with tests} @@ -106,16 +110,11 @@ Provides: bundled(python3dist(tempita)) %endif -%files -n python3-cython -%license LICENSE.txt +%files -n python3-cython -f %{pyproject_files} %doc *.txt Demos Doc Tools %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize -%{python3_site}/Cython-*.egg-info/ -%{python3_site}/Cython/ -%{python3_site}/pyximport/ -%pycached %{python3_site}/cython.py %changelog From 704bbe1117e7905f435ccb9e37404b2e9a5dc83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Nov 2023 11:37:34 +0100 Subject: [PATCH 36/73] Fix C++17 error: standard attributes in middle of decl-specifiers (CYTHON_UNUSED) This is only relevant on Python 3.13+ Fixes (part of) https://bugzilla.redhat.com/2247486 --- 5791.patch | 35 +++++++++++++++++++++++++++++++++++ Cython.spec | 4 ++++ 2 files changed, 39 insertions(+) create mode 100644 5791.patch diff --git a/5791.patch b/5791.patch new file mode 100644 index 0000000..6b6286b --- /dev/null +++ b/5791.patch @@ -0,0 +1,35 @@ +From add379d9df149149e3718bd8f71945b7d02fcf4e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Wed, 1 Nov 2023 21:32:40 +0100 +Subject: [PATCH] Fix C++17 error: standard attributes in middle of + decl-specifiers (CYTHON_UNUSED) + +This is only relevant on Python 3.13+ + +Fixes https://github.com/cython/cython/issues/5790 +--- + Cython/Utility/FunctionArguments.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Cython/Utility/FunctionArguments.c b/Cython/Utility/FunctionArguments.c +index 5050a094a88..0dc89c638ab 100644 +--- a/Cython/Utility/FunctionArguments.c ++++ b/Cython/Utility/FunctionArguments.c +@@ -505,7 +505,7 @@ static int __Pyx_MergeKeywords(PyObject *kwdict, PyObject *source_mapping) { + #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) + static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 +- static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/ ++ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/ + #else + #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) + #endif +@@ -563,7 +563,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO + } + + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 +-static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { ++CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { + Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames); + PyObject *dict; + diff --git a/Cython.spec b/Cython.spec index 9a0a9f9..e8ad94e 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 +# Fix C++17 error: standard attributes in middle of decl-specifiers (CYTHON_UNUSED) +# This is only relevant on Python 3.13+ +Patch: https://github.com/cython/cython/pull/5791.patch + BuildRequires: python3-devel %if %{with tests} From 4f6fdd4aa88515e1a6848ae1cb22aa75c1ac31fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 30 Nov 2023 13:34:45 +0100 Subject: [PATCH 37/73] Update to 3.0.6 --- .gitignore | 1 + 5791.patch | 35 ----------------------------------- Cython.spec | 10 +++++----- sources | 2 +- 4 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 5791.patch diff --git a/.gitignore b/.gitignore index 9e96b0a..0e75349 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ Cython-0.12.1.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 diff --git a/5791.patch b/5791.patch deleted file mode 100644 index 6b6286b..0000000 --- a/5791.patch +++ /dev/null @@ -1,35 +0,0 @@ -From add379d9df149149e3718bd8f71945b7d02fcf4e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Wed, 1 Nov 2023 21:32:40 +0100 -Subject: [PATCH] Fix C++17 error: standard attributes in middle of - decl-specifiers (CYTHON_UNUSED) - -This is only relevant on Python 3.13+ - -Fixes https://github.com/cython/cython/issues/5790 ---- - Cython/Utility/FunctionArguments.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Cython/Utility/FunctionArguments.c b/Cython/Utility/FunctionArguments.c -index 5050a094a88..0dc89c638ab 100644 ---- a/Cython/Utility/FunctionArguments.c -+++ b/Cython/Utility/FunctionArguments.c -@@ -505,7 +505,7 @@ static int __Pyx_MergeKeywords(PyObject *kwdict, PyObject *source_mapping) { - #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) - static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 -- static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/ -+ CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);/*proto*/ - #else - #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) - #endif -@@ -563,7 +563,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO - } - - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 --static CYTHON_UNUSED PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { -+CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { - Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames); - PyObject *dict; - diff --git a/Cython.spec b/Cython.spec index e8ad94e..c79cf60 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.5 +Version: 3.0.6 Release: 1%{?dist} 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 -# Fix C++17 error: standard attributes in middle of decl-specifiers (CYTHON_UNUSED) -# This is only relevant on Python 3.13+ -Patch: https://github.com/cython/cython/pull/5791.patch - BuildRequires: python3-devel %if %{with tests} @@ -122,6 +118,10 @@ Provides: bundled(python3dist(tempita)) %changelog +* Thu Nov 30 2023 Miro Hrončok - 3.0.6-1 +- Update to 3.0.6 +- Fixes: rhbz#2251973 + * Tue Oct 31 2023 Miro Hrončok - 3.0.5-1 - Update to 3.0.5 diff --git a/sources b/sources index 2b43564..2867e9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.5.tar.gz) = 585d3fe810ace55278fcc6ea4508b3b5259320f92998cd688da787cd5f88ac5fc2467025f20da6d968969eb3296ae9c517136d24a4dbb475441271227968f6be +SHA512 (Cython-3.0.6.tar.gz) = f1d33775166d0b6541ea98bee5d4186fc6128aad788323224397c1f3ba0a058141ac84a8b3baa4885204dcbf0979141bc4b5316342003e96208952f040f31753 From 8f389c71bfd4335663367d3d5ddd2b2f3159b38b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jan 2024 12:16:29 +0000 Subject: [PATCH 38/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index c79cf60..b9b7700 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 3.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -118,6 +118,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Thu Jan 18 2024 Fedora Release Engineering - 3.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Nov 30 2023 Miro Hrončok - 3.0.6-1 - Update to 3.0.6 - Fixes: rhbz#2251973 From df22711179a74765f1395c1dc733ea4a6a832282 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 09:27:59 +0000 Subject: [PATCH 39/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index b9b7700..15f9042 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 3.0.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -118,6 +118,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 3.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jan 18 2024 Fedora Release Engineering - 3.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c04aea32e5d9e7060adef29f8aceba4262b12f88 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 20:52:34 +0000 Subject: [PATCH 40/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 15f9042..3f15e98 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 3.0.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -118,6 +118,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 3.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 3.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 642a7aa4e119b50c6e263f0b843b22da63120dbd Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 23 Jan 2024 12:44:46 +0100 Subject: [PATCH 41/73] Update to 3.0.8 (rhbz#2255460) --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0e75349..781a28b 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 3f15e98..84a0f2c 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.6 -Release: 4%{?dist} +Version: 3.0.8 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: Apache-2.0 @@ -118,6 +118,9 @@ Provides: bundled(python3dist(tempita)) %changelog +* Tue Jan 23 2024 Lumír Balhar - 3.0.8-1 +- Update to 3.0.8 (rhbz#2255460) + * Mon Jan 22 2024 Fedora Release Engineering - 3.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 2867e9c..ba50df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.6.tar.gz) = f1d33775166d0b6541ea98bee5d4186fc6128aad788323224397c1f3ba0a058141ac84a8b3baa4885204dcbf0979141bc4b5316342003e96208952f040f31753 +SHA512 (Cython-3.0.8.tar.gz) = 1070fc278401990595d177b0e6396bc1eba2ea8234a7c5bb26399b6b7284de7791ee5fa60ef74d06d0f4120b9c877bfd7703a7d701838f1634737526c614b860 From f800157870f463bc64a106c4c5b391b987fd07d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 29 Jan 2024 15:32:28 +0100 Subject: [PATCH 42/73] Convert to %autorelease and %autochangelog [skip changelog] --- Cython.spec | 494 +--------------------------------------------------- changelog | 491 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 493 insertions(+), 492 deletions(-) create mode 100644 changelog diff --git a/Cython.spec b/Cython.spec index 84a0f2c..e1cd0f8 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 3.0.8 -Release: 1%{?dist} +Release: %autorelease Summary: Language for writing Python extension modules License: Apache-2.0 @@ -118,494 +118,4 @@ Provides: bundled(python3dist(tempita)) %changelog -* Tue Jan 23 2024 Lumír Balhar - 3.0.8-1 -- Update to 3.0.8 (rhbz#2255460) - -* Mon Jan 22 2024 Fedora Release Engineering - 3.0.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 3.0.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jan 18 2024 Fedora Release Engineering - 3.0.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Nov 30 2023 Miro Hrončok - 3.0.6-1 -- Update to 3.0.6 -- Fixes: rhbz#2251973 - -* Tue Oct 31 2023 Miro Hrončok - 3.0.5-1 -- Update to 3.0.5 - -* Wed Oct 18 2023 Miro Hrončok - 3.0.4-1 -- Update to 3.0.4 -- Fixes: rhbz#2244865 - -* Fri Oct 13 2023 Miro Hrončok - 3.0.3-1 -- Update to 3.0.3 -- Fixes: rhbz#2242429 - -* Fri Sep 01 2023 Miro Hrončok - 3.0.2-1 -- Update to 3.0.2 -- Fixes: rhbz#2235027 - -* Mon Jul 17 2023 Miro Hrončok - 3.0.0-1 -- Update to 3.0.0 -- Rename python3-Cython to python3-cython - -* Thu Jul 13 2023 Tomáš Hrnčiar - 3.0.0~rc2-1 -- Update to 3.0.0rc2 -- The emacs-cython-mode package is no longer part of this project - -* Fri Jun 30 2023 Petr Viktorin - 0.29.35-2 -- Compile-time Python 3.12 compatibility for CYTHON_TRACE support - -* Sun Jun 18 2023 Miro Hrončok - 0.29.35-1 -- Update to 0.29.35 -- Fixes: rhbz#2210064 - -* Tue Jun 13 2023 Python Maint - 0.29.34-3 -- Bootstrap for Python 3.12 - -* Wed May 24 2023 Yaakov Selkowitz - 0.29.34-2 -- Avoid python-jedi dependency in RHEL builds -- Stop shipping emacs-cython-mode in RHEL builds - -* Mon Apr 03 2023 Miro Hrončok - 0.29.34-1 -- Update to 0.29.34 -- Fixes: rhbz#1823181 -- Fixes: rhbz#2172822 -- Fixes: rhbz#2177838 - -* Fri Feb 17 2023 Miro Hrončok - 0.29.33-1 -- Update to 0.29.33 -- Fix test failures with NumPy 1.24 -- Update the RPM license tag to SPDX - -* Wed Jan 18 2023 Fedora Release Engineering - 0.29.32-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Dec 20 2022 Miro Hrončok - 0.29.32-2 -- emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters -- Fixes: rhbz#2155090 - -* Mon Aug 08 2022 Miro Hrončok - 0.29.32-1 -- Update to 0.29.32 - -* Wed Jul 20 2022 Fedora Release Engineering - 0.29.30-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 0.29.30-3 -- Rebuilt for Python 3.11 - -* Mon Jun 13 2022 Python Maint - 0.29.30-2 -- Bootstrap for Python 3.11 - -* Mon May 30 2022 Tomáš Hrnčiar - 0.29.30-1 -- Update to 0.29.30 - -* Thu Mar 31 2022 Miro Hrončok - 0.29.28-1 -- Update to 0.29.28 - -* Wed Jan 19 2022 Fedora Release Engineering - 0.29.26-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jan 07 2022 Miro Hrončok - 0.29.26-1 -- Update to 0.29.26 - -* Wed Jul 21 2021 Scott Talbert - 0.29.24-1 -- Update to 0.29.24 to fix FTBFS with Python 3.10 - -* Wed Jul 21 2021 Fedora Release Engineering - 0.29.22-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jun 02 2021 Python Maint - 0.29.22-4 -- Rebuilt for Python 3.10 - -* Wed Jun 02 2021 Python Maint - 0.29.22-3 -- Bootstrap for Python 3.10 - -* Tue Mar 09 2021 Miro Hrončok - 0.29.22-2 -- Remove an obsoleted patch -- Remove old Obsoletes and Conflicts -- Update description -- Provide cython, python3-cython - -* Thu Mar 04 2021 Miro Hrončok - 0.29.22-1 -- Update to 0.29.22 - -* Mon Jan 25 2021 Fedora Release Engineering - 0.29.21-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Fri Nov 13 2020 Miro Hrončok - 0.29.21-4 -- Drop build dependency on coverage - -* Mon Jul 27 2020 Fedora Release Engineering - 0.29.21-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 22 2020 Gwyn Ciesla - 0.29.21-2 -- Re-enable tests. - -* Wed Jul 22 2020 Gwyn Ciesla - 0.29.21-1 -- 0.29.21 - -* Wed May 27 2020 sguelton@redhat.com - 0.29.19-1 -- Update to 0.29.19 - -* Mon May 25 2020 Miro Hrončok - 0.29.17-4 -- Rebuilt for Python 3.9 - -* Fri May 22 2020 Miro Hrončok - 0.29.17-3 -- Bootstrap for Python 3.9 - -* Wed May 13 2020 Petr Viktorin - 0.29.17-2 -- Backport classmethod fixes - Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1788506 - -* Tue Apr 28 2020 Marcel Plch - 0.29.17-1 -- Update to 0.29.17 - -* Wed Mar 25 2020 Miro Hrončok - 0.29.16-1 -- Update to 0.29.16 (#1816785) - -* Sat Feb 08 2020 Miro Hrončok - 0.29.15-1 -- Update to 0.29.15 (#1800158) - -* Tue Jan 28 2020 Fedora Release Engineering - 0.29.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Nov 04 2019 Miro Hrončok - 0.29.14-1 -- Update to 0.29.14 (#1768034) -- Python 2 subpackage has been removed - -* Thu Oct 03 2019 Miro Hrončok - 0.29.13-5 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Thu Aug 15 2019 Miro Hrončok - 0.29.13-4 -- Rebuilt for Python 3.8 - -* Thu Aug 15 2019 Miro Hrončok - 0.29.13-3 -- Bootstrap for Python 3.8 - -* Thu Aug 01 2019 Gwyn Ciesla 0.29.13-2 -- Rebuild with new numpy. - -* Sat Jul 27 11:58:51 CEST 2019 Igor Gnatenko - 0.29.13-1 -- Update to 0.29.13 - -* Wed Jul 24 2019 Fedora Release Engineering - 0.29.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Jul 22 2019 Petr Viktorin - 0.29.12-2 -- Remove non-essential Python 2 test dependencies - -* Thu Jul 11 2019 Miro Hrončok - 0.29.12-1 -- Update to 0.29.12 (#1727580) - -* Mon Jul 01 2019 Miro Hrončok - 0.29.11-1 -- Update to 0.29.11 (#1725361) - -* Sun Jun 02 2019 Charalampos Stratakis - 0.29.10-1 -- Update to 0.29.10 (#1716146) - -* Thu May 30 2019 Miro Hrončok - 0.29.9-1 -- Update to 0.29.9 (#1714365) - -* Mon May 13 07:10:35 CEST 2019 Igor Gnatenko - 0.29.7-1 -- Update to 0.29.7 - -* Wed Feb 27 2019 Miro Hrončok - 0.29.6-1 -- Update to 0.29.6 (#1683661) - -* Fri Feb 08 2019 Miro Hrončok - 0.29.5-1 -- Update to 0.29.5 (#1667643) - -* Thu Jan 31 2019 Fedora Release Engineering - 0.29.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jan 19 2019 Miro Hrončok - 0.29.3-1 -- Update to 0.29.3 (#1667643) - -* Tue Jan 08 2019 Alex Cobb - 0.29.1-2 -- Added emacs-cython-mode subpackage - -* Mon Dec 10 2018 Igor Gnatenko - 0.29.1-1 -- Update to 0.29.1 - -* Mon Dec 10 2018 Igor Gnatenko - 0.29-1 -- Update to 0.29 - -* Wed Oct 03 2018 Igor Gnatenko - 0.29~rc2-1 -- Update to 0.29~rc2 - -* Sat Aug 11 2018 Igor Gnatenko - 0.28.5-1 -- Update to 0.28.5 - -* Sun Aug 05 2018 Miro Hrončok - 0.28.4-3 -- Only have one /usr/bin/cython - -* Sun Jul 15 2018 Igor Gnatenko - 0.28.4-1 -- Update to 0.28.4 - -* Thu Jul 12 2018 Fedora Release Engineering - 0.28.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Jun 15 2018 Miro Hrončok - 0.28.1-2 -- Rebuilt for Python 3.7 - -* Mon Mar 19 2018 Igor Gnatenko - 0.28.1-1 -- Update to 0.28.1 - -* Wed Feb 07 2018 Fedora Release Engineering - 0.27.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Nov 06 2017 Igor Gnatenko - 0.27.3-1 -- Update to 0.27.3 - -* Mon Oct 02 2017 Igor Gnatenko - 0.27.1-1 -- Update to 0.27.1 - -* Wed Aug 02 2017 Fedora Release Engineering - 0.25.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.25.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 03 2017 Igor Gnatenko - 0.25.2-5 -- Fix license - -* Fri Feb 10 2017 Fedora Release Engineering - 0.25.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Dec 22 2016 Igor Gnatenko - 0.25.2-3 -- Backport couple of patches - -* Mon Dec 12 2016 Charalampos Stratakis - 0.25.2-2 -- Rebuild for Python 3.6 - -* Sat Dec 10 2016 Igor Gnatenko - 0.25.2-1 -- Update to 0.25.2 - -* Sat Aug 27 2016 Igor Gnatenko - 0.24.1-8 -- Fix provides (RHBZ #1370879) - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-7 -- Run test suite - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-6 -- Provide old names - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-5 -- Use %%python_provide - -* Tue Aug 23 2016 Igor Gnatenko - 0.24.1-4 -- Update to 0.24.1 - -* Tue Jul 19 2016 Fedora Release Engineering - 0.23.4-4 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 0.23.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 13 2016 Orion Poplawski - 0.23.4-1 -- Update to 0.23.4 -- Ship cythonize3 -- Modernize and cleanup spec -- Run tests, one python3 test fails with 3.5 - -* Tue Oct 13 2015 Robert Kuska - 0.23-2 -- Rebuilt for Python3.5 rebuild - -* Wed Aug 12 2015 Neal Becker - 0.23-2 -- Update to 0.23 - -* Tue Jun 16 2015 Fedora Release Engineering - 0.22-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Feb 13 2015 nbecker - 0.22-1 -- oops, that should be 0.22 not 0.22.1 - -* Fri Feb 13 2015 nbecker - 0.22.1-1 -- Update to 0.22 - -* Sat Nov 22 2014 nbecker - 0.21.1-1 -- Update to 0.21.1 (br #1164297) - -* Mon Sep 15 2014 nbecker - 0.21-5 -- Add /bin/cythonize - -* Mon Sep 15 2014 nbecker - 0.21-1 -- Update to 0.21 - -* Fri Aug 15 2014 Fedora Release Engineering - 0.20.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 06 2014 Fedora Release Engineering - 0.20.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Thomas Spura - 0.20.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Fri May 9 2014 Orion Poplawski - 0.20.1-2 -- Rebuild for Python 3.4 - -* Fri May 9 2014 Orion Poplawski - 0.20.1-1 -- Update to 0.20.1 - -* Mon Jan 20 2014 nbecker - 0.20-1 -- Update to 0.20 - -* Thu Oct 17 2013 nbecker - 0.19.2-2 -- Fix BR 1019498 - -* Sun Oct 13 2013 nbecker - 0.19-2 -- Update to 0.19.2 - -* Fri Aug 02 2013 Fedora Release Engineering - 0.19-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Apr 19 2013 nbecker - 0.19-1 -- Update to 0.19 - -* Tue Jan 29 2013 Neal Becker - 0.18-1 -- update to 0.18 - -* Sat Dec 15 2012 Neal Becker - 0.17.3-1 -- Update to 0.17.3 - -* Wed Nov 21 2012 Neal Becker - 0.17.2-1 -- update to 0.17.2 - -* Wed Sep 26 2012 Neal Becker - 0.17.1-1 -- Update to 0.17.1 - -* Mon Sep 3 2012 Neal Becker - 0.17-1 -- Update to 0.17 - -* Tue Aug 28 2012 Neal Becker - 0.17-3.b3 -- Turn on check (temporarily) -- Add br numpy from check - -* Tue Aug 28 2012 Neal Becker - 0.17-1.b3 -- Test 0.17b3 - -* Fri Aug 24 2012 David Malcolm - 0.16-3 -- generalize egg-info logic to support RHEL (rhbz#851528) - -* Wed Jul 18 2012 Fedora Release Engineering - 0.16-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Apr 27 2012 Neal Becker - 0.16-1 -- Update to 0.16 - -* Thu Jan 12 2012 Fedora Release Engineering - 0.15.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Sep 20 2011 Neal Becker - 0.15.1-1 -- Update to 0.15.1 - -* Sat Aug 6 2011 Neal Becker - 0.15-1 -- Update to 0.15 - -* Mon Feb 07 2011 Fedora Release Engineering - 0.14.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Feb 5 2011 Neal Becker - 0.14.1-1 -- Update to 0.14.1 - -* Wed Dec 15 2010 Neal Becker - 0.14-2 -- Add cygdb - -* Wed Dec 15 2010 Neal Becker - 0.14-1 -- Update to 0.14 - -* Wed Aug 25 2010 Neal Becker - 0.13-1 -- Update to 0.13 - -* Wed Jul 21 2010 David Malcolm - 0.12.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Fri Feb 5 2010 Neal Becker - 0.12.1-4 -- Disable check for now as it fails on PPC - -* Tue Feb 2 2010 Neal Becker - 0.12.1-2 -- typo -- stupid rpm comments - -* Mon Nov 23 2009 Neal Becker - 0.12-1.rc1 -- Make that 0.12 - -* Mon Nov 23 2009 Neal Becker - 0.12.1-1.rc1 -- Update to 0.12.1 - -* Sun Sep 27 2009 Neal Becker - 0.11.3-1.rc1 -- Update to 0.11.3rc1 -- Update to 0.11.3 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.11.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed May 20 2009 Neal Becker - 0.11.2-1 -- Update to 0.11.2 - -* Thu Apr 16 2009 Neal Becker - 0.11.1-1 -- Update to 0.11.1 - -* Sat Mar 14 2009 Neal Becker - 0.11-2 -- Missed cython.py* - -* Sat Mar 14 2009 Neal Becker - 0.11-1 -- Update to 0.11 -- Exclude numpy from tests so we don't have to BR it - -* Mon Feb 23 2009 Fedora Release Engineering - 0.10.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Dec 17 2008 Neal Becker - 0.10.3-1 -- Update to 0.10.3 - -* Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.10.2-2 -- Rebuild for Python 2.6 - -* Mon Dec 1 2008 Neal Becker - 0.10.2-1 -- Update to 0.10.2 - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.10.1-2 -- Rebuild for Python 2.6 - -* Wed Nov 19 2008 Neal Becker - 0.10.1-1 -- Update to 0.10.1 - -* Sun Nov 9 2008 Neal Becker - 0.10-3 -- Fix typo - -* Sun Nov 9 2008 Neal Becker - 0.10-1 -- Update to 0.10 - -* Fri Jun 13 2008 Neal Becker - 0.9.8-2 -- Install into python_sitearch -- Add %%check - -* Fri Jun 13 2008 Neal Becker - 0.9.8-1 -- Update to 0.9.8 - -* Mon Apr 14 2008 José Matos - 0.9.6.13.1-3 -- Remove remaining --record. -- Add more documentation (Doc and Tools). -- Add correct entry for egg-info (F9+). - -* Mon Apr 14 2008 Neal Becker - 0.9.6.13.1-2 -- Change License to Python -- Install About.html -- Fix mixed spaces/tabs -- Don't use --record - -* Tue Apr 8 2008 Neal Becker - 0.9.6.13.1-1 -- Update to 0.9.6.13.1 - -* Mon Apr 7 2008 Neal Becker - 0.9.6.13-1 -- Update to 0.9.6.13 -- Add docs - -* Tue Feb 26 2008 Neal Becker - 0.9.6.12-1 -- Initial version +%autochangelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..7389992 --- /dev/null +++ b/changelog @@ -0,0 +1,491 @@ +* Tue Jan 23 2024 Lumír Balhar - 3.0.8-1 +- Update to 3.0.8 (rhbz#2255460) + +* Mon Jan 22 2024 Fedora Release Engineering - 3.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 3.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 18 2024 Fedora Release Engineering - 3.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 30 2023 Miro Hrončok - 3.0.6-1 +- Update to 3.0.6 +- Fixes: rhbz#2251973 + +* Tue Oct 31 2023 Miro Hrončok - 3.0.5-1 +- Update to 3.0.5 + +* Wed Oct 18 2023 Miro Hrončok - 3.0.4-1 +- Update to 3.0.4 +- Fixes: rhbz#2244865 + +* Fri Oct 13 2023 Miro Hrončok - 3.0.3-1 +- Update to 3.0.3 +- Fixes: rhbz#2242429 + +* Fri Sep 01 2023 Miro Hrončok - 3.0.2-1 +- Update to 3.0.2 +- Fixes: rhbz#2235027 + +* Mon Jul 17 2023 Miro Hrončok - 3.0.0-1 +- Update to 3.0.0 +- Rename python3-Cython to python3-cython + +* Thu Jul 13 2023 Tomáš Hrnčiar - 3.0.0~rc2-1 +- Update to 3.0.0rc2 +- The emacs-cython-mode package is no longer part of this project + +* Fri Jun 30 2023 Petr Viktorin - 0.29.35-2 +- Compile-time Python 3.12 compatibility for CYTHON_TRACE support + +* Sun Jun 18 2023 Miro Hrončok - 0.29.35-1 +- Update to 0.29.35 +- Fixes: rhbz#2210064 + +* Tue Jun 13 2023 Python Maint - 0.29.34-3 +- Bootstrap for Python 3.12 + +* Wed May 24 2023 Yaakov Selkowitz - 0.29.34-2 +- Avoid python-jedi dependency in RHEL builds +- Stop shipping emacs-cython-mode in RHEL builds + +* Mon Apr 03 2023 Miro Hrončok - 0.29.34-1 +- Update to 0.29.34 +- Fixes: rhbz#1823181 +- Fixes: rhbz#2172822 +- Fixes: rhbz#2177838 + +* Fri Feb 17 2023 Miro Hrončok - 0.29.33-1 +- Update to 0.29.33 +- Fix test failures with NumPy 1.24 +- Update the RPM license tag to SPDX + +* Wed Jan 18 2023 Fedora Release Engineering - 0.29.32-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 20 2022 Miro Hrončok - 0.29.32-2 +- emacs-cython-mode: Wrap the docstring of cython-default-compile-format to 80 characters +- Fixes: rhbz#2155090 + +* Mon Aug 08 2022 Miro Hrončok - 0.29.32-1 +- Update to 0.29.32 + +* Wed Jul 20 2022 Fedora Release Engineering - 0.29.30-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.29.30-3 +- Rebuilt for Python 3.11 + +* Mon Jun 13 2022 Python Maint - 0.29.30-2 +- Bootstrap for Python 3.11 + +* Mon May 30 2022 Tomáš Hrnčiar - 0.29.30-1 +- Update to 0.29.30 + +* Thu Mar 31 2022 Miro Hrončok - 0.29.28-1 +- Update to 0.29.28 + +* Wed Jan 19 2022 Fedora Release Engineering - 0.29.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Miro Hrončok - 0.29.26-1 +- Update to 0.29.26 + +* Wed Jul 21 2021 Scott Talbert - 0.29.24-1 +- Update to 0.29.24 to fix FTBFS with Python 3.10 + +* Wed Jul 21 2021 Fedora Release Engineering - 0.29.22-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 0.29.22-4 +- Rebuilt for Python 3.10 + +* Wed Jun 02 2021 Python Maint - 0.29.22-3 +- Bootstrap for Python 3.10 + +* Tue Mar 09 2021 Miro Hrončok - 0.29.22-2 +- Remove an obsoleted patch +- Remove old Obsoletes and Conflicts +- Update description +- Provide cython, python3-cython + +* Thu Mar 04 2021 Miro Hrončok - 0.29.22-1 +- Update to 0.29.22 + +* Mon Jan 25 2021 Fedora Release Engineering - 0.29.21-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Nov 13 2020 Miro Hrončok - 0.29.21-4 +- Drop build dependency on coverage + +* Mon Jul 27 2020 Fedora Release Engineering - 0.29.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 2020 Gwyn Ciesla - 0.29.21-2 +- Re-enable tests. + +* Wed Jul 22 2020 Gwyn Ciesla - 0.29.21-1 +- 0.29.21 + +* Wed May 27 2020 sguelton@redhat.com - 0.29.19-1 +- Update to 0.29.19 + +* Mon May 25 2020 Miro Hrončok - 0.29.17-4 +- Rebuilt for Python 3.9 + +* Fri May 22 2020 Miro Hrončok - 0.29.17-3 +- Bootstrap for Python 3.9 + +* Wed May 13 2020 Petr Viktorin - 0.29.17-2 +- Backport classmethod fixes + Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1788506 + +* Tue Apr 28 2020 Marcel Plch - 0.29.17-1 +- Update to 0.29.17 + +* Wed Mar 25 2020 Miro Hrončok - 0.29.16-1 +- Update to 0.29.16 (#1816785) + +* Sat Feb 08 2020 Miro Hrončok - 0.29.15-1 +- Update to 0.29.15 (#1800158) + +* Tue Jan 28 2020 Fedora Release Engineering - 0.29.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Nov 04 2019 Miro Hrončok - 0.29.14-1 +- Update to 0.29.14 (#1768034) +- Python 2 subpackage has been removed + +* Thu Oct 03 2019 Miro Hrončok - 0.29.13-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Thu Aug 15 2019 Miro Hrončok - 0.29.13-4 +- Rebuilt for Python 3.8 + +* Thu Aug 15 2019 Miro Hrončok - 0.29.13-3 +- Bootstrap for Python 3.8 + +* Thu Aug 01 2019 Gwyn Ciesla 0.29.13-2 +- Rebuild with new numpy. + +* Sat Jul 27 11:58:51 CEST 2019 Igor Gnatenko - 0.29.13-1 +- Update to 0.29.13 + +* Wed Jul 24 2019 Fedora Release Engineering - 0.29.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 22 2019 Petr Viktorin - 0.29.12-2 +- Remove non-essential Python 2 test dependencies + +* Thu Jul 11 2019 Miro Hrončok - 0.29.12-1 +- Update to 0.29.12 (#1727580) + +* Mon Jul 01 2019 Miro Hrončok - 0.29.11-1 +- Update to 0.29.11 (#1725361) + +* Sun Jun 02 2019 Charalampos Stratakis - 0.29.10-1 +- Update to 0.29.10 (#1716146) + +* Thu May 30 2019 Miro Hrončok - 0.29.9-1 +- Update to 0.29.9 (#1714365) + +* Mon May 13 07:10:35 CEST 2019 Igor Gnatenko - 0.29.7-1 +- Update to 0.29.7 + +* Wed Feb 27 2019 Miro Hrončok - 0.29.6-1 +- Update to 0.29.6 (#1683661) + +* Fri Feb 08 2019 Miro Hrončok - 0.29.5-1 +- Update to 0.29.5 (#1667643) + +* Thu Jan 31 2019 Fedora Release Engineering - 0.29.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 19 2019 Miro Hrončok - 0.29.3-1 +- Update to 0.29.3 (#1667643) + +* Tue Jan 08 2019 Alex Cobb - 0.29.1-2 +- Added emacs-cython-mode subpackage + +* Mon Dec 10 2018 Igor Gnatenko - 0.29.1-1 +- Update to 0.29.1 + +* Mon Dec 10 2018 Igor Gnatenko - 0.29-1 +- Update to 0.29 + +* Wed Oct 03 2018 Igor Gnatenko - 0.29~rc2-1 +- Update to 0.29~rc2 + +* Sat Aug 11 2018 Igor Gnatenko - 0.28.5-1 +- Update to 0.28.5 + +* Sun Aug 05 2018 Miro Hrončok - 0.28.4-3 +- Only have one /usr/bin/cython + +* Sun Jul 15 2018 Igor Gnatenko - 0.28.4-1 +- Update to 0.28.4 + +* Thu Jul 12 2018 Fedora Release Engineering - 0.28.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 15 2018 Miro Hrončok - 0.28.1-2 +- Rebuilt for Python 3.7 + +* Mon Mar 19 2018 Igor Gnatenko - 0.28.1-1 +- Update to 0.28.1 + +* Wed Feb 07 2018 Fedora Release Engineering - 0.27.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Nov 06 2017 Igor Gnatenko - 0.27.3-1 +- Update to 0.27.3 + +* Mon Oct 02 2017 Igor Gnatenko - 0.27.1-1 +- Update to 0.27.1 + +* Wed Aug 02 2017 Fedora Release Engineering - 0.25.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.25.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 03 2017 Igor Gnatenko - 0.25.2-5 +- Fix license + +* Fri Feb 10 2017 Fedora Release Engineering - 0.25.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 22 2016 Igor Gnatenko - 0.25.2-3 +- Backport couple of patches + +* Mon Dec 12 2016 Charalampos Stratakis - 0.25.2-2 +- Rebuild for Python 3.6 + +* Sat Dec 10 2016 Igor Gnatenko - 0.25.2-1 +- Update to 0.25.2 + +* Sat Aug 27 2016 Igor Gnatenko - 0.24.1-8 +- Fix provides (RHBZ #1370879) + +* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-7 +- Run test suite + +* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-6 +- Provide old names + +* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-5 +- Use %%python_provide + +* Tue Aug 23 2016 Igor Gnatenko - 0.24.1-4 +- Update to 0.24.1 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.23.4-4 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Feb 03 2016 Fedora Release Engineering - 0.23.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 13 2016 Orion Poplawski - 0.23.4-1 +- Update to 0.23.4 +- Ship cythonize3 +- Modernize and cleanup spec +- Run tests, one python3 test fails with 3.5 + +* Tue Oct 13 2015 Robert Kuska - 0.23-2 +- Rebuilt for Python3.5 rebuild + +* Wed Aug 12 2015 Neal Becker - 0.23-2 +- Update to 0.23 + +* Tue Jun 16 2015 Fedora Release Engineering - 0.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Feb 13 2015 nbecker - 0.22-1 +- oops, that should be 0.22 not 0.22.1 + +* Fri Feb 13 2015 nbecker - 0.22.1-1 +- Update to 0.22 + +* Sat Nov 22 2014 nbecker - 0.21.1-1 +- Update to 0.21.1 (br #1164297) + +* Mon Sep 15 2014 nbecker - 0.21-5 +- Add /bin/cythonize + +* Mon Sep 15 2014 nbecker - 0.21-1 +- Update to 0.21 + +* Fri Aug 15 2014 Fedora Release Engineering - 0.20.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 0.20.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Thomas Spura - 0.20.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Fri May 9 2014 Orion Poplawski - 0.20.1-2 +- Rebuild for Python 3.4 + +* Fri May 9 2014 Orion Poplawski - 0.20.1-1 +- Update to 0.20.1 + +* Mon Jan 20 2014 nbecker - 0.20-1 +- Update to 0.20 + +* Thu Oct 17 2013 nbecker - 0.19.2-2 +- Fix BR 1019498 + +* Sun Oct 13 2013 nbecker - 0.19-2 +- Update to 0.19.2 + +* Fri Aug 02 2013 Fedora Release Engineering - 0.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Apr 19 2013 nbecker - 0.19-1 +- Update to 0.19 + +* Tue Jan 29 2013 Neal Becker - 0.18-1 +- update to 0.18 + +* Sat Dec 15 2012 Neal Becker - 0.17.3-1 +- Update to 0.17.3 + +* Wed Nov 21 2012 Neal Becker - 0.17.2-1 +- update to 0.17.2 + +* Wed Sep 26 2012 Neal Becker - 0.17.1-1 +- Update to 0.17.1 + +* Mon Sep 3 2012 Neal Becker - 0.17-1 +- Update to 0.17 + +* Tue Aug 28 2012 Neal Becker - 0.17-3.b3 +- Turn on check (temporarily) +- Add br numpy from check + +* Tue Aug 28 2012 Neal Becker - 0.17-1.b3 +- Test 0.17b3 + +* Fri Aug 24 2012 David Malcolm - 0.16-3 +- generalize egg-info logic to support RHEL (rhbz#851528) + +* Wed Jul 18 2012 Fedora Release Engineering - 0.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 27 2012 Neal Becker - 0.16-1 +- Update to 0.16 + +* Thu Jan 12 2012 Fedora Release Engineering - 0.15.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Sep 20 2011 Neal Becker - 0.15.1-1 +- Update to 0.15.1 + +* Sat Aug 6 2011 Neal Becker - 0.15-1 +- Update to 0.15 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.14.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Feb 5 2011 Neal Becker - 0.14.1-1 +- Update to 0.14.1 + +* Wed Dec 15 2010 Neal Becker - 0.14-2 +- Add cygdb + +* Wed Dec 15 2010 Neal Becker - 0.14-1 +- Update to 0.14 + +* Wed Aug 25 2010 Neal Becker - 0.13-1 +- Update to 0.13 + +* Wed Jul 21 2010 David Malcolm - 0.12.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Feb 5 2010 Neal Becker - 0.12.1-4 +- Disable check for now as it fails on PPC + +* Tue Feb 2 2010 Neal Becker - 0.12.1-2 +- typo +- stupid rpm comments + +* Mon Nov 23 2009 Neal Becker - 0.12-1.rc1 +- Make that 0.12 + +* Mon Nov 23 2009 Neal Becker - 0.12.1-1.rc1 +- Update to 0.12.1 + +* Sun Sep 27 2009 Neal Becker - 0.11.3-1.rc1 +- Update to 0.11.3rc1 +- Update to 0.11.3 + +* Fri Jul 24 2009 Fedora Release Engineering - 0.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed May 20 2009 Neal Becker - 0.11.2-1 +- Update to 0.11.2 + +* Thu Apr 16 2009 Neal Becker - 0.11.1-1 +- Update to 0.11.1 + +* Sat Mar 14 2009 Neal Becker - 0.11-2 +- Missed cython.py* + +* Sat Mar 14 2009 Neal Becker - 0.11-1 +- Update to 0.11 +- Exclude numpy from tests so we don't have to BR it + +* Mon Feb 23 2009 Fedora Release Engineering - 0.10.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Dec 17 2008 Neal Becker - 0.10.3-1 +- Update to 0.10.3 + +* Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.10.2-2 +- Rebuild for Python 2.6 + +* Mon Dec 1 2008 Neal Becker - 0.10.2-1 +- Update to 0.10.2 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.10.1-2 +- Rebuild for Python 2.6 + +* Wed Nov 19 2008 Neal Becker - 0.10.1-1 +- Update to 0.10.1 + +* Sun Nov 9 2008 Neal Becker - 0.10-3 +- Fix typo + +* Sun Nov 9 2008 Neal Becker - 0.10-1 +- Update to 0.10 + +* Fri Jun 13 2008 Neal Becker - 0.9.8-2 +- Install into python_sitearch +- Add %%check + +* Fri Jun 13 2008 Neal Becker - 0.9.8-1 +- Update to 0.9.8 + +* Mon Apr 14 2008 José Matos - 0.9.6.13.1-3 +- Remove remaining --record. +- Add more documentation (Doc and Tools). +- Add correct entry for egg-info (F9+). + +* Mon Apr 14 2008 Neal Becker - 0.9.6.13.1-2 +- Change License to Python +- Install About.html +- Fix mixed spaces/tabs +- Don't use --record + +* Tue Apr 8 2008 Neal Becker - 0.9.6.13.1-1 +- Update to 0.9.6.13.1 + +* Mon Apr 7 2008 Neal Becker - 0.9.6.13-1 +- Update to 0.9.6.13 +- Add docs + +* Tue Feb 26 2008 Neal Becker - 0.9.6.12-1 +- Initial version From e728dde39cdf83858fb88452ce358ff6558828fa Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Wed, 21 Feb 2024 12:37:58 +0100 Subject: [PATCH 43/73] Use Python 3.13.0a4 PyCFunctionFastWithKeywords --- 6003.patch | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ Cython.spec | 3 +++ 2 files changed, 53 insertions(+) create mode 100644 6003.patch diff --git a/6003.patch b/6003.patch new file mode 100644 index 0000000..9f3222b --- /dev/null +++ b/6003.patch @@ -0,0 +1,50 @@ +From 829611469a979f499f3658fba632c9d9fe96933e Mon Sep 17 00:00:00 2001 +From: Victor Stinner +Date: Fri, 16 Feb 2024 09:02:35 +0100 +Subject: [PATCH] Use Python 3.13a4 PyCFunctionFastWithKeywords + +Python 3.13a4 adds a public PyCFunctionFastWithKeywords and +PyCFunctionFast types and removes the private +_PyCFunctionFastWithKeywords and _PyCFunctionFast types: + +* https://github.com/python/cpython/commit/9e3729bbd77fb9dcaea6a06ac760160136d80b79 +* https://github.com/python/cpython/pull/114627 +* https://github.com/capi-workgroup/decisions/issues/11 +--- + Cython/Utility/CythonFunction.c | 2 +- + Cython/Utility/ModuleSetupCode.c | 9 +++++++-- + 2 files changed, 8 insertions(+), 3 deletions(-) + +diff --git a/Cython/Utility/CythonFunction.c b/Cython/Utility/CythonFunction.c +index 2a3b67335d2..646e3f5ff3a 100644 +--- a/Cython/Utility/CythonFunction.c ++++ b/Cython/Utility/CythonFunction.c +@@ -1019,7 +1019,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, + return NULL; + } + +- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames); ++ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames); + } + + static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) +diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c +index 785fcc653ef..03373b50f13 100644 +--- a/Cython/Utility/ModuleSetupCode.c ++++ b/Cython/Utility/ModuleSetupCode.c +@@ -907,8 +907,13 @@ class __Pyx_FakeReference { + typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args, + Py_ssize_t nargs, PyObject *kwnames); + #else +- #define __Pyx_PyCFunctionFast _PyCFunctionFast +- #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords ++ #if PY_VERSION_HEX >= 0x030d00A4 ++ # define __Pyx_PyCFunctionFast PyCFunctionFast ++ # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords ++ #else ++ # define __Pyx_PyCFunctionFast _PyCFunctionFast ++ # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords ++ #endif + #endif + + #if CYTHON_METH_FASTCALL diff --git a/Cython.spec b/Cython.spec index e1cd0f8..5ffd014 100644 --- a/Cython.spec +++ b/Cython.spec @@ -13,6 +13,9 @@ License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz +# Use Python 3.13.0a4 PyCFunctionFastWithKeywords +Patch: https://github.com/cython/cython/pull/6003.patch + BuildRequires: python3-devel %if %{with tests} From ba710e631b8ecf2af6eb636030db6d574d8575b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 27 Feb 2024 18:09:35 +0100 Subject: [PATCH 44/73] Disable GCC warnings/errors about wrong self casts in final function calls Numerous packages fail to build due to -Werror=incompatible-pointer-types being the default in Fedora 40+. The code is generated by Cython. No known fix at this time, so better to disable the warning here than in each individual package. --- 6039.patch | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Cython.spec | 4 ++++ 2 files changed, 68 insertions(+) create mode 100644 6039.patch diff --git a/6039.patch b/6039.patch new file mode 100644 index 0000000..1b63fba --- /dev/null +++ b/6039.patch @@ -0,0 +1,64 @@ +From 2b1022efeeeefe1b813bb0810675a6fcb98cbb6e Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Wed, 28 Feb 2024 10:03:58 +0100 +Subject: [PATCH 1/2] Disable GCC warnings/errors about wrong self casts in + final function calls. + +See https://github.com/cython/cython/issues/2747 +--- + Cython/Compiler/ExprNodes.py | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py +index d46e8b0cbdd..62364edd1b1 100644 +--- a/Cython/Compiler/ExprNodes.py ++++ b/Cython/Compiler/ExprNodes.py +@@ -6498,7 +6498,13 @@ def generate_result_code(self, code): + goto_error = code.error_goto_if(" && ".join(exc_checks), self.pos) + else: + goto_error = "" ++ if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: ++ # Hack around https://github.com/cython/cython/issues/2747 ++ # Disable GCC warnings/errors for wrong self casts. ++ code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') + code.putln("%s%s; %s" % (lhs, rhs, goto_error)) ++ if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: ++ code.putln("#pragma GCC diagnostic pop") + if self.type.is_pyobject and self.result(): + self.generate_gotref(code) + if self.has_optional_args: + +From facecc5fe67feac147afa47008a06f766bfb8cd3 Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Sat, 2 Mar 2024 08:54:26 +0100 +Subject: [PATCH 2/2] Do not generate pragma in C++ mode since it is only valid + for gcc, not gpp. + +--- + Cython/Compiler/ExprNodes.py | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py +index 62364edd1b1..7ee239ae579 100644 +--- a/Cython/Compiler/ExprNodes.py ++++ b/Cython/Compiler/ExprNodes.py +@@ -6498,12 +6498,17 @@ def generate_result_code(self, code): + goto_error = code.error_goto_if(" && ".join(exc_checks), self.pos) + else: + goto_error = "" +- if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: ++ undo_gh2747_hack = False ++ if (self.function.is_attribute and ++ self.function.entry and self.function.entry.final_func_cname and ++ not code.funcstate.scope.is_cpp() ++ ): + # Hack around https://github.com/cython/cython/issues/2747 + # Disable GCC warnings/errors for wrong self casts. + code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') ++ undo_gh2747_hack = True + code.putln("%s%s; %s" % (lhs, rhs, goto_error)) +- if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: ++ if undo_gh2747_hack: + code.putln("#pragma GCC diagnostic pop") + if self.type.is_pyobject and self.result(): + self.generate_gotref(code) diff --git a/Cython.spec b/Cython.spec index 5ffd014..ab1132a 100644 --- a/Cython.spec +++ b/Cython.spec @@ -16,6 +16,10 @@ Source: https://github.com/cython/cython/archive/%{version}/Cython-%{ver # Use Python 3.13.0a4 PyCFunctionFastWithKeywords Patch: https://github.com/cython/cython/pull/6003.patch +# Disable GCC warnings/errors about wrong self casts in final function calls +# Upstream issue: https://github.com/cython/cython/issues/2747 +Patch: https://github.com/cython/cython/pull/6039.patch + BuildRequires: python3-devel %if %{with tests} From 0e9ba50dcb1963951a80e1abc63a94ecabdc9741 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Sun, 17 Mar 2024 18:23:43 +0100 Subject: [PATCH 45/73] Update to 3.0.9 (rhbz#2268123) --- .gitignore | 1 + 6003.patch | 50 ----------------------------------------- 6039.patch | 64 ----------------------------------------------------- Cython.spec | 9 +------- sources | 2 +- 5 files changed, 3 insertions(+), 123 deletions(-) delete mode 100644 6003.patch delete mode 100644 6039.patch diff --git a/.gitignore b/.gitignore index 781a28b..5978d3e 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,4 @@ Cython-0.12.1.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 diff --git a/6003.patch b/6003.patch deleted file mode 100644 index 9f3222b..0000000 --- a/6003.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 829611469a979f499f3658fba632c9d9fe96933e Mon Sep 17 00:00:00 2001 -From: Victor Stinner -Date: Fri, 16 Feb 2024 09:02:35 +0100 -Subject: [PATCH] Use Python 3.13a4 PyCFunctionFastWithKeywords - -Python 3.13a4 adds a public PyCFunctionFastWithKeywords and -PyCFunctionFast types and removes the private -_PyCFunctionFastWithKeywords and _PyCFunctionFast types: - -* https://github.com/python/cpython/commit/9e3729bbd77fb9dcaea6a06ac760160136d80b79 -* https://github.com/python/cpython/pull/114627 -* https://github.com/capi-workgroup/decisions/issues/11 ---- - Cython/Utility/CythonFunction.c | 2 +- - Cython/Utility/ModuleSetupCode.c | 9 +++++++-- - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/Cython/Utility/CythonFunction.c b/Cython/Utility/CythonFunction.c -index 2a3b67335d2..646e3f5ff3a 100644 ---- a/Cython/Utility/CythonFunction.c -+++ b/Cython/Utility/CythonFunction.c -@@ -1019,7 +1019,7 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, - return NULL; - } - -- return ((_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames); -+ return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames); - } - - static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) -diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c -index 785fcc653ef..03373b50f13 100644 ---- a/Cython/Utility/ModuleSetupCode.c -+++ b/Cython/Utility/ModuleSetupCode.c -@@ -907,8 +907,13 @@ class __Pyx_FakeReference { - typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args, - Py_ssize_t nargs, PyObject *kwnames); - #else -- #define __Pyx_PyCFunctionFast _PyCFunctionFast -- #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords -+ #if PY_VERSION_HEX >= 0x030d00A4 -+ # define __Pyx_PyCFunctionFast PyCFunctionFast -+ # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords -+ #else -+ # define __Pyx_PyCFunctionFast _PyCFunctionFast -+ # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords -+ #endif - #endif - - #if CYTHON_METH_FASTCALL diff --git a/6039.patch b/6039.patch deleted file mode 100644 index 1b63fba..0000000 --- a/6039.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 2b1022efeeeefe1b813bb0810675a6fcb98cbb6e Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Wed, 28 Feb 2024 10:03:58 +0100 -Subject: [PATCH 1/2] Disable GCC warnings/errors about wrong self casts in - final function calls. - -See https://github.com/cython/cython/issues/2747 ---- - Cython/Compiler/ExprNodes.py | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py -index d46e8b0cbdd..62364edd1b1 100644 ---- a/Cython/Compiler/ExprNodes.py -+++ b/Cython/Compiler/ExprNodes.py -@@ -6498,7 +6498,13 @@ def generate_result_code(self, code): - goto_error = code.error_goto_if(" && ".join(exc_checks), self.pos) - else: - goto_error = "" -+ if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: -+ # Hack around https://github.com/cython/cython/issues/2747 -+ # Disable GCC warnings/errors for wrong self casts. -+ code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') - code.putln("%s%s; %s" % (lhs, rhs, goto_error)) -+ if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: -+ code.putln("#pragma GCC diagnostic pop") - if self.type.is_pyobject and self.result(): - self.generate_gotref(code) - if self.has_optional_args: - -From facecc5fe67feac147afa47008a06f766bfb8cd3 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Sat, 2 Mar 2024 08:54:26 +0100 -Subject: [PATCH 2/2] Do not generate pragma in C++ mode since it is only valid - for gcc, not gpp. - ---- - Cython/Compiler/ExprNodes.py | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py -index 62364edd1b1..7ee239ae579 100644 ---- a/Cython/Compiler/ExprNodes.py -+++ b/Cython/Compiler/ExprNodes.py -@@ -6498,12 +6498,17 @@ def generate_result_code(self, code): - goto_error = code.error_goto_if(" && ".join(exc_checks), self.pos) - else: - goto_error = "" -- if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: -+ undo_gh2747_hack = False -+ if (self.function.is_attribute and -+ self.function.entry and self.function.entry.final_func_cname and -+ not code.funcstate.scope.is_cpp() -+ ): - # Hack around https://github.com/cython/cython/issues/2747 - # Disable GCC warnings/errors for wrong self casts. - code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') -+ undo_gh2747_hack = True - code.putln("%s%s; %s" % (lhs, rhs, goto_error)) -- if self.function.is_attribute and self.function.entry and self.function.entry.final_func_cname: -+ if undo_gh2747_hack: - code.putln("#pragma GCC diagnostic pop") - if self.type.is_pyobject and self.result(): - self.generate_gotref(code) diff --git a/Cython.spec b/Cython.spec index ab1132a..9c0274c 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.8 +Version: 3.0.9 Release: %autorelease Summary: Language for writing Python extension modules @@ -13,13 +13,6 @@ License: Apache-2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz -# Use Python 3.13.0a4 PyCFunctionFastWithKeywords -Patch: https://github.com/cython/cython/pull/6003.patch - -# Disable GCC warnings/errors about wrong self casts in final function calls -# Upstream issue: https://github.com/cython/cython/issues/2747 -Patch: https://github.com/cython/cython/pull/6039.patch - BuildRequires: python3-devel %if %{with tests} diff --git a/sources b/sources index ba50df3..dda1595 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.8.tar.gz) = 1070fc278401990595d177b0e6396bc1eba2ea8234a7c5bb26399b6b7284de7791ee5fa60ef74d06d0f4120b9c877bfd7703a7d701838f1634737526c614b860 +SHA512 (Cython-3.0.9.tar.gz) = 7899474882faab14716973783bbb46b981eab48192791acbbd06133efee83bfa9ace0e9a0272b0a44061a95ed94cdceaa98c4100f843220f5987791e36fa00e6 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 46/73] 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 47/73] 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 48/73] 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 49/73] 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 50/73] 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 51/73] 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 52/73] 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 53/73] 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 54/73] 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 55/73] 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 56/73] 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 57/73] 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 58/73] 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 59/73] 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 60/73] 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 61/73] 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 62/73] 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 63/73] 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 64/73] 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 65/73] 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 66/73] 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 67/73] 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 68/73] 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 69/73] 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 70/73] 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 71/73] 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 72/73] 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 73/73] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild