diff --git a/Cython-3.0.8.tar.gz b/Cython-3.0.8.tar.gz deleted file mode 100644 index f0558c8..0000000 --- a/Cython-3.0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6 -size 2744096 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 b4c2f3f..6bbf961 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,97 @@ +------------------------------------------------------------------- +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 + +- update to 3.0.10: + * Cython generated incorrect self-casts when directly calling + final methods of subtypes. + * Internal C names generated from C function signatures could + become too long for MSVC. + * The noexcept warnings could be misleading in some cases. + * The @cython.ufunc implementation could generate incomplete C + code. + * The libcpp.complex declarations could result in incorrect C++ + code. Patch by Raffi Enficiaud. + * Several tests were adapted to work with both NumPy 1.x and + 2.0. Patch by Matti Picus. + * C compiler warnings when the freelist implementation is + disabled (e.g. on PyPy) were fixed. It can now be disabled + explicitly with the C macro guard CYTHON_USE_FREELISTS=0. + * Some C macro guards for feature flags were missing from the + NOGIL Python configuration. + * Some recently added builtins were unconditionally looked up + at module import time (if used by user code) that weren't + available on all Python versions and could thus fail the + import. + * A performance hint regarding exported pxd declarations was + improved. + +------------------------------------------------------------------- +Mon Mar 18 10:56:20 UTC 2024 - Dirk Müller + +- update to 3.0.9: + * Assigning const values to non-const variables now issues a + warning. + * Using noexcept on a function returning Python objects now + issues a warning. + * Some C-API usage was updated for the upcoming CPython 3.13. + Patches by Victor Stinner et al. + * The deprecated Py_UNICODE type is no longer used, unless + required by user code. + * std::string.replace() declarations were added to + libcpp.string. Patch by Kieran Geary. + * Cython generates incorrect (but harmless) self-casts when + directly calling final methods of subtypes. Lacking a better + solution, the errors that recent gcc versions produce have + been silenced for the time being. Original patch by Michał + Górny. + * Unused variable warnings about clineno were fixed when C + lines in tracebacks are disabled. + * Subclass deallocation of extern classes could crash if the + base class uses GC. Original patch by Jason Fried. + * Type checks for Python memoryview could use an invalid C + function. Patch by Xenia Lu. + * Calling final fused functions could generate invalid C code. + * Declaring extern enums multiple times could generate invalid + C code. + * pyximport used relative paths incorrectly. Patch by Stefano + Rivera. + * Running Cython with globbing characters ([]*?) in the module + search path could fail. + * Literal strings that include braces could change the C code + indentation. + * The "enum class not importable" warning is now only issued + once per enum type. + ------------------------------------------------------------------- Sun Jan 14 15:30:24 UTC 2024 - Dirk Müller diff --git a/python-Cython.spec b/python-Cython.spec index 2ed1c78..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.8 +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} @@ -36,7 +36,7 @@ BuildRequires: gcc-c++ BuildRequires: python-rpm-macros Requires: python-devel Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Conflicts: python-Cython < 3 Provides: python-Cython3 = %{version} Obsoletes: python-Cython3 < %{version} @@ -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