From c08bf93498e3398edb15c9806dbd29af0d36511c27e0884f020389793ad192b7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 31 Aug 2024 11:49:15 +0000 Subject: [PATCH] - update to 3.0.11: * The C++11 emplace* methods were added to libcpp.deque. Patch by Somin An. (Github issue :issue:`6159`) * The exception check value of functions declared in pxd files was not always applied in 3.0.10. (Github issue :issue:`6122`) * A crash on exception deallocations was fixed. (Github issue :issue:`6022`) * A crash was fixed when assigning a zero-length slice to a memoryview. Patch by Michael Man. (Github issue :issue:`6227`) * libcpp.optional.value() could crash if it raised a C++ exception. Patch by Alexander Condello. (Github issue :issue:`6190`) * The return type of str() was mishandled, leading to crashes with language_level=3. (Github issue :issue:`6166`) * bytes.startswith/endswith() failed for non-bytes substrings (e.g. bytearray). (Github issue :issue:`6168`) * Fused ctuples crashed Cython. (Github issue :issue:`6068`) * A compiler crash was fixed when using extension types in fused types. (Github issue :issue:`6204`) * The module cleanup code was incorrect for globally defined memory view slices. (Github issue :issue:`6276`) * Some adaptations were made to enable compilation in Python 3.13. (Github issues :issue:`5997`, :issue:`6182`, :issue:`6251`) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=200 --- Cython-3.0.10.tar.gz | 3 --- cython-3.0.11.tar.gz | 3 +++ python-Cython.changes | 30 ++++++++++++++++++++++++++++++ python-Cython.spec | 6 +++--- 4 files changed, 36 insertions(+), 6 deletions(-) delete mode 100644 Cython-3.0.10.tar.gz create mode 100644 cython-3.0.11.tar.gz diff --git a/Cython-3.0.10.tar.gz b/Cython-3.0.10.tar.gz deleted file mode 100644 index 5203bad..0000000 --- a/Cython-3.0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99 -size 2751764 diff --git a/cython-3.0.11.tar.gz b/cython-3.0.11.tar.gz new file mode 100644 index 0000000..032b751 --- /dev/null +++ b/cython-3.0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff +size 2755544 diff --git a/python-Cython.changes b/python-Cython.changes index 6267aea..6bbf961 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sat Aug 31 11:48:36 UTC 2024 - Dirk Müller + +- update to 3.0.11: + * The C++11 emplace* methods were added to libcpp.deque. Patch + by Somin An. (Github issue :issue:`6159`) + * The exception check value of functions declared in pxd files + was not always applied in 3.0.10. (Github issue + :issue:`6122`) + * A crash on exception deallocations was fixed. (Github issue + :issue:`6022`) + * A crash was fixed when assigning a zero-length slice to a + memoryview. Patch by Michael Man. (Github issue + :issue:`6227`) + * libcpp.optional.value() could crash if it raised a C++ + exception. Patch by Alexander Condello. (Github issue + :issue:`6190`) + * The return type of str() was mishandled, leading to crashes + with language_level=3. (Github issue :issue:`6166`) + * bytes.startswith/endswith() failed for non-bytes substrings + (e.g. bytearray). (Github issue :issue:`6168`) + * Fused ctuples crashed Cython. (Github issue :issue:`6068`) + * A compiler crash was fixed when using extension types in + fused types. (Github issue :issue:`6204`) + * The module cleanup code was incorrect for globally defined + memory view slices. (Github issue :issue:`6276`) + * Some adaptations were made to enable compilation in Python + 3.13. (Github issues :issue:`5997`, :issue:`6182`, + :issue:`6251`) + ------------------------------------------------------------------- Tue Apr 2 09:50:48 UTC 2024 - Dirk Müller diff --git a/python-Cython.spec b/python-Cython.spec index cbb8bbb..d29db1e 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -19,13 +19,13 @@ %bcond_with test %{?sle15_python_module_pythons} Name: python-Cython -Version: 3.0.10 +Version: 3.0.11 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 URL: https://cython.org/ # SourceRepository: https://github.com/cython/cython -Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz +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} @@ -53,7 +53,7 @@ functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. %prep -%setup -q -n Cython-%{version} +%setup -q -n cython-%{version} # Fix non-executable scripts sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py