14
0
forked from pool/python-Cython

- 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
This commit is contained in:
2024-08-31 11:49:15 +00:00
committed by Git OBS Bridge
parent 361316a835
commit c08bf93498
4 changed files with 36 additions and 6 deletions

View File

@@ -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