Accepting request 1198043 from devel:languages:python

- 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/request/show/1198043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=84
This commit is contained in:
Dominique Leuenberger 2024-09-03 11:37:02 +00:00 committed by Git OBS Bridge
commit 8f7ab15707
4 changed files with 36 additions and 6 deletions

View File

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

BIN
cython-3.0.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sat Aug 31 11:48:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com> Tue Apr 2 09:50:48 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -19,13 +19,13 @@
%bcond_with test %bcond_with test
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-Cython Name: python-Cython
Version: 3.0.10 Version: 3.0.11
Release: 0 Release: 0
Summary: The Cython compiler for writing C extensions for the Python language Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0 License: Apache-2.0
URL: https://cython.org/ URL: https://cython.org/
# SourceRepository: https://github.com/cython/cython # 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 Source1: python-Cython-rpmlintrc
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip} 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. allows the compiler to generate very efficient C code from Cython code.
%prep %prep
%setup -q -n Cython-%{version} %setup -q -n cython-%{version}
# Fix non-executable scripts # Fix non-executable scripts
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py