forked from pool/python-Cython
Accepting request 1158961 from devel:languages:python
- 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/request/show/1158961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=82
This commit is contained in:
commit
bcd8e00c85
BIN
Cython-3.0.8.tar.gz
(Stored with Git LFS)
BIN
Cython-3.0.8.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
Cython-3.0.9.tar.gz
Normal file
3
Cython-3.0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2d354f059d1f055d34cfaa62c5b68bc78ac2ceab6407148d47fb508cf3ba4f3
|
||||
size 2748462
|
@ -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>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user