From 89f353e21aa8e53f1ff8f7773fe20633f386b291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Aug 2018 00:29:16 +0200 Subject: [PATCH 001/124] Only have one /usr/bin/cython According to the current packaging guidelines, if the functionality of the executable is the same regardless of the Python version, the executable should be shipped by Python 3 package only. This is the case for Cython. --- Cython.spec | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/Cython.spec b/Cython.spec index ed2b070..2332e11 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.28.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -45,6 +45,7 @@ Python 2 version. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} +Conflicts: python2-%{srcname} < 0.28.4-2 BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} @@ -65,17 +66,13 @@ Python 3 version. %py3_build %install -# Must do the python3 install first because the scripts in /usr/bin are -# overwritten with every setup.py install (and we want the python2 version -# to be the default for now). -%py3_install -for bin in cython cythonize cygdb; do - mv %{buildroot}%{_bindir}/${bin} %{buildroot}%{_bindir}/${bin}3 -done -rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests - %py2_install rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests +rm %{buildroot}%{_bindir}/* + +%py3_install +rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests + %if %{with tests} %check @@ -86,9 +83,6 @@ rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests %files -n python2-%{srcname} %license LICENSE.txt %doc *.txt Demos Doc Tools -%{_bindir}/cython -%{_bindir}/cygdb -%{_bindir}/cythonize %{python2_sitearch}/%{srcname}-*.egg-info/ %{python2_sitearch}/%{srcname}/ %{python2_sitearch}/pyximport/ @@ -97,9 +91,9 @@ rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests %files -n python3-%{srcname} %license LICENSE.txt %doc *.txt Demos Doc Tools -%{_bindir}/cython3 -%{_bindir}/cythonize3 -%{_bindir}/cygdb3 +%{_bindir}/cython +%{_bindir}/cygdb +%{_bindir}/cythonize %{python3_sitearch}/%{srcname}-*.egg-info/ %{python3_sitearch}/%{srcname}/ %{python3_sitearch}/pyximport/ @@ -107,6 +101,9 @@ rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* Sun Aug 05 2018 Miro Hrončok - 0.28.4-2 +- Only have one /usr/bin/cython + * Sun Jul 15 2018 Igor Gnatenko - 0.28.4-1 - Update to 0.28.4 From eac3ab0280ebc3897d9c9d713ba751d692d8fa37 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 8 Aug 2018 07:48:38 +0200 Subject: [PATCH 002/124] rebuild Signed-off-by: Igor Gnatenko --- Cython.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 2332e11..fd9eb8c 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.28.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -101,7 +101,7 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog -* Sun Aug 05 2018 Miro Hrončok - 0.28.4-2 +* 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 From ceefeb563e83935ba1c9cf890897d3aee412463e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 11 Aug 2018 20:48:49 +0200 Subject: [PATCH 003/124] Update to 0.28.5 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6ff946d..1a418fc 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ Cython-0.12.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 diff --git a/Cython.spec b/Cython.spec index fd9eb8c..e5e0a99 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_with tests Name: Cython -Version: 0.28.4 -Release: 3%{?dist} +Version: 0.28.5 +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -101,6 +101,9 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* 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 diff --git a/sources b/sources index bae2e57..5d46df9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.28.4.tar.gz) = 72d12ce4ba443e6b1fc59b70be828882a714d186b894ff18bde2c337a9d11c8ee2a8f6c1d21d127b918825fb299099db079116087fc4fee8cf0e5cd773c5b967 +SHA512 (Cython-0.28.5.tar.gz) = d91f45e1ca39ca0a70fe5249c503021f4213b66fd6d057d0a0540d10de788f021205da4e68e25464bb48a5441ce160efec9566caf01aa3738bd8afe27eb51d37 From 0c9be7ea2a647c0206ae6e1ed0cc34beea543337 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 3 Oct 2018 12:35:28 +0200 Subject: [PATCH 004/124] Update to 0.29~rc2 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1a418fc..407b03f 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index e5e0a99..5db0e30 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,13 +5,14 @@ %bcond_with tests Name: Cython -Version: 0.28.5 +%global upver 0.29rc2 +Version: 0.29~rc2 Release: 1%{?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}/%{srcname}-%{version}.tar.gz +Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz BuildRequires: gcc %if %{with tests} @@ -59,7 +60,7 @@ BuildRequires: python3-jedi Python 3 version. %prep -%autosetup -n %{upname}-%{version} -p1 +%autosetup -n %{upname}-%{upver} -p1 %build %py2_build @@ -101,6 +102,9 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* 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 diff --git a/sources b/sources index 5d46df9..0c46ac0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.28.5.tar.gz) = d91f45e1ca39ca0a70fe5249c503021f4213b66fd6d057d0a0540d10de788f021205da4e68e25464bb48a5441ce160efec9566caf01aa3738bd8afe27eb51d37 +SHA512 (Cython-0.29~rc2.tar.gz) = 714514eb0ceb059abe6b9ade98618c0670fd9f97db18e244a7aad34c1f2b7c319648dad98c0a7387273d4e35790c8b6aed69549f3e648b498a6e352904a2bf68 From d8e77b0d979bed6d120a709279d81c0a630392bb Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 10 Dec 2018 14:13:25 +0100 Subject: [PATCH 005/124] Update to 0.29 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 407b03f..decdd36 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ Cython-0.12.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 diff --git a/Cython.spec b/Cython.spec index 5db0e30..9bf8a56 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_with tests Name: Cython -%global upver 0.29rc2 -Version: 0.29~rc2 +%global upver 0.29 +Version: 0.29 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -28,9 +28,6 @@ for writing Python extension modules. %package -n python2-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} -Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: python2-devel BuildRequires: python2-setuptools %if %{with tests} @@ -47,6 +44,9 @@ Python 2 version. Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} Conflicts: python2-%{srcname} < 0.28.4-2 +Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} @@ -102,6 +102,9 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* 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 diff --git a/sources b/sources index 0c46ac0..0fde281 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29~rc2.tar.gz) = 714514eb0ceb059abe6b9ade98618c0670fd9f97db18e244a7aad34c1f2b7c319648dad98c0a7387273d4e35790c8b6aed69549f3e648b498a6e352904a2bf68 +SHA512 (Cython-0.29.tar.gz) = be69b4dc3099952a1fbd7b160fdaee7672c7074afec5549c973a2c68b2af0ce1a7345d242f9f9534ac977c1890cac5469f2a28135630ce6dbbe2abf0e2999bf2 From 03641f599d2bb794e8b43b5179742e9ea3b19373 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 10 Dec 2018 14:16:25 +0100 Subject: [PATCH 006/124] Update to 0.29.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index decdd36..fff6f51 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 9bf8a56..d2df192 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,8 +5,8 @@ %bcond_with tests Name: Cython -%global upver 0.29 -Version: 0.29 +%global upver 0.29.1 +Version: 0.29.1 Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -102,6 +102,9 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/__pycache__/%{upname}.* %changelog +* 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 diff --git a/sources b/sources index 0fde281..b641836 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.tar.gz) = be69b4dc3099952a1fbd7b160fdaee7672c7074afec5549c973a2c68b2af0ce1a7345d242f9f9534ac977c1890cac5469f2a28135630ce6dbbe2abf0e2999bf2 +SHA512 (Cython-0.29.1.tar.gz) = c748ec49fd1a1b61a0a252278d56458d5fcd46dc49abbc2ddcf73aac1330d6be21ecd944bbe1b6b432fce9fc68fd7396b5beeb4cb460585af6fe2d58effebdcc From 9c7f46b95bfd2acc7bd440a1f97d093332b37d38 Mon Sep 17 00:00:00 2001 From: Alex Cobb Date: Tue, 8 Jan 2019 14:50:19 +0800 Subject: [PATCH 007/124] Add emacs-cython-mode subpackage --- Cython.spec | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index d2df192..67356b4 100644 --- a/Cython.spec +++ b/Cython.spec @@ -7,7 +7,7 @@ Name: Cython %global upver 0.29.1 Version: 0.29.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -59,6 +59,15 @@ BuildRequires: python3-jedi Python 3 version. +%package -n emacs-cython-mode +Summary: A major mode for editing Cython source files in Emacs +BuildArch: noarch +BuildRequires: emacs +Requires: emacs(bin) >= %{_emacs_version} + +%description -n emacs-cython-mode +cython-mode is an Emacs major mode for editing Cython source files. + %prep %autosetup -n %{upname}-%{upver} -p1 @@ -66,6 +75,13 @@ Python 3 version. %py2_build %py3_build +# emacs-cython-mode build +echo ";; +(require 'cython-mode)" > cython-mode-init.el +cp -p Tools/cython-mode.el . +%{_emacs_bytecompile} *.el + + %install %py2_install rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests @@ -74,6 +90,12 @@ rm %{buildroot}%{_bindir}/* %py3_install rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests +# 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}/ + %if %{with tests} %check @@ -101,7 +123,15 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %{python3_sitearch}/%{upname}.py %{python3_sitearch}/__pycache__/%{upname}.* +%files -n emacs-cython-mode +%license LICENSE.txt +%{_emacs_sitelispdir}/cython*.el* +%{_emacs_sitestartdir}/cython*.el* + %changelog +* 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 @@ -382,4 +412,3 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests * Tue Feb 26 2008 Neal Becker - 0.9.6.12-1 - Initial version - From 8fbaae6d8482329a132e94734c13726a070cd87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 19 Jan 2019 14:19:59 +0100 Subject: [PATCH 008/124] Update to 0.29.3, enable tests Tests were entirely disabled due to Big Endian failure in one module. This enables them back but excludes the failing tests on Big Endian. Since the tests are quite slow, this also: * disables CPython regression tests * runs the tests in parallel with %{?_smp_mflags} (-j) However, there are weird test errors on one of the Koji's i686 builders. This was reported to upstream: https://github.com/cython/cython/issues/2807 Until that's sorted out, we skip a test on i686. --- .gitignore | 1 + Cython.spec | 25 ++++++++++++++++++------- sources | 2 +- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index fff6f51..3520dc3 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 67356b4..98394c0 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,13 +1,12 @@ %global srcname Cython %global upname cython -# https://github.com/cython/cython/issues/1982 -%bcond_with tests +%bcond_without tests Name: Cython -%global upver 0.29.1 -Version: 0.29.1 -Release: 2%{?dist} +%global upver 0.29.3 +Version: %{upver} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -99,8 +98,17 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %if %{with tests} %check -%{__python2} runtests.py -vv -%{__python3} runtests.py -vv +for python in %{__python2} %{__python3}; do + + $python runtests.py -vv --no-pyregr %{?_smp_mflags} \ + %ifarch s390x ppc64 + --exclude numpy_subarray # https://github.com/cython/cython/issues/1982 + %endif + %ifarch %{ix86} + --exclude run.parallel # https://github.com/cython/cython/issues/2807 + %endif + +done %endif %files -n python2-%{srcname} @@ -129,6 +137,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index b641836..ad00e69 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.1.tar.gz) = c748ec49fd1a1b61a0a252278d56458d5fcd46dc49abbc2ddcf73aac1330d6be21ecd944bbe1b6b432fce9fc68fd7396b5beeb4cb460585af6fe2d58effebdcc +SHA512 (Cython-0.29.3.tar.gz) = 364c92338b9af5887544f07ac5745addd626e71ce9ff143e9ba5e5ef679aafd3c2f23734b5b98a6ce877f2eda5d48c9172234027040e6e2bdcb899de3dd20bf7 From b5383fa6a2d3a96161907ce90e7649b7293c9c1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 11:29:01 +0000 Subject: [PATCH 009/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_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 98394c0..0783c56 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython %global upver 0.29.3 Version: %{upver} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) From 2ea743a71a5a63b6d4a215bdc9755a161d3a0f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 8 Feb 2019 23:46:11 +0100 Subject: [PATCH 010/124] Update to 0.29.5 (#1667643) --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3520dc3..e8f9678 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 0783c56..9d876f5 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,9 +4,9 @@ %bcond_without tests Name: Cython -%global upver 0.29.3 +%global upver 0.29.5 Version: %{upver} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index ad00e69..06cd9f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.3.tar.gz) = 364c92338b9af5887544f07ac5745addd626e71ce9ff143e9ba5e5ef679aafd3c2f23734b5b98a6ce877f2eda5d48c9172234027040e6e2bdcb899de3dd20bf7 +SHA512 (Cython-0.29.5.tar.gz) = df50d6cf26a422217f261aa31c77a04d687708cfa20a75b29c03120f0587f1ada51cb2ca0b89f235e1447e8df871a3cd609e1127754b5ebfbd0faa96ba7dd079 From 9d494ccd6e02343b1d67c8456cb3578069884437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 27 Feb 2019 14:31:01 +0100 Subject: [PATCH 011/124] Update to 0.29.6 (#1683661) --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e8f9678..51a1783 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 9d876f5..250cd66 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -%global upver 0.29.5 +%global upver 0.29.6 Version: %{upver} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index 06cd9f7..1b6ce4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.5.tar.gz) = df50d6cf26a422217f261aa31c77a04d687708cfa20a75b29c03120f0587f1ada51cb2ca0b89f235e1447e8df871a3cd609e1127754b5ebfbd0faa96ba7dd079 +SHA512 (Cython-0.29.6.tar.gz) = 0fdf2bb7cf269a2251b08639f73ab03a98fbb5b616de18eba810ba6e6eb9a3706f8f265f7389ae34d2a701ca86920779ae533c1c68c9119aec1fbdfeea83ddb0 From 1100c72e8f918d23cfbde950a5f974583307042a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 13 May 2019 07:11:20 +0200 Subject: [PATCH 012/124] Update to 0.29.7 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 51a1783..3b2ab34 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ Cython-0.12.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 diff --git a/Cython.spec b/Cython.spec index 250cd66..86f857b 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,8 +4,8 @@ %bcond_without tests Name: Cython -%global upver 0.29.6 -Version: %{upver} +Version: 0.29.7 +%global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index 1b6ce4b..76e5bcb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.6.tar.gz) = 0fdf2bb7cf269a2251b08639f73ab03a98fbb5b616de18eba810ba6e6eb9a3706f8f265f7389ae34d2a701ca86920779ae533c1c68c9119aec1fbdfeea83ddb0 +SHA512 (Cython-0.29.7.tar.gz) = ad566d5c9aa22db9998cd822b00fec1811222fbb6c4c764964b7e970d2b89edda11021193a59d4b21ae55795807edc3feadbe21b21063c7354ee01dc721fea45 From 3f1cff4222e31c57d7a3b7baa98bd6c3ef9c9b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 30 May 2019 12:07:38 +0200 Subject: [PATCH 013/124] Update to 0.29.9 (#1714365) --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3b2ab34..b0fbdc0 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 86f857b..a15c4fb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.7 +Version: 0.29.9 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index 76e5bcb..7bf79b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.7.tar.gz) = ad566d5c9aa22db9998cd822b00fec1811222fbb6c4c764964b7e970d2b89edda11021193a59d4b21ae55795807edc3feadbe21b21063c7354ee01dc721fea45 +SHA512 (Cython-0.29.9.tar.gz) = bf0817154b513dda270e4ca492bc75b2bd9ea8c0b51d4b3e9303c554e41c93c23fdd7b54a0cc814db41769e0cb53f49e142416f7c6c365bbf0fa3b295a379637 From 5623fe993ad56c397a3cbd7305d4596d5af30f9b Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Sun, 2 Jun 2019 23:18:38 +0200 Subject: [PATCH 014/124] Update to 0.29.10 (#1716146) --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b0fbdc0..39a8de8 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index a15c4fb..49b8f2d 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.9 +Version: 0.29.10 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index 7bf79b2..d1cb690 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.9.tar.gz) = bf0817154b513dda270e4ca492bc75b2bd9ea8c0b51d4b3e9303c554e41c93c23fdd7b54a0cc814db41769e0cb53f49e142416f7c6c365bbf0fa3b295a379637 +SHA512 (Cython-0.29.10.tar.gz) = a78fbe21251beb598489194997218dd32f54d5d46cf684a517d563049ee185ed495dc874e3db9627e9f097dbb6cc0e80bfadd173c8de02d24079ef7b90133c4e From 44e47def53967f92b324fe1f7e6f23dbab3b42e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 1 Jul 2019 13:44:53 +0200 Subject: [PATCH 015/124] Update to 0.29.11 (#1725361) --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 39a8de8..f21aac8 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 49b8f2d..b1f8332 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.10 +Version: 0.29.11 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index d1cb690..f11696f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.10.tar.gz) = a78fbe21251beb598489194997218dd32f54d5d46cf684a517d563049ee185ed495dc874e3db9627e9f097dbb6cc0e80bfadd173c8de02d24079ef7b90133c4e +SHA512 (Cython-0.29.11.tar.gz) = 3dc3b687f95f35a90e5c150222896b805dd2d0b40ef9449e7a1d3fe3497759c3971fed2e60cb54faa4a47145248719a3312e2cc2cd8fb361a8dd4f28b215a28c From 842b34e066203bc5d5b3a9e547309eb68acf15ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 11 Jul 2019 13:35:15 +0200 Subject: [PATCH 016/124] Update to 0.29.12 (#1727580) --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f21aac8..da733bd 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index b1f8332..7e24367 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.11 +Version: 0.29.12 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -137,6 +137,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index f11696f..d433f70 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.11.tar.gz) = 3dc3b687f95f35a90e5c150222896b805dd2d0b40ef9449e7a1d3fe3497759c3971fed2e60cb54faa4a47145248719a3312e2cc2cd8fb361a8dd4f28b215a28c +SHA512 (Cython-0.29.12.tar.gz) = 3427edffaf2ac8a9664a31c088fe4df30731b2c69f3bb99cfefc540ce8351e888f0f10c8dad0ea3e901edfffcb74b915aa6678686795683ae8073701c1d4d2dd From 582c72b5e61be8a3674af43c56a682bf69edfa9e Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 26 Jun 2019 15:56:07 +0200 Subject: [PATCH 017/124] Remove non-essential Python 2 test dependencies --- Cython.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Cython.spec b/Cython.spec index 7e24367..4ab2214 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.12 %global upver %{version_no_tilde %{nil}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -29,11 +29,6 @@ Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} BuildRequires: python2-devel BuildRequires: python2-setuptools -%if %{with tests} -BuildRequires: python2-coverage -BuildRequires: python2-numpy -BuildRequires: python2-jedi -%endif %description -n python2-%{srcname} %{_description} @@ -137,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) From b2f62e883ee4867119709e3ced4c4c0890abf262 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 15:45:55 +0000 Subject: [PATCH 018/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_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 4ab2214..ebaccc9 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.12 %global upver %{version_no_tilde %{nil}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 7a42270f1044a15fbfba08b04cbd611182cb4889 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 27 Jul 2019 11:59:09 +0200 Subject: [PATCH 019/124] Update to 0.29.13 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index da733bd..ee834b3 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index ebaccc9..055b822 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,9 +4,9 @@ %bcond_without tests Name: Cython -Version: 0.29.12 +Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index d433f70..d567da6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.12.tar.gz) = 3427edffaf2ac8a9664a31c088fe4df30731b2c69f3bb99cfefc540ce8351e888f0f10c8dad0ea3e901edfffcb74b915aa6678686795683ae8073701c1d4d2dd +SHA512 (Cython-0.29.13.tar.gz) = 79efebfddabf31a046ae86a2c2170e0956098f4b1c7b8bbd338d30be7c96c31ee2d648332fc16ad9cf1e5d0ea4ca1a070b2d31ccbeae0c0f86a2f7700b92f656 From cfa85f0710c6f7544f9aeca604ea314ada13b7a4 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 1 Aug 2019 08:34:03 -0500 Subject: [PATCH 020/124] Rebuild. --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 055b822..4440332 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 606c7b8116b35f9ab31945da415de5b6b10dcabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 15 Aug 2019 20:52:57 +0200 Subject: [PATCH 021/124] Bootstrap for Python 3.8 --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 4440332..e151930 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %global srcname Cython %global upname cython @@ -6,7 +7,7 @@ Name: Cython Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +133,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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. From ec111e130c0e9b8c93d3ef17ec32ff4c7ecf579c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 15 Aug 2019 21:55:34 +0200 Subject: [PATCH 022/124] Rebuilt for Python 3.8 --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index e151930..8eb6dbe 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %global srcname Cython %global upname cython @@ -7,7 +6,7 @@ Name: Cython Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -133,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From bb14927ab16eb0e6defde0d15f308090ea6c913c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 13:49:38 +0200 Subject: [PATCH 023/124] Rebuilt for Python 3.8.0rc1 (#1748018) --- Cython.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 8eb6dbe..4e5cf98 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +132,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 425cf2eb6347efced7e95d16c3940e19312371c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 4 Nov 2019 17:34:48 +0100 Subject: [PATCH 024/124] Python 2 subpackage has been removed See https://fedoraproject.org/wiki/Changes/RetirePython2 --- Cython.spec | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/Cython.spec b/Cython.spec index 4e5cf98..12944fc 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.13 %global upver %{version_no_tilde %{nil}} -Release: 5%{?dist} +Release: 6%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -24,16 +24,6 @@ for writing Python extension modules. %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -%description -n python2-%{srcname} %{_description} - -Python 2 version. - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -66,7 +56,6 @@ cython-mode is an Emacs major mode for editing Cython source files. %autosetup -n %{upname}-%{upver} -p1 %build -%py2_build %py3_build # emacs-cython-mode build @@ -77,10 +66,6 @@ cp -p Tools/cython-mode.el . %install -%py2_install -rm -rf %{buildroot}%{python2_sitelib}/setuptools/tests -rm %{buildroot}%{_bindir}/* - %py3_install rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests @@ -93,9 +78,7 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %if %{with tests} %check -for python in %{__python2} %{__python3}; do - - $python runtests.py -vv --no-pyregr %{?_smp_mflags} \ +%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ %ifarch s390x ppc64 --exclude numpy_subarray # https://github.com/cython/cython/issues/1982 %endif @@ -103,17 +86,8 @@ for python in %{__python2} %{__python3}; do --exclude run.parallel # https://github.com/cython/cython/issues/2807 %endif -done %endif -%files -n python2-%{srcname} -%license LICENSE.txt -%doc *.txt Demos Doc Tools -%{python2_sitearch}/%{srcname}-*.egg-info/ -%{python2_sitearch}/%{srcname}/ -%{python2_sitearch}/pyximport/ -%{python2_sitearch}/%{upname}.py* - %files -n python3-%{srcname} %license LICENSE.txt %doc *.txt Demos Doc Tools @@ -132,6 +106,9 @@ done %{_emacs_sitestartdir}/cython*.el* %changelog +* Mon Nov 04 2019 Miro Hrončok - 0.29.13-6 +- Python 2 subpackage has been removed + * Thu Oct 03 2019 Miro Hrončok - 0.29.13-5 - Rebuilt for Python 3.8.0rc1 (#1748018) From 1c463e3d3453154382606df1b6ca787e302c93d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 4 Nov 2019 18:25:32 +0100 Subject: [PATCH 025/124] Update to 0.29.14 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1768034 --- .gitignore | 1 + Cython.spec | 10 ++++------ sources | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ee834b3..c32e157 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 12944fc..6387565 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,9 +4,9 @@ %bcond_without tests Name: Cython -Version: 0.29.13 +Version: 0.29.14 %global upver %{version_no_tilde %{nil}} -Release: 6%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -79,9 +79,6 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %if %{with tests} %check %{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ - %ifarch s390x ppc64 - --exclude numpy_subarray # https://github.com/cython/cython/issues/1982 - %endif %ifarch %{ix86} --exclude run.parallel # https://github.com/cython/cython/issues/2807 %endif @@ -106,7 +103,8 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog -* Mon Nov 04 2019 Miro Hrončok - 0.29.13-6 +* 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 diff --git a/sources b/sources index d567da6..7209a2f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.13.tar.gz) = 79efebfddabf31a046ae86a2c2170e0956098f4b1c7b8bbd338d30be7c96c31ee2d648332fc16ad9cf1e5d0ea4ca1a070b2d31ccbeae0c0f86a2f7700b92f656 +SHA512 (Cython-0.29.14.tar.gz) = fa1575fc5ec7ee19de34f91a15bdd45d889f54217dbe2a9654604ada90d8d86fe7bceb86449c41b68d6b65459769916a0d7d5f5da21c5597aedc876cde4e37df From 5c8dccc6b9ae31c96985a865ea25d12c01ed28b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Jan 2020 11:44:46 +0100 Subject: [PATCH 026/124] Python 3.9 compatibility --- ...4026e9cf6d63d539b359f8ba5155fd48ae21.patch | 35 +++++++++++++++++++ Cython.spec | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch diff --git a/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch b/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch new file mode 100644 index 0000000..93dbe8a --- /dev/null +++ b/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch @@ -0,0 +1,35 @@ +From 1cd24026e9cf6d63d539b359f8ba5155fd48ae21 Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Fri, 15 Mar 2019 00:10:05 +0100 +Subject: [PATCH] Import "Iterable" ABC class from "collections.abc" in Py3 + instead of deprecated "collections" package. + +--- + Cython/Build/Dependencies.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py +index a4e5c60bee..eb03004e24 100644 +--- a/Cython/Build/Dependencies.py ++++ b/Cython/Build/Dependencies.py +@@ -18,6 +18,11 @@ + from distutils.util import strtobool + import zipfile + ++try: ++ from collections.abc import Iterable ++except ImportError: ++ from collections import Iterable ++ + try: + import gzip + gzip_open = gzip.open +@@ -749,7 +754,7 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet= + exclude = [] + if patterns is None: + return [], {} +- elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable): ++ elif isinstance(patterns, basestring) or not isinstance(patterns, Iterable): + patterns = [patterns] + explicit_modules = set([m.name for m in patterns if isinstance(m, Extension)]) + seen = set() diff --git a/Cython.spec b/Cython.spec index 6387565..c8e155a 100644 --- a/Cython.spec +++ b/Cython.spec @@ -13,6 +13,9 @@ License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz +# Python 3.9 compatibility +Patch1: https://github.com/cython/cython/commit/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch + BuildRequires: gcc %if %{with tests} BuildRequires: gcc-c++ From 7d0ab88403b751b1e3de7f1edadebd52f5d3b0cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 09:18:22 +0000 Subject: [PATCH 027/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_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 c8e155a..c90b137 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.14 %global upver %{version_no_tilde %{nil}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -106,6 +106,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 5ae908bc2e8c93c2f87594c249302eeb2ae130da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 8 Feb 2020 21:17:04 +0100 Subject: [PATCH 028/124] Update to 0.29.15 (#1800158) --- .gitignore | 1 + ...4026e9cf6d63d539b359f8ba5155fd48ae21.patch | 35 ------------------- Cython.spec | 10 +++--- sources | 2 +- 4 files changed, 7 insertions(+), 41 deletions(-) delete mode 100644 1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch diff --git a/.gitignore b/.gitignore index c32e157..7c83713 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ Cython-0.12.1.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 diff --git a/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch b/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch deleted file mode 100644 index 93dbe8a..0000000 --- a/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 1cd24026e9cf6d63d539b359f8ba5155fd48ae21 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Fri, 15 Mar 2019 00:10:05 +0100 -Subject: [PATCH] Import "Iterable" ABC class from "collections.abc" in Py3 - instead of deprecated "collections" package. - ---- - Cython/Build/Dependencies.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py -index a4e5c60bee..eb03004e24 100644 ---- a/Cython/Build/Dependencies.py -+++ b/Cython/Build/Dependencies.py -@@ -18,6 +18,11 @@ - from distutils.util import strtobool - import zipfile - -+try: -+ from collections.abc import Iterable -+except ImportError: -+ from collections import Iterable -+ - try: - import gzip - gzip_open = gzip.open -@@ -749,7 +754,7 @@ def create_extension_list(patterns, exclude=None, ctx=None, aliases=None, quiet= - exclude = [] - if patterns is None: - return [], {} -- elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable): -+ elif isinstance(patterns, basestring) or not isinstance(patterns, Iterable): - patterns = [patterns] - explicit_modules = set([m.name for m in patterns if isinstance(m, Extension)]) - seen = set() diff --git a/Cython.spec b/Cython.spec index c90b137..5b30f96 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,18 +4,15 @@ %bcond_without tests Name: Cython -Version: 0.29.14 +Version: 0.29.15 %global upver %{version_no_tilde %{nil}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz -# Python 3.9 compatibility -Patch1: https://github.com/cython/cython/commit/1cd24026e9cf6d63d539b359f8ba5155fd48ae21.patch - BuildRequires: gcc %if %{with tests} BuildRequires: gcc-c++ @@ -106,6 +103,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index 7209a2f..d873893 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.14.tar.gz) = fa1575fc5ec7ee19de34f91a15bdd45d889f54217dbe2a9654604ada90d8d86fe7bceb86449c41b68d6b65459769916a0d7d5f5da21c5597aedc876cde4e37df +SHA512 (Cython-0.29.15.tar.gz) = bd0872359d31a41750353bb0d7f03c2a40aa2bf6e492148e693321cef15b02ae4f8d5f5a00efde7216f09a6ac06f2bb3ded9d00e27ad0cfc53605f3a9ef55af8 From 616546a49d6c11068ee4ae079bc14a60d0124e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 25 Mar 2020 16:02:54 +0100 Subject: [PATCH 029/124] Update to 0.29.16 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1816785 --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7c83713..17a2a47 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 5b30f96..3b159fc 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.15 +Version: 0.29.16 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -103,6 +103,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index d873893..cbbeae8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.15.tar.gz) = bd0872359d31a41750353bb0d7f03c2a40aa2bf6e492148e693321cef15b02ae4f8d5f5a00efde7216f09a6ac06f2bb3ded9d00e27ad0cfc53605f3a9ef55af8 +SHA512 (Cython-0.29.16.tar.gz) = 8f7a05ad86d557d774b2de5ec77fa9bc2600500555b607482899ade2b8abb2ebb60fc1b944f355b37663e30de09d53bcaa925f888b4128f4b0345a1cad9e2923 From bae4cd93fddf74530647cfc05c4dc4dbfe985edf Mon Sep 17 00:00:00 2001 From: Marcel Plch Date: Tue, 28 Apr 2020 13:09:46 +0200 Subject: [PATCH 030/124] Update to 0.29.17 --- .gitignore | 1 + Cython.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 17a2a47..80ee993 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 3b159fc..f91169c 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.16 +Version: 0.29.17 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -103,6 +103,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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) diff --git a/sources b/sources index cbbeae8..99d1d3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.16.tar.gz) = 8f7a05ad86d557d774b2de5ec77fa9bc2600500555b607482899ade2b8abb2ebb60fc1b944f355b37663e30de09d53bcaa925f888b4128f4b0345a1cad9e2923 +SHA512 (Cython-0.29.17.tar.gz) = f722e4feb0fcd0de7b882d0ba7cd78c37b6aaa4438619607665ea269b207a482fab6ca65cf12bab54d94b5929776c973a270c0748ed35b0f88a72811bf90d4df From d65896461527736383cdadc4208476778c312c14 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Sun, 17 May 2020 11:09:29 +0200 Subject: [PATCH 031/124] Record that Tempita is bundled --- Cython.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cython.spec b/Cython.spec index f91169c..58b7ce7 100644 --- a/Cython.spec +++ b/Cython.spec @@ -39,6 +39,12 @@ BuildRequires: python3-numpy BuildRequires: python3-jedi %endif +# A small templating library is bundled in Cython/Tempita +# Upstream version 0.5.2 is available from https://pypi.org/project/Tempita +# but the bundled copy is patched and reorganized. +# Upstream homepage is inaccessible. +Provides: bundled(python3dist(tempita)) + %description -n python3-%{srcname} %{_description} Python 3 version. From 5f0bd3ad0549b6464326920e29663516d5ec5969 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 13 May 2020 11:28:52 +0200 Subject: [PATCH 032/124] Work around class- and staticmethod breakage Note that staticmethod fused functions are still broken. --- Cython.spec | 15 ++- class-static-method-workaround.patch | 139 +++++++++++++++++++++++++++ 2 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 class-static-method-workaround.patch diff --git a/Cython.spec b/Cython.spec index 58b7ce7..3df6edf 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,13 +6,22 @@ Name: Cython Version: 0.29.17 %global upver %{version_no_tilde %{nil}} -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/%{upver}/%{srcname}-%{version}.tar.gz +# Partially work around issues with class and static methods +# See https://bugzilla.redhat.com/show_bug.cgi?id=1788506 +# Mostly backported from upstream: https://github.com/cython/cython/pull/3106 +# This also: +# - Removes staticmethod optimizations for normal functions +# - Removes failing test for staticmethod fused functions, which still fail +# See also: https://github.com/cython/cython/issues/3614 +Patch3106: class-static-method-workaround.patch + BuildRequires: gcc %if %{with tests} BuildRequires: gcc-c++ @@ -109,6 +118,10 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/class-static-method-workaround.patch b/class-static-method-workaround.patch new file mode 100644 index 0000000..4f854e0 --- /dev/null +++ b/class-static-method-workaround.patch @@ -0,0 +1,139 @@ +diff -U3 -r cython-0.29.17.orig/Cython/Compiler/ExprNodes.py cython-0.29.17/Cython/Compiler/ExprNodes.py +--- cython-0.29.17.orig/Cython/Compiler/ExprNodes.py 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Compiler/ExprNodes.py 2020-05-15 17:44:55.157172257 +0200 +@@ -2295,8 +2295,10 @@ + setter = 'PyDict_SetItem' + namespace = Naming.moddict_cname + elif entry.is_pyclass_attr: +- code.globalstate.use_utility_code(UtilityCode.load_cached("SetNameInClass", "ObjectHandling.c")) +- setter = '__Pyx_SetNameInClass' ++ # Special-case setting __new__ ++ n = "SetNewInClass" if self.name == "__new__" else "SetNameInClass" ++ code.globalstate.use_utility_code(UtilityCode.load_cached(n, "ObjectHandling.c")) ++ setter = '__Pyx_' + n + else: + assert False, repr(entry) + code.put_error_if_neg( +diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/Compiler/Nodes.py +--- cython-0.29.17.orig/Cython/Compiler/Nodes.py 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Compiler/Nodes.py 2020-05-15 17:44:55.159172253 +0200 +@@ -2872,7 +2872,6 @@ + func = decorator.decorator + if func.is_name: + self.is_classmethod |= func.name == 'classmethod' +- self.is_staticmethod |= func.name == 'staticmethod' + + if self.is_classmethod and env.lookup_here('classmethod'): + # classmethod() was overridden - not much we can do here ... +diff -U3 -r cython-0.29.17.orig/Cython/Utility/CythonFunction.c cython-0.29.17/Cython/Utility/CythonFunction.c +--- cython-0.29.17.orig/Cython/Utility/CythonFunction.c 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Utility/CythonFunction.c 2020-05-15 17:44:55.160172251 +0200 +@@ -548,21 +548,6 @@ + + static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type) + { +- __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; +- +- if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) { +- Py_INCREF(func); +- return func; +- } +- +- if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) { +- if (type == NULL) +- type = (PyObject *)(Py_TYPE(obj)); +- return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type))); +- } +- +- if (obj == Py_None) +- obj = NULL; + return __Pyx_PyMethod_New(func, obj, type); + } + +diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c +--- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200 +@@ -1163,6 +1163,30 @@ + #define __Pyx_SetNameInClass(ns, name, value) PyObject_SetItem(ns, name, value) + #endif + ++/////////////// SetNewInClass.proto /////////////// ++ ++static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value); ++ ++/////////////// SetNewInClass /////////////// ++//@requires: SetNameInClass ++ ++// Special-case setting __new__: if it's a Cython function, wrap it in a ++// staticmethod. This is similar to what Python does for a Python function ++// called __new__. ++static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value) { ++#ifdef __Pyx_CyFunction_USED ++ int ret; ++ if (__Pyx_CyFunction_Check(value)) { ++ PyObject *staticnew = PyStaticMethod_New(value); ++ if (unlikely(!staticnew)) return -1; ++ ret = __Pyx_SetNameInClass(ns, name, staticnew); ++ Py_DECREF(staticnew); ++ return ret; ++ } ++#endif ++ return __Pyx_SetNameInClass(ns, name, value); ++} ++ + + /////////////// GetModuleGlobalName.proto /////////////// + //@requires: PyDictVersioning +Only in cython-0.29.17.orig: cython-0.29.17 +diff -U3 -r cython-0.29.17.orig/tests/run/cyfunction.pyx cython-0.29.17/tests/run/cyfunction.pyx +--- cython-0.29.17.orig/tests/run/cyfunction.pyx 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/tests/run/cyfunction.pyx 2020-05-15 17:44:55.160172251 +0200 +@@ -376,6 +376,18 @@ + def meth(self): pass + + ++class TestStaticmethod(object): ++ """ ++ >>> x = TestStaticmethod() ++ >>> x.staticmeth(42) ++ 42 ++ >>> x.staticmeth.__get__(42)() ++ 42 ++ """ ++ @staticmethod ++ def staticmeth(arg): return arg ++ ++ + cdef class TestOptimisedBuiltinMethod: + """ + >>> obj = TestOptimisedBuiltinMethod() +diff -U3 -r cython-0.29.17.orig/tests/run/fused_def.pyx cython-0.29.17/tests/run/fused_def.pyx +--- cython-0.29.17.orig/tests/run/fused_def.pyx 2020-04-26 13:48:48.000000000 +0200 ++++ cython-0.29.17/tests/run/fused_def.pyx 2020-05-15 18:03:39.436752174 +0200 +@@ -268,14 +268,6 @@ + def test_fused_def_super(): + """ + >>> test_fused_def_super() +- long 10 +- long 11 +- long 11 +- long 12 +- short 12 +- long 13 +- short 13 +- long 14 + long 14 + long 15 + long 15 +@@ -296,11 +288,6 @@ + obj = SubClass() + cls = SubClass + +- obj.mystaticmethod(obj, 10) +- cls.mystaticmethod(obj, 11) +- obj.mystaticmethod[cy.short](obj, 12) +- cls.mystaticmethod[cy.short](obj, 13) +- + obj.myclassmethod(14) + cls.myclassmethod(15) + obj.myclassmethod[cy.short](16) From 6d85179678fa3187133864dc0b30c8fe41a44533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 22 May 2020 21:39:38 +0200 Subject: [PATCH 033/124] Bootstrap for Python 3.9 --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index 3df6edf..b39eebe 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %global srcname Cython %global upname cython @@ -6,7 +7,7 @@ Name: Cython Version: 0.29.17 %global upver %{version_no_tilde %{nil}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -118,6 +119,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From fcb231b125c3e33f149fa0144a209af360e6eed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 25 May 2020 10:31:30 +0200 Subject: [PATCH 034/124] Rebuilt for Python 3.9 --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index b39eebe..398dafe 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %global srcname Cython %global upname cython @@ -7,7 +6,7 @@ Name: Cython Version: 0.29.17 %global upver %{version_no_tilde %{nil}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -119,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 048c8d73ca06f98d61cf11fcea9779291e7a703f Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Wed, 27 May 2020 08:51:52 +0000 Subject: [PATCH 035/124] Update to 0.29.19 --- Cython.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 398dafe..499ea31 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,9 +4,9 @@ %bcond_without tests Name: Cython -Version: 0.29.17 +Version: 0.29.19 %global upver %{version_no_tilde %{nil}} -Release: 4%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -118,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 71280f32f3e922ba7b90a23c70ae653fefc3f005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 27 May 2020 12:11:19 +0200 Subject: [PATCH 036/124] Sources for 0.29.19 --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 80ee993..c6b8516 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ Cython-0.12.1.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 diff --git a/sources b/sources index 99d1d3c..4ae2411 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.17.tar.gz) = f722e4feb0fcd0de7b882d0ba7cd78c37b6aaa4438619607665ea269b207a482fab6ca65cf12bab54d94b5929776c973a270c0748ed35b0f88a72811bf90d4df +SHA512 (Cython-0.29.19.tar.gz) = 402f95f82099db0ae99ca2f849a9aef97558c9c6be62d3b3c66c346ecc94efbbe824ffc77f3cc6dd1d7054a2fb0332b10fe855ca1b054095f2df2ee297fd96a7 From 4f065f5ed4794c705012bbfe7424c7f4ec18a9de Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 22 Jul 2020 10:30:31 -0500 Subject: [PATCH 037/124] 0.29.21 --- .gitignore | 1 + Cython.spec | 5 ++++- class-static-method-workaround.patch | 25 ------------------------- sources | 2 +- 4 files changed, 6 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index c6b8516..6411db2 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 499ea31..305c6c7 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.19 +Version: 0.29.21 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -118,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/class-static-method-workaround.patch b/class-static-method-workaround.patch index 4f854e0..b0a66b0 100644 --- a/class-static-method-workaround.patch +++ b/class-static-method-workaround.patch @@ -25,31 +25,6 @@ diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/C if self.is_classmethod and env.lookup_here('classmethod'): # classmethod() was overridden - not much we can do here ... -diff -U3 -r cython-0.29.17.orig/Cython/Utility/CythonFunction.c cython-0.29.17/Cython/Utility/CythonFunction.c ---- cython-0.29.17.orig/Cython/Utility/CythonFunction.c 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/Cython/Utility/CythonFunction.c 2020-05-15 17:44:55.160172251 +0200 -@@ -548,21 +548,6 @@ - - static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type) - { -- __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; -- -- if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) { -- Py_INCREF(func); -- return func; -- } -- -- if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) { -- if (type == NULL) -- type = (PyObject *)(Py_TYPE(obj)); -- return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type))); -- } -- -- if (obj == Py_None) -- obj = NULL; - return __Pyx_PyMethod_New(func, obj, type); - } - diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c --- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200 +++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200 diff --git a/sources b/sources index 4ae2411..1155232 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.19.tar.gz) = 402f95f82099db0ae99ca2f849a9aef97558c9c6be62d3b3c66c346ecc94efbbe824ffc77f3cc6dd1d7054a2fb0332b10fe855ca1b054095f2df2ee297fd96a7 +SHA512 (Cython-0.29.21.tar.gz) = 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 From 3e690c8211bfe275f7eb28ce9fedea123e6c6065 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 22 Jul 2020 10:47:23 -0500 Subject: [PATCH 038/124] Disable test until numpy is updates. --- Cython.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cython.spec b/Cython.spec index 305c6c7..665a0e2 100644 --- a/Cython.spec +++ b/Cython.spec @@ -91,14 +91,14 @@ mkdir -p %{buildroot}%{_emacs_sitestartdir}/ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/ -%if %{with tests} -%check -%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ - %ifarch %{ix86} - --exclude run.parallel # https://github.com/cython/cython/issues/2807 - %endif - -%endif +#%if %{with tests} +#%check +#%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ +# %ifarch %{ix86} +# --exclude run.parallel # https://github.com/cython/cython/issues/2807 +# %endif +# +#%endif %files -n python3-%{srcname} %license LICENSE.txt From 7763f44a20ef900e295997a9b0326f2bd6b2acaf Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 22 Jul 2020 13:50:49 -0500 Subject: [PATCH 039/124] Re-enable tests. --- Cython.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Cython.spec b/Cython.spec index 665a0e2..fbd3f22 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.21 %global upver %{version_no_tilde %{nil}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -91,14 +91,14 @@ mkdir -p %{buildroot}%{_emacs_sitestartdir}/ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/ -#%if %{with tests} -#%check -#%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ -# %ifarch %{ix86} -# --exclude run.parallel # https://github.com/cython/cython/issues/2807 -# %endif -# -#%endif +%if %{with tests} +%check +%{python3} runtests.py -vv --no-pyregr %{?_smp_mflags} \ + %ifarch %{ix86} + --exclude run.parallel # https://github.com/cython/cython/issues/2807 + %endif + +%endif %files -n python3-%{srcname} %license LICENSE.txt @@ -118,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 3381470c02249608c6f9b12ab951143b5af2e18d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 10:18:11 +0000 Subject: [PATCH 040/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_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 fbd3f22..695afeb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.21 %global upver %{version_no_tilde %{nil}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -118,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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. From 88a2c0e6054e72227194866e95864609e2ea30d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Nov 2020 10:57:20 +0100 Subject: [PATCH 041/124] Drop build dependency on coverage --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index 695afeb..4ee016a 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.21 %global upver %{version_no_tilde %{nil}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -43,7 +43,6 @@ Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} -BuildRequires: python3-coverage BuildRequires: python3-numpy BuildRequires: python3-jedi %endif @@ -118,6 +117,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From 9a9bbcd568ced1f6d655311fb34784eb9ee6e159 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 22:20:58 +0000 Subject: [PATCH 042/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_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 4ee016a..845b7b0 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.21 %global upver %{version_no_tilde %{nil}} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -117,6 +117,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 From e54e595a42f17dadf8d04a246306aaab805f5a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 4 Mar 2021 09:22:10 +0100 Subject: [PATCH 043/124] Update to 0.29.22 --- .gitignore | 1 + Cython.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6411db2..19e2884 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ Cython-0.12.1.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 diff --git a/Cython.spec b/Cython.spec index 845b7b0..42187d3 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,9 +4,9 @@ %bcond_without tests Name: Cython -Version: 0.29.21 +Version: 0.29.22 %global upver %{version_no_tilde %{nil}} -Release: 5%{?dist} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -117,6 +117,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* 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 diff --git a/sources b/sources index 1155232..69b85fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.21.tar.gz) = 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 +SHA512 (Cython-0.29.22.tar.gz) = b7f22112678f159bf1d0ad5fe4f7c103e96f240bab4d9dc07edd7c2f66a9887b9af72b32f1d5886361b48d428bc2b9499d3c5b59ce5af1068f20a26549783dd6 From 705633024aca934d773b3628f6689d8f267bca65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 4 Mar 2021 10:25:03 +0100 Subject: [PATCH 044/124] Introduce cython_compile bcond --- Cython.spec | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/Cython.spec b/Cython.spec index 42187d3..59957c5 100644 --- a/Cython.spec +++ b/Cython.spec @@ -3,6 +3,10 @@ %bcond_without tests +# This bcond allows to ship a non-compiled version +# Slower, but sometimes necessary with alpha Python versions +%bcond_without cython_compile + Name: Cython Version: 0.29.22 %global upver %{version_no_tilde %{nil}} @@ -22,7 +26,14 @@ Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{v # See also: https://github.com/cython/cython/issues/3614 Patch3106: class-static-method-workaround.patch +%if %{with cython_compile} BuildRequires: gcc +%global python3_site %{python3_sitearch} +%else +BuildArch: noarch +%global python3_site %{python3_sitelib} +%endif + %if %{with tests} BuildRequires: gcc-c++ %endif @@ -70,7 +81,7 @@ cython-mode is an Emacs major mode for editing Cython source files. %autosetup -n %{upname}-%{upver} -p1 %build -%py3_build +%py3_build -- %{!?with_cython_compile:--no-cython-compile} # emacs-cython-mode build echo ";; @@ -80,7 +91,7 @@ cp -p Tools/cython-mode.el . %install -%py3_install +%py3_install -- %{!?with_cython_compile:--no-cython-compile} rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests # emacs-cython-mode install @@ -105,11 +116,11 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize -%{python3_sitearch}/%{srcname}-*.egg-info/ -%{python3_sitearch}/%{srcname}/ -%{python3_sitearch}/pyximport/ -%{python3_sitearch}/%{upname}.py -%{python3_sitearch}/__pycache__/%{upname}.* +%{python3_site}/%{srcname}-*.egg-info/ +%{python3_site}/%{srcname}/ +%{python3_site}/pyximport/ +%{python3_site}/%{upname}.py +%{python3_site}/__pycache__/%{upname}.* %files -n emacs-cython-mode %license LICENSE.txt From abebf576dc653cc80d3f14afa744b00d4ca5b2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 9 Mar 2021 17:47:31 +0100 Subject: [PATCH 045/124] General cleanup --- Cython.spec | 81 ++++++++++--------- class-static-method-workaround.patch | 114 --------------------------- 2 files changed, 43 insertions(+), 152 deletions(-) delete mode 100644 class-static-method-workaround.patch diff --git a/Cython.spec b/Cython.spec index 59957c5..83eb815 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,6 +1,3 @@ -%global srcname Cython -%global upname cython - %bcond_without tests # This bcond allows to ship a non-compiled version @@ -9,22 +6,21 @@ Name: Cython Version: 0.29.22 -%global upver %{version_no_tilde %{nil}} -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/%{upver}/%{srcname}-%{version}.tar.gz +Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz -# Partially work around issues with class and static methods -# See https://bugzilla.redhat.com/show_bug.cgi?id=1788506 -# Mostly backported from upstream: https://github.com/cython/cython/pull/3106 -# This also: -# - Removes staticmethod optimizations for normal functions -# - Removes failing test for staticmethod fused functions, which still fail -# See also: https://github.com/cython/cython/issues/3614 -Patch3106: class-static-method-workaround.patch +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%if %{with tests} +BuildRequires: gcc-c++ +BuildRequires: python3-numpy +BuildRequires: python3-jedi +%endif %if %{with cython_compile} BuildRequires: gcc @@ -34,29 +30,30 @@ BuildArch: noarch %global python3_site %{python3_sitelib} %endif -%if %{with tests} -BuildRequires: gcc-c++ -%endif +%global _description %{expand: +The Cython language makes writing C extensions for the Python language as easy +as Python itself. Cython is a source code translator based on Pyrex, +but supports more cutting edge functionality and optimizations. -%global _description \ -This is a development version of Pyrex, a language\ -for writing Python extension modules. +The Cython language is a superset of the Python language (almost all Python +code is also valid Cython code), but Cython additionally supports optional +static typing to natively call C functions, operate with C++ classes and +declare fast C types on variables and class attributes. +This allows the compiler to generate very efficient C code from Cython code. + +This makes Cython the ideal language for writing glue code for external C/C++ +libraries, and for fast C modules that speed up the execution of Python code.} %description %{_description} -%package -n python3-%{srcname} + +%package -n python3-Cython Summary: %{summary} -%{?python_provide:%python_provide python3-%{srcname}} -Conflicts: python2-%{srcname} < 0.28.4-2 Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release} Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: Cython < %{?epoch:%{epoch}:}%{version}-%{release} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%if %{with tests} -BuildRequires: python3-numpy -BuildRequires: python3-jedi -%endif +Provides: cython = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +%py_provides python3-cython # A small templating library is bundled in Cython/Tempita # Upstream version 0.5.2 is available from https://pypi.org/project/Tempita @@ -64,9 +61,8 @@ BuildRequires: python3-jedi # Upstream homepage is inaccessible. Provides: bundled(python3dist(tempita)) -%description -n python3-%{srcname} %{_description} +%description -n python3-Cython %{_description} -Python 3 version. %package -n emacs-cython-mode Summary: A major mode for editing Cython source files in Emacs @@ -77,8 +73,10 @@ Requires: emacs(bin) >= %{_emacs_version} %description -n emacs-cython-mode cython-mode is an Emacs major mode for editing Cython source files. + %prep -%autosetup -n %{upname}-%{upver} -p1 +%autosetup -n cython-%{version} -p1 + %build %py3_build -- %{!?with_cython_compile:--no-cython-compile} @@ -110,24 +108,31 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %endif -%files -n python3-%{srcname} + +%files -n python3-Cython %license LICENSE.txt %doc *.txt Demos Doc Tools %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize -%{python3_site}/%{srcname}-*.egg-info/ -%{python3_site}/%{srcname}/ +%{python3_site}/Cython-*.egg-info/ +%{python3_site}/Cython/ %{python3_site}/pyximport/ -%{python3_site}/%{upname}.py -%{python3_site}/__pycache__/%{upname}.* +%pycached %{python3_site}/cython.py %files -n emacs-cython-mode %license LICENSE.txt %{_emacs_sitelispdir}/cython*.el* %{_emacs_sitestartdir}/cython*.el* + %changelog +* 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 diff --git a/class-static-method-workaround.patch b/class-static-method-workaround.patch deleted file mode 100644 index b0a66b0..0000000 --- a/class-static-method-workaround.patch +++ /dev/null @@ -1,114 +0,0 @@ -diff -U3 -r cython-0.29.17.orig/Cython/Compiler/ExprNodes.py cython-0.29.17/Cython/Compiler/ExprNodes.py ---- cython-0.29.17.orig/Cython/Compiler/ExprNodes.py 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/Cython/Compiler/ExprNodes.py 2020-05-15 17:44:55.157172257 +0200 -@@ -2295,8 +2295,10 @@ - setter = 'PyDict_SetItem' - namespace = Naming.moddict_cname - elif entry.is_pyclass_attr: -- code.globalstate.use_utility_code(UtilityCode.load_cached("SetNameInClass", "ObjectHandling.c")) -- setter = '__Pyx_SetNameInClass' -+ # Special-case setting __new__ -+ n = "SetNewInClass" if self.name == "__new__" else "SetNameInClass" -+ code.globalstate.use_utility_code(UtilityCode.load_cached(n, "ObjectHandling.c")) -+ setter = '__Pyx_' + n - else: - assert False, repr(entry) - code.put_error_if_neg( -diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/Compiler/Nodes.py ---- cython-0.29.17.orig/Cython/Compiler/Nodes.py 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/Cython/Compiler/Nodes.py 2020-05-15 17:44:55.159172253 +0200 -@@ -2872,7 +2872,6 @@ - func = decorator.decorator - if func.is_name: - self.is_classmethod |= func.name == 'classmethod' -- self.is_staticmethod |= func.name == 'staticmethod' - - if self.is_classmethod and env.lookup_here('classmethod'): - # classmethod() was overridden - not much we can do here ... -diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c ---- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200 -@@ -1163,6 +1163,30 @@ - #define __Pyx_SetNameInClass(ns, name, value) PyObject_SetItem(ns, name, value) - #endif - -+/////////////// SetNewInClass.proto /////////////// -+ -+static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value); -+ -+/////////////// SetNewInClass /////////////// -+//@requires: SetNameInClass -+ -+// Special-case setting __new__: if it's a Cython function, wrap it in a -+// staticmethod. This is similar to what Python does for a Python function -+// called __new__. -+static int __Pyx_SetNewInClass(PyObject *ns, PyObject *name, PyObject *value) { -+#ifdef __Pyx_CyFunction_USED -+ int ret; -+ if (__Pyx_CyFunction_Check(value)) { -+ PyObject *staticnew = PyStaticMethod_New(value); -+ if (unlikely(!staticnew)) return -1; -+ ret = __Pyx_SetNameInClass(ns, name, staticnew); -+ Py_DECREF(staticnew); -+ return ret; -+ } -+#endif -+ return __Pyx_SetNameInClass(ns, name, value); -+} -+ - - /////////////// GetModuleGlobalName.proto /////////////// - //@requires: PyDictVersioning -Only in cython-0.29.17.orig: cython-0.29.17 -diff -U3 -r cython-0.29.17.orig/tests/run/cyfunction.pyx cython-0.29.17/tests/run/cyfunction.pyx ---- cython-0.29.17.orig/tests/run/cyfunction.pyx 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/tests/run/cyfunction.pyx 2020-05-15 17:44:55.160172251 +0200 -@@ -376,6 +376,18 @@ - def meth(self): pass - - -+class TestStaticmethod(object): -+ """ -+ >>> x = TestStaticmethod() -+ >>> x.staticmeth(42) -+ 42 -+ >>> x.staticmeth.__get__(42)() -+ 42 -+ """ -+ @staticmethod -+ def staticmeth(arg): return arg -+ -+ - cdef class TestOptimisedBuiltinMethod: - """ - >>> obj = TestOptimisedBuiltinMethod() -diff -U3 -r cython-0.29.17.orig/tests/run/fused_def.pyx cython-0.29.17/tests/run/fused_def.pyx ---- cython-0.29.17.orig/tests/run/fused_def.pyx 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/tests/run/fused_def.pyx 2020-05-15 18:03:39.436752174 +0200 -@@ -268,14 +268,6 @@ - def test_fused_def_super(): - """ - >>> test_fused_def_super() -- long 10 -- long 11 -- long 11 -- long 12 -- short 12 -- long 13 -- short 13 -- long 14 - long 14 - long 15 - long 15 -@@ -296,11 +288,6 @@ - obj = SubClass() - cls = SubClass - -- obj.mystaticmethod(obj, 10) -- cls.mystaticmethod(obj, 11) -- obj.mystaticmethod[cy.short](obj, 12) -- cls.mystaticmethod[cy.short](obj, 13) -- - obj.myclassmethod(14) - cls.myclassmethod(15) - obj.myclassmethod[cy.short](16) From d66d4fa971d455231f40d1eea003905deb0642bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 19 May 2021 12:25:50 +0200 Subject: [PATCH 046/124] Adapt tracing code to Python 3.10 --- 8d177f4aa5.patch | 22 +++++ Cython.spec | 4 + fa5d2f5bc7.patch | 213 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 239 insertions(+) create mode 100644 8d177f4aa5.patch create mode 100644 fa5d2f5bc7.patch diff --git a/8d177f4aa5.patch b/8d177f4aa5.patch new file mode 100644 index 0000000..37d4d62 --- /dev/null +++ b/8d177f4aa5.patch @@ -0,0 +1,22 @@ +From 8d177f4aa51a663e8c51de3210ccb329d7629d36 Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Sat, 15 May 2021 22:38:57 +0200 +Subject: [PATCH] Fix another direct usage of "tstate->use_tracing" in Py3.10. + +--- + Cython/Utility/Profile.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c +index 3134aa0403..362cc93dda 100644 +--- a/Cython/Utility/Profile.c ++++ b/Cython/Utility/Profile.c +@@ -298,7 +298,7 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code, + tstate->tracing--; + if (retval) { + __Pyx_ErrRestoreInState(tstate, type, value, traceback); +- return tstate->use_tracing && retval; ++ return __Pyx_IsTracing(tstate, 0, 0) && retval; + } else { + Py_XDECREF(type); + Py_XDECREF(value); diff --git a/Cython.spec b/Cython.spec index 83eb815..f3bd8cb 100644 --- a/Cython.spec +++ b/Cython.spec @@ -13,6 +13,10 @@ License: ASL 2.0 URL: http://www.cython.org Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz +# Adapt tracing code to Python 3.10, 2 commits +Patch1: https://github.com/cython/cython/commit/fa5d2f5bc7.patch +Patch2: https://github.com/cython/cython/commit/8d177f4aa5.patch + BuildRequires: python3-devel BuildRequires: python3-setuptools diff --git a/fa5d2f5bc7.patch b/fa5d2f5bc7.patch new file mode 100644 index 0000000..e9d8b00 --- /dev/null +++ b/fa5d2f5bc7.patch @@ -0,0 +1,213 @@ +From fa5d2f5bc7c8ffbc7f80971cd7e93085f77b61f2 Mon Sep 17 00:00:00 2001 +From: Stefan Behnel +Date: Fri, 14 May 2021 19:39:58 +0200 +Subject: [PATCH] Adapt tracing code to Py3.10 beta 1. + +--- + Cython/Utility/Profile.c | 79 +++++++++++++++++++++++++--------------- + 1 file changed, 49 insertions(+), 30 deletions(-) + +diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c +index 5f2de7e54b..3134aa0403 100644 +--- a/Cython/Utility/Profile.c ++++ b/Cython/Utility/Profile.c +@@ -47,13 +47,32 @@ + #define CYTHON_FRAME_DEL(frame) Py_CLEAR(frame) + #endif + +- #define __Pyx_TraceDeclarations \ +- static PyCodeObject *$frame_code_cname = NULL; \ +- CYTHON_FRAME_MODIFIER PyFrameObject *$frame_cname = NULL; \ +- int __Pyx_use_tracing = 0; ++ #define __Pyx_TraceDeclarations \ ++ static PyCodeObject *$frame_code_cname = NULL; \ ++ CYTHON_FRAME_MODIFIER PyFrameObject *$frame_cname = NULL; \ ++ int __Pyx_use_tracing = 0; + +- #define __Pyx_TraceFrameInit(codeobj) \ +- if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; ++ #define __Pyx_TraceFrameInit(codeobj) \ ++ if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; ++ ++#if PY_VERSION_HEX >= 0x030a00b1 ++ #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))) ++ ++ #define __Pyx_SetTracing(tstate, enable) \ ++ (tstate)->cframe->use_tracing = (enable) ++ ++#else ++ #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ ++ (unlikely(tstate->use_tracing) && \ ++ (!(check_tracing) || !tstate->tracing) && \ ++ (!(check_funcs) || tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) ++ ++ #define __Pyx_SetTracing(tstate, enable) \ ++ (tstate)->use_tracing = (enable) ++#endif + + #ifdef WITH_THREAD + #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) \ +@@ -62,8 +81,7 @@ + PyThreadState *tstate; \ + PyGILState_STATE state = PyGILState_Ensure(); \ + tstate = __Pyx_PyThreadState_Current; \ +- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ +- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ ++ if (__Pyx_IsTracing(tstate, 1, 1)) { \ + __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ + } \ + PyGILState_Release(state); \ +@@ -71,8 +89,7 @@ + } \ + } else { \ + PyThreadState* tstate = PyThreadState_GET(); \ +- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ +- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ ++ if (__Pyx_IsTracing(tstate, 1, 1)) { \ + __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ + if (unlikely(__Pyx_use_tracing < 0)) goto_error; \ + } \ +@@ -80,8 +97,7 @@ + #else + #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) \ + { PyThreadState* tstate = PyThreadState_GET(); \ +- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ +- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ ++ if (__Pyx_IsTracing(tstate, 1, 1)) { \ + __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ + if (unlikely(__Pyx_use_tracing < 0)) goto_error; \ + } \ +@@ -91,10 +107,9 @@ + #define __Pyx_TraceException() \ + if (likely(!__Pyx_use_tracing)); else { \ + PyThreadState* tstate = __Pyx_PyThreadState_Current; \ +- if (tstate->use_tracing && \ +- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ ++ if (__Pyx_IsTracing(tstate, 0, 1)) { \ + tstate->tracing++; \ +- tstate->use_tracing = 0; \ ++ __Pyx_SetTracing(tstate, 0); \ + PyObject *exc_info = __Pyx_GetExceptionTuple(tstate); \ + if (exc_info) { \ + if (CYTHON_TRACE && tstate->c_tracefunc) \ +@@ -104,7 +119,7 @@ + tstate->c_profileobj, $frame_cname, PyTrace_EXCEPTION, exc_info); \ + Py_DECREF(exc_info); \ + } \ +- tstate->use_tracing = 1; \ ++ __Pyx_SetTracing(tstate, 1); \ + tstate->tracing--; \ + } \ + } +@@ -113,13 +128,13 @@ + PyObject *type, *value, *traceback; + __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); + tstate->tracing++; +- tstate->use_tracing = 0; ++ __Pyx_SetTracing(tstate, 0); + if (CYTHON_TRACE && tstate->c_tracefunc) + tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); + if (tstate->c_profilefunc) + tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); + CYTHON_FRAME_DEL(frame); +- tstate->use_tracing = 1; ++ __Pyx_SetTracing(tstate, 1); + tstate->tracing--; + __Pyx_ErrRestoreInState(tstate, type, value, traceback); + } +@@ -132,14 +147,14 @@ + PyThreadState *tstate; \ + PyGILState_STATE state = PyGILState_Ensure(); \ + tstate = __Pyx_PyThreadState_Current; \ +- if (tstate->use_tracing) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0)) { \ + __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ + } \ + PyGILState_Release(state); \ + } \ + } else { \ + PyThreadState* tstate = __Pyx_PyThreadState_Current; \ +- if (tstate->use_tracing) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0)) { \ + __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ + } \ + } \ +@@ -148,7 +163,7 @@ + #define __Pyx_TraceReturn(result, nogil) \ + if (likely(!__Pyx_use_tracing)); else { \ + PyThreadState* tstate = __Pyx_PyThreadState_Current; \ +- if (tstate->use_tracing) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0)) { \ + __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ + } \ + } +@@ -176,9 +191,11 @@ + __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); + __Pyx_PyFrame_SetLineNumber(frame, lineno); + tstate->tracing++; +- tstate->use_tracing = 0; ++ __Pyx_SetTracing(tstate, 0); ++ + ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); +- tstate->use_tracing = 1; ++ ++ __Pyx_SetTracing(tstate, 1); + tstate->tracing--; + if (likely(!ret)) { + __Pyx_ErrRestoreInState(tstate, type, value, traceback); +@@ -199,7 +216,7 @@ + PyThreadState *tstate; \ + PyGILState_STATE state = PyGILState_Ensure(); \ + tstate = __Pyx_PyThreadState_Current; \ +- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ + ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ + } \ + PyGILState_Release(state); \ +@@ -207,7 +224,7 @@ + } \ + } else { \ + PyThreadState* tstate = __Pyx_PyThreadState_Current; \ +- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ + int ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ + if (unlikely(ret)) goto_error; \ + } \ +@@ -217,7 +234,7 @@ + #define __Pyx_TraceLine(lineno, nogil, goto_error) \ + if (likely(!__Pyx_use_tracing)); else { \ + PyThreadState* tstate = __Pyx_PyThreadState_Current; \ +- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ ++ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ + int ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ + if (unlikely(ret)) goto_error; \ + } \ +@@ -263,19 +280,21 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code, + (*frame)->f_tstate = tstate; + #endif + } +- __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); ++ __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); ++ + retval = 1; + tstate->tracing++; +- tstate->use_tracing = 0; ++ __Pyx_SetTracing(tstate, 0); + __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); ++ + #if CYTHON_TRACE + if (tstate->c_tracefunc) + retval = tstate->c_tracefunc(tstate->c_traceobj, *frame, PyTrace_CALL, NULL) == 0; + if (retval && tstate->c_profilefunc) + #endif + retval = tstate->c_profilefunc(tstate->c_profileobj, *frame, PyTrace_CALL, NULL) == 0; +- tstate->use_tracing = (tstate->c_profilefunc || +- (CYTHON_TRACE && tstate->c_tracefunc)); ++ ++ __Pyx_SetTracing(tstate, (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))); + tstate->tracing--; + if (retval) { + __Pyx_ErrRestoreInState(tstate, type, value, traceback); From f2f31bc0ffb22d80a3c116b9c5c0b09031d772c9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 2 Jun 2021 14:57:15 +0200 Subject: [PATCH 047/124] Bootstrap for Python 3.10 --- Cython.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cython.spec b/Cython.spec index f3bd8cb..d572f53 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.22 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -131,6 +132,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* 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 From 5f403f6493cf6ddfe80ffdfbaaba8db86aefbe24 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 2 Jun 2021 22:04:38 +0200 Subject: [PATCH 048/124] Rebuilt for Python 3.10 --- Cython.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cython.spec b/Cython.spec index d572f53..549a47e 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.22 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -132,6 +131,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* 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 From d42d4b95f63dbda136291714b94cdc6893e54ae5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 10:49:24 +0000 Subject: [PATCH 049/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 1ee3b1a90c6b98628a39cf56c0f2fe1dda319a0a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 15:43:52 +0000 Subject: [PATCH 050/124] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_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 549a47e..a7f3426 100644 --- a/Cython.spec +++ b/Cython.spec @@ -6,7 +6,7 @@ Name: Cython Version: 0.29.22 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -131,6 +131,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* 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 From d5f7a019c7e61cd05d2892c7fb0233efdd3441dd Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 22 Jul 2021 11:26:10 -0400 Subject: [PATCH 051/124] Update to 0.29.24 to fix FTBFS with Python 3.10 --- .gitignore | 1 + 8d177f4aa5.patch | 22 ----- Cython.spec | 12 +-- bf4979e244.patch | 23 +++++ fa5d2f5bc7.patch | 213 ----------------------------------------------- sources | 2 +- 6 files changed, 32 insertions(+), 241 deletions(-) delete mode 100644 8d177f4aa5.patch create mode 100644 bf4979e244.patch delete mode 100644 fa5d2f5bc7.patch diff --git a/.gitignore b/.gitignore index 19e2884..4def83a 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ Cython-0.12.1.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 diff --git a/8d177f4aa5.patch b/8d177f4aa5.patch deleted file mode 100644 index 37d4d62..0000000 --- a/8d177f4aa5.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 8d177f4aa51a663e8c51de3210ccb329d7629d36 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Sat, 15 May 2021 22:38:57 +0200 -Subject: [PATCH] Fix another direct usage of "tstate->use_tracing" in Py3.10. - ---- - Cython/Utility/Profile.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c -index 3134aa0403..362cc93dda 100644 ---- a/Cython/Utility/Profile.c -+++ b/Cython/Utility/Profile.c -@@ -298,7 +298,7 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code, - tstate->tracing--; - if (retval) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); -- return tstate->use_tracing && retval; -+ return __Pyx_IsTracing(tstate, 0, 0) && retval; - } else { - Py_XDECREF(type); - Py_XDECREF(value); diff --git a/Cython.spec b/Cython.spec index a7f3426..7738e0d 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,17 +5,16 @@ %bcond_without cython_compile Name: Cython -Version: 0.29.22 -Release: 5%{?dist} +Version: 0.29.24 +Release: 1%{?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 -# Adapt tracing code to Python 3.10, 2 commits -Patch1: https://github.com/cython/cython/commit/fa5d2f5bc7.patch -Patch2: https://github.com/cython/cython/commit/8d177f4aa5.patch +# Fix test issue +Patch0: https://github.com/cython/cython/commit/bf4979e244.patch BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -131,6 +130,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %changelog +* 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 diff --git a/bf4979e244.patch b/bf4979e244.patch new file mode 100644 index 0000000..a3bd8cd --- /dev/null +++ b/bf4979e244.patch @@ -0,0 +1,23 @@ +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/fa5d2f5bc7.patch b/fa5d2f5bc7.patch deleted file mode 100644 index e9d8b00..0000000 --- a/fa5d2f5bc7.patch +++ /dev/null @@ -1,213 +0,0 @@ -From fa5d2f5bc7c8ffbc7f80971cd7e93085f77b61f2 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Fri, 14 May 2021 19:39:58 +0200 -Subject: [PATCH] Adapt tracing code to Py3.10 beta 1. - ---- - Cython/Utility/Profile.c | 79 +++++++++++++++++++++++++--------------- - 1 file changed, 49 insertions(+), 30 deletions(-) - -diff --git a/Cython/Utility/Profile.c b/Cython/Utility/Profile.c -index 5f2de7e54b..3134aa0403 100644 ---- a/Cython/Utility/Profile.c -+++ b/Cython/Utility/Profile.c -@@ -47,13 +47,32 @@ - #define CYTHON_FRAME_DEL(frame) Py_CLEAR(frame) - #endif - -- #define __Pyx_TraceDeclarations \ -- static PyCodeObject *$frame_code_cname = NULL; \ -- CYTHON_FRAME_MODIFIER PyFrameObject *$frame_cname = NULL; \ -- int __Pyx_use_tracing = 0; -+ #define __Pyx_TraceDeclarations \ -+ static PyCodeObject *$frame_code_cname = NULL; \ -+ CYTHON_FRAME_MODIFIER PyFrameObject *$frame_cname = NULL; \ -+ int __Pyx_use_tracing = 0; - -- #define __Pyx_TraceFrameInit(codeobj) \ -- if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; -+ #define __Pyx_TraceFrameInit(codeobj) \ -+ if (codeobj) $frame_code_cname = (PyCodeObject*) codeobj; -+ -+#if PY_VERSION_HEX >= 0x030a00b1 -+ #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))) -+ -+ #define __Pyx_SetTracing(tstate, enable) \ -+ (tstate)->cframe->use_tracing = (enable) -+ -+#else -+ #define __Pyx_IsTracing(tstate, check_tracing, check_funcs) \ -+ (unlikely(tstate->use_tracing) && \ -+ (!(check_tracing) || !tstate->tracing) && \ -+ (!(check_funcs) || tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) -+ -+ #define __Pyx_SetTracing(tstate, enable) \ -+ (tstate)->use_tracing = (enable) -+#endif - - #ifdef WITH_THREAD - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) \ -@@ -62,8 +81,7 @@ - PyThreadState *tstate; \ - PyGILState_STATE state = PyGILState_Ensure(); \ - tstate = __Pyx_PyThreadState_Current; \ -- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ -- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ -+ if (__Pyx_IsTracing(tstate, 1, 1)) { \ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ - } \ - PyGILState_Release(state); \ -@@ -71,8 +89,7 @@ - } \ - } else { \ - PyThreadState* tstate = PyThreadState_GET(); \ -- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ -- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ -+ if (__Pyx_IsTracing(tstate, 1, 1)) { \ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ - if (unlikely(__Pyx_use_tracing < 0)) goto_error; \ - } \ -@@ -80,8 +97,7 @@ - #else - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) \ - { PyThreadState* tstate = PyThreadState_GET(); \ -- if (unlikely(tstate->use_tracing) && !tstate->tracing && \ -- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ -+ if (__Pyx_IsTracing(tstate, 1, 1)) { \ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&$frame_code_cname, &$frame_cname, tstate, funcname, srcfile, firstlineno); \ - if (unlikely(__Pyx_use_tracing < 0)) goto_error; \ - } \ -@@ -91,10 +107,9 @@ - #define __Pyx_TraceException() \ - if (likely(!__Pyx_use_tracing)); else { \ - PyThreadState* tstate = __Pyx_PyThreadState_Current; \ -- if (tstate->use_tracing && \ -- (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) { \ -+ if (__Pyx_IsTracing(tstate, 0, 1)) { \ - tstate->tracing++; \ -- tstate->use_tracing = 0; \ -+ __Pyx_SetTracing(tstate, 0); \ - PyObject *exc_info = __Pyx_GetExceptionTuple(tstate); \ - if (exc_info) { \ - if (CYTHON_TRACE && tstate->c_tracefunc) \ -@@ -104,7 +119,7 @@ - tstate->c_profileobj, $frame_cname, PyTrace_EXCEPTION, exc_info); \ - Py_DECREF(exc_info); \ - } \ -- tstate->use_tracing = 1; \ -+ __Pyx_SetTracing(tstate, 1); \ - tstate->tracing--; \ - } \ - } -@@ -113,13 +128,13 @@ - PyObject *type, *value, *traceback; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - tstate->tracing++; -- tstate->use_tracing = 0; -+ __Pyx_SetTracing(tstate, 0); - if (CYTHON_TRACE && tstate->c_tracefunc) - tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); - if (tstate->c_profilefunc) - tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); - CYTHON_FRAME_DEL(frame); -- tstate->use_tracing = 1; -+ __Pyx_SetTracing(tstate, 1); - tstate->tracing--; - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - } -@@ -132,14 +147,14 @@ - PyThreadState *tstate; \ - PyGILState_STATE state = PyGILState_Ensure(); \ - tstate = __Pyx_PyThreadState_Current; \ -- if (tstate->use_tracing) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0)) { \ - __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ - } \ - PyGILState_Release(state); \ - } \ - } else { \ - PyThreadState* tstate = __Pyx_PyThreadState_Current; \ -- if (tstate->use_tracing) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0)) { \ - __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ - } \ - } \ -@@ -148,7 +163,7 @@ - #define __Pyx_TraceReturn(result, nogil) \ - if (likely(!__Pyx_use_tracing)); else { \ - PyThreadState* tstate = __Pyx_PyThreadState_Current; \ -- if (tstate->use_tracing) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0)) { \ - __Pyx_call_return_trace_func(tstate, $frame_cname, (PyObject*)result); \ - } \ - } -@@ -176,9 +191,11 @@ - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - __Pyx_PyFrame_SetLineNumber(frame, lineno); - tstate->tracing++; -- tstate->use_tracing = 0; -+ __Pyx_SetTracing(tstate, 0); -+ - ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); -- tstate->use_tracing = 1; -+ -+ __Pyx_SetTracing(tstate, 1); - tstate->tracing--; - if (likely(!ret)) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); -@@ -199,7 +216,7 @@ - PyThreadState *tstate; \ - PyGILState_STATE state = PyGILState_Ensure(); \ - tstate = __Pyx_PyThreadState_Current; \ -- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ - ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ - } \ - PyGILState_Release(state); \ -@@ -207,7 +224,7 @@ - } \ - } else { \ - PyThreadState* tstate = __Pyx_PyThreadState_Current; \ -- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ - int ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ - if (unlikely(ret)) goto_error; \ - } \ -@@ -217,7 +234,7 @@ - #define __Pyx_TraceLine(lineno, nogil, goto_error) \ - if (likely(!__Pyx_use_tracing)); else { \ - PyThreadState* tstate = __Pyx_PyThreadState_Current; \ -- if (unlikely(tstate->use_tracing && tstate->c_tracefunc && $frame_cname->f_trace)) { \ -+ if (__Pyx_IsTracing(tstate, 0, 0) && tstate->c_tracefunc && $frame_cname->f_trace) { \ - int ret = __Pyx_call_line_trace_func(tstate, $frame_cname, lineno); \ - if (unlikely(ret)) goto_error; \ - } \ -@@ -263,19 +280,21 @@ static int __Pyx_TraceSetupAndCall(PyCodeObject** code, - (*frame)->f_tstate = tstate; - #endif - } -- __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); -+ __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); -+ - retval = 1; - tstate->tracing++; -- tstate->use_tracing = 0; -+ __Pyx_SetTracing(tstate, 0); - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); -+ - #if CYTHON_TRACE - if (tstate->c_tracefunc) - retval = tstate->c_tracefunc(tstate->c_traceobj, *frame, PyTrace_CALL, NULL) == 0; - if (retval && tstate->c_profilefunc) - #endif - retval = tstate->c_profilefunc(tstate->c_profileobj, *frame, PyTrace_CALL, NULL) == 0; -- tstate->use_tracing = (tstate->c_profilefunc || -- (CYTHON_TRACE && tstate->c_tracefunc)); -+ -+ __Pyx_SetTracing(tstate, (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))); - tstate->tracing--; - if (retval) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); diff --git a/sources b/sources index 69b85fb..db6bb62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.22.tar.gz) = b7f22112678f159bf1d0ad5fe4f7c103e96f240bab4d9dc07edd7c2f66a9887b9af72b32f1d5886361b48d428bc2b9499d3c5b59ce5af1068f20a26549783dd6 +SHA512 (Cython-0.29.24.tar.gz) = 387a827f3cb7428248019744e3ed606a133d98ac882b83624d24ae0fdf8a8f2334978555d7d84e5cc4adaf715c541fef64e45bcbdda85ca33473c21f99360be8 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 052/124] 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 053/124] - 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 054/124] 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 055/124] 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 056/124] 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 057/124] 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 058/124] 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 059/124] 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 060/124] 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 061/124] 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 062/124] 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 063/124] 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 064/124] 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 065/124] 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 066/124] 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 067/124] 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 068/124] 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 069/124] 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 070/124] 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 071/124] 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 072/124] 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 073/124] 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 074/124] 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 075/124] 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 076/124] 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 077/124] 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 078/124] 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 079/124] 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 080/124] 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 081/124] 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 082/124] 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 083/124] 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 084/124] 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 085/124] 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 086/124] 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 087/124] 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 088/124] 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 089/124] 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 090/124] 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 091/124] 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 092/124] 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 093/124] 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 094/124] 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 095/124] 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 096/124] 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 097/124] 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 098/124] 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 099/124] 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 100/124] 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 101/124] 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 102/124] 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 103/124] 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 104/124] 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 105/124] 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 106/124] 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 107/124] 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 108/124] 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 109/124] 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 110/124] 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 111/124] 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 112/124] 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 113/124] 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 114/124] 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 115/124] 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 116/124] 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 117/124] 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 118/124] 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 119/124] 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 120/124] 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 121/124] 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 122/124] 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 123/124] 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 124/124] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild