From 14ebf6b4b96d48bf62f08334bac0efa7151034ea260893fb1cd7c0b3ae5722ce Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Jul 2023 17:27:23 +0000 Subject: [PATCH 1/2] Accepting request 1097767 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/1097767 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=173 --- Cython-0.29.35.tar.gz | 3 --- Cython-0.29.36.tar.gz | 3 +++ python-Cython.changes | 15 +++++++++++++++ python-Cython.spec | 4 ++-- 4 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 Cython-0.29.35.tar.gz create mode 100644 Cython-0.29.36.tar.gz diff --git a/Cython-0.29.35.tar.gz b/Cython-0.29.35.tar.gz deleted file mode 100644 index 1167c06..0000000 --- a/Cython-0.29.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e381fa0bf08b3c26ec2f616b19ae852c06f5750f4290118bf986b6f85c8c527 -size 2097520 diff --git a/Cython-0.29.36.tar.gz b/Cython-0.29.36.tar.gz new file mode 100644 index 0000000..277993f --- /dev/null +++ b/Cython-0.29.36.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f +size 2097760 diff --git a/python-Cython.changes b/python-Cython.changes index 5e36231..8ed05dc 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Jul 8 20:26:51 UTC 2023 - Arun Persaud + +- update to version 0.29.36: + * Async generators lost their return value in PyPy. (Github issue + :issue:`5465`) + * The outdated C macro _PyGC_FINALIZED() is no longer used in + Py3.9+. + * The deprecated Py_OptimizeFlag is no longer used in Python + 3.9+. (Github issue :issue:`5343`) + * Using the global __debug__ variable but not assertions could lead + to compile errors. + * The broken HTML template support was removed from Tempita. (Github + issue :issue:`3309`) + ------------------------------------------------------------------- Sat May 27 21:05:03 UTC 2023 - Dirk Müller diff --git a/python-Cython.spec b/python-Cython.spec index 24a86f1..ffdba73 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -17,9 +17,8 @@ %bcond_with test -%{?sle15_python_module_pythons} Name: python-Cython -Version: 0.29.35 +Version: 0.29.36 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 @@ -35,6 +34,7 @@ Requires: python-devel Requires: python-xml Requires(post): update-alternatives Requires(postun):update-alternatives +%{?sle15_python_module_pythons} %python_subpackages %description From 45716b9fbbe99da29a383987155439f6f870b4c08693b84bae42fc62e1291233 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Jul 2023 19:03:24 +0000 Subject: [PATCH 2/2] - Clean up SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=174 --- python-Cython-rpmlintrc | 2 +- python-Cython.changes | 5 +++++ python-Cython.spec | 10 ++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-Cython-rpmlintrc b/python-Cython-rpmlintrc index e87788f..8055173 100644 --- a/python-Cython-rpmlintrc +++ b/python-Cython-rpmlintrc @@ -1,4 +1,4 @@ addFilter('devel-file-in-non-devel-package .*/Cython/.*') -addFilter('devel-dependency python38-devel') addFilter('devel-dependency python39-devel') addFilter('devel-dependency python310-devel') +addFilter('devel-dependency python311-devel') diff --git a/python-Cython.changes b/python-Cython.changes index 8ed05dc..8e6b6bc 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 10 19:03:16 UTC 2023 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Sat Jul 8 20:26:51 UTC 2023 - Arun Persaud diff --git a/python-Cython.spec b/python-Cython.spec index ffdba73..7cb83e5 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} %bcond_with test Name: python-Cython Version: 0.29.36 @@ -26,6 +27,8 @@ URL: https://cython.org/ Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc-c++ @@ -34,7 +37,6 @@ Requires: python-devel Requires: python-xml Requires(post): update-alternatives Requires(postun):update-alternatives -%{?sle15_python_module_pythons} %python_subpackages %description @@ -54,10 +56,10 @@ sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install for p in cython cythonize cygdb ; do %python_clone -a %{buildroot}%{_bindir}/$p done @@ -89,7 +91,7 @@ $python runtests.py -v %python_alternative %{_bindir}/cython %python_alternative %{_bindir}/cythonize %{python_sitearch}/Cython/ -%{python_sitearch}/Cython-%{version}-py*.egg-info +%{python_sitearch}/Cython-%{version}*-info %{python_sitearch}/cython.py* %pycache_only %{python_sitearch}/__pycache__/cython*.py* %{python_sitearch}/pyximport/