- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=196
This commit is contained in:
Dirk Mueller 2024-03-18 10:57:29 +00:00 committed by Git OBS Bridge
parent 92d163182f
commit 13ff1f1bb7
4 changed files with 42 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6
size 2744096

3
Cython-3.0.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2d354f059d1f055d34cfaa62c5b68bc78ac2ceab6407148d47fb508cf3ba4f3
size 2748462

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Mon Mar 18 10:56:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -19,7 +19,7 @@
%bcond_with test
%{?sle15_python_module_pythons}
Name: python-Cython
Version: 3.0.8
Version: 3.0.9
Release: 0
Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0
@ -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}