- update to 0.29.33:

* The ``cythonize`` and ``cython`` commands have a new option ``-M`` /
    ``--depfile`` to generate ``.dep`` dependency files for the
    compilation unit.  This can be used by external build tools to
    track these dependencies. 
  * ``const`` fused types could not be used with memory views.
  * ``wstr`` usage was removed in Python 3.12 and later (PEP-623).
  * A type check assertion for Cython functions failed in debug Python
    builds.
  * Fixed various compiler warnings.
  * Fixed error when calculating complex powers of negative numbers.
  * Corrected a small mis-formatting of exception messages on Python 2.
  * The ``PyUnicode_AsUTF8AndSize()`` C-API function was missing from the
    CPython declarations.
  * A performance problem in the compiler was resolved when nesting
    conditional expressions.
  * Test suite problems with recent NumPy and CPython versions were
    resolved.
  * Other changes
  * The undocumented, untested and apparently useless syntax
  ``from somemodule cimport class/struct/union somename`` was deprecated
  in anticipation of its removal in Cython 3.  The type
  modifier is not needed here and a plain ``cimport`` of the name will do.
  * Properly disable generation of descriptor docstrings on PyPy since they
    cause crashes.
  It was previously disabled, but only accidentally via a typo.
  * The ``cpow`` directive of Cython 3.0 is available as a no-op.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=165
This commit is contained in:
Dirk Mueller 2023-01-07 12:29:18 +00:00 committed by Git OBS Bridge
parent 1185ccd190
commit d8c2bde919
4 changed files with 36 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Sat Jan 7 12:27:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.29.33:
* The ``cythonize`` and ``cython`` commands have a new option ``-M`` /
``--depfile`` to generate ``.dep`` dependency files for the
compilation unit. This can be used by external build tools to
track these dependencies.
* ``const`` fused types could not be used with memory views.
* ``wstr`` usage was removed in Python 3.12 and later (PEP-623).
* A type check assertion for Cython functions failed in debug Python
builds.
* Fixed various compiler warnings.
* Fixed error when calculating complex powers of negative numbers.
* Corrected a small mis-formatting of exception messages on Python 2.
* The ``PyUnicode_AsUTF8AndSize()`` C-API function was missing from the
CPython declarations.
* A performance problem in the compiler was resolved when nesting
conditional expressions.
* Test suite problems with recent NumPy and CPython versions were
resolved.
* Other changes
* The undocumented, untested and apparently useless syntax
``from somemodule cimport class/struct/union somename`` was deprecated
in anticipation of its removal in Cython 3. The type
modifier is not needed here and a plain ``cimport`` of the name will do.
* Properly disable generation of descriptor docstrings on PyPy since they
cause crashes.
It was previously disabled, but only accidentally via a typo.
* The ``cpow`` directive of Cython 3.0 is available as a no-op.
-------------------------------------------------------------------
Wed Oct 26 01:33:21 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Cython
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%bcond_with test
Name: python-Cython
Version: 0.29.32
Version: 0.29.33
Release: 0
Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0