From 75be73394b623d867f4688741cba34db56ef7a02f8fa4ab693d59004733ad933 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 17 Oct 2023 08:59:48 +0000 Subject: [PATCH 1/2] - update to version 3.0.3: * Features added - More warnings were added to help users migrate and avoid bugs. (Github issue #5650) - A warning-like category for performance hints was added that bypasses -Werror. (Github issue #5673) - FastGIL now uses standard thread_local in C++. (Github issue #5640) - reference_wrapper was added to libcpp.functional. Patch by Vyas Ramasubramani. (Github issue #5671) - The cythonize command now supports the --cplus option known from the cython command. (Github issue #5736) * Bug fixed - Performance regressions where the GIL was needlessly acquired were fixed. (Github issues #5670, #5700) - A reference leak for exceptions in Python 3.12 was resolved. Patch by Eric Johnson. (Github issue #5724) - fastcall calls with keyword arguments generated incorrect C code. (Github issue #5665) - Assigning the type converted result of a conditional (if-else) expression to int or bool variables could lead to incorrect C code. (Github issue #5731) - Early (unlikely) failures in Python function wrappers no longer set a traceback in order to simplify the C code flow. Being mostly memory allocation errors, they probably would never have created a traceback anyway. (Github issue #5681) - Relative cimports from packages with __init__.py files could fail. (Github issue #5715) - Several issues with the Limited API support were resolved. (Github issues #5641, #5648, #5689) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=181 --- Cython-3.0.2.tar.gz | 3 --- Cython-3.0.3.tar.gz | 3 +++ python-Cython.changes | 58 +++++++++++++++++++++++++++++++++++++++++++ python-Cython.spec | 2 +- 4 files changed, 62 insertions(+), 4 deletions(-) delete mode 100644 Cython-3.0.2.tar.gz create mode 100644 Cython-3.0.3.tar.gz diff --git a/Cython-3.0.2.tar.gz b/Cython-3.0.2.tar.gz deleted file mode 100644 index 4d4c2b7..0000000 --- a/Cython-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9594818dca8bb22ae6580c5222da2bc5cc32334350bd2d294a00d8669bcc61b5 -size 2723546 diff --git a/Cython-3.0.3.tar.gz b/Cython-3.0.3.tar.gz new file mode 100644 index 0000000..410be58 --- /dev/null +++ b/Cython-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:327309301b01f729f173a94511cb2280c87ba03c89ed428e88f913f778245030 +size 2733424 diff --git a/python-Cython.changes b/python-Cython.changes index 2379938..8a9f85a 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Tue Oct 17 08:57:05 UTC 2023 - Daniel Garcia Moreno + +- update to version 3.0.3: + * Features added + - More warnings were added to help users migrate and avoid bugs. + (Github issue #5650) + - A warning-like category for performance hints was added that + bypasses -Werror. (Github issue #5673) + - FastGIL now uses standard thread_local in C++. (Github issue + #5640) + - reference_wrapper was added to libcpp.functional. Patch by Vyas + Ramasubramani. (Github issue #5671) + - The cythonize command now supports the --cplus option known from + the cython command. (Github issue #5736) + * Bug fixed + - Performance regressions where the GIL was needlessly acquired + were fixed. (Github issues #5670, #5700) + - A reference leak for exceptions in Python 3.12 was resolved. + Patch by Eric Johnson. (Github issue #5724) + - fastcall calls with keyword arguments generated incorrect C + code. (Github issue #5665) + - Assigning the type converted result of a conditional (if-else) + expression to int or bool variables could lead to incorrect C + code. (Github issue #5731) + - Early (unlikely) failures in Python function wrappers no longer + set a traceback in order to simplify the C code flow. Being + mostly memory allocation errors, they probably would never have + created a traceback anyway. (Github issue #5681) + - Relative cimports from packages with __init__.py files could + fail. (Github issue #5715) + - Several issues with the Limited API support were resolved. + (Github issues #5641, #5648, #5689) + - The code generated for special-casing both Cython functions and + PyCFunctions was cleaned up to avoid calling C-API functions + that were not meant for the other type respectively. This could + previously trigger assertions in CPython debug builds and now + also plays better with the Limited API. (Github issues #4804, + #5739) + - Fix some C compiler warnings. Patches by Ralf Gommers, Oleksandr + Pavlyk, Sebastian Koslowski et al. (Github issues #5651, #5663, + #5668, #5717, #5726, #5734) + - Generating gdb debugging information failed when using generator + expressions. Patch by Oleksandr Pavlyk. (Github issue #5552) + - Passing a setuptools.Extension into cythonize() instead of a + distutils.Extension could make it miss the matching extensions. + - cython -M needlessly required distutils, which made it fail in + Python 3.12. (Github issue #5681) + * Other changes + - The visible deprecation warning for DEF was removed again since + it proved difficult for some users to migrate away from it. The + statement is still meant to be removed at some point (and thus, + like IF, should not be used in new code), but the time for + sunset is probably not around the corner. (Github issue #4310) + - The np_pythran option raise a DeprecationWarning if it receives + other values than True and False. This will eventually be + disallowed (in line with all other boolean options). + ------------------------------------------------------------------- Sun Aug 27 21:37:49 UTC 2023 - Arun Persaud diff --git a/python-Cython.spec b/python-Cython.spec index 400a798..020dcca 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -19,7 +19,7 @@ %bcond_with test %{?sle15_python_module_pythons} Name: python-Cython -Version: 3.0.2 +Version: 3.0.3 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 From 646ad4a1926a5d5ebe92927d6a1ef415209677e10deb3a520ec4270314124ef5 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 18 Oct 2023 07:52:40 +0000 Subject: [PATCH 2/2] - update to version 3.0.4: * Features added - A new compiler directive show_performance_hints was added to disable the newly added performance hint output. (Github issue :issue:`5748`) * Bugs fixed - `cythonize` required ``distutils even for operations that did not build binaries. (Github issue :issue:`5751`) - A regression in 3.0.3 was fixed that prevented calling inline functions from another inline function in .pxd files. (Github issue :issue:`5748`) - Some C compiler warnings were resolved. Patch by Pierre Jolivet. (Github issue :issue:`5756`) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=182 --- Cython-3.0.3.tar.gz | 3 --- Cython-3.0.4.tar.gz | 3 +++ python-Cython.changes | 17 +++++++++++++++++ python-Cython.spec | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 Cython-3.0.3.tar.gz create mode 100644 Cython-3.0.4.tar.gz diff --git a/Cython-3.0.3.tar.gz b/Cython-3.0.3.tar.gz deleted file mode 100644 index 410be58..0000000 --- a/Cython-3.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:327309301b01f729f173a94511cb2280c87ba03c89ed428e88f913f778245030 -size 2733424 diff --git a/Cython-3.0.4.tar.gz b/Cython-3.0.4.tar.gz new file mode 100644 index 0000000..182ee65 --- /dev/null +++ b/Cython-3.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e379b491ee985d31e5faaf050f79f4a8f59f482835906efe4477b33b4fbe9ff +size 2733706 diff --git a/python-Cython.changes b/python-Cython.changes index 8a9f85a..90252e4 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Oct 18 06:15:17 UTC 2023 - Daniel Garcia Moreno + +- update to version 3.0.4: + * Features added + - A new compiler directive show_performance_hints was added to + disable the newly added performance hint output. (Github issue + :issue:`5748`) + * Bugs fixed + - `cythonize` required ``distutils even for operations that did not + build binaries. (Github issue :issue:`5751`) + - A regression in 3.0.3 was fixed that prevented calling inline + functions from another inline function in .pxd files. (Github + issue :issue:`5748`) + - Some C compiler warnings were resolved. Patch by Pierre Jolivet. + (Github issue :issue:`5756`) + ------------------------------------------------------------------- Tue Oct 17 08:57:05 UTC 2023 - Daniel Garcia Moreno diff --git a/python-Cython.spec b/python-Cython.spec index 020dcca..e61166b 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -19,7 +19,7 @@ %bcond_with test %{?sle15_python_module_pythons} Name: python-Cython -Version: 3.0.3 +Version: 3.0.4 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0