py-cython: updated to 3.0.9

3.0.9 (2024-03-05)
==================

Features added
--------------

* Assigning ``const`` values to non-const variables now issues a warning.
  (Github issue :issue:`5639`)

* Using ``noexcept`` on a function returning Python objects now issues a warning.
  (Github issue :issue:`5661`)

* Some C-API usage was updated for the upcoming CPython 3.13.
  Patches by Victor Stinner et al.  (Github issues :issue:`6003`, :issue:`6020`)

* The deprecated ``Py_UNICODE`` type is no longer used, unless required by user code.
  (Github issue :issue:`5982`)

* ``std::string.replace()`` declarations were added to libcpp.string.
  Patch by Kieran Geary.  (Github issue :issue:`6037`)

Bugs fixed
----------

* 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.  (Github issue :issue:`2747`)

* Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled.
  (Github issue :issue:`6035`)

* Subclass deallocation of extern classes could crash if the base class uses GC.
  Original patch by Jason Fried.  (Github issue :issue:`5971`)

* Type checks for Python ``memoryview`` could use an invalid C function.
  Patch by Xenia Lu.  (Github issue :issue:`5988`)

* Calling final fused functions could generate invalid C code.
  (Github issue :issue:`5989`)

* Declaring extern enums multiple times could generate invalid C code.
  (Github issue :issue:`5905`)

* ``pyximport`` used relative paths incorrectly.
  Patch by Stefano Rivera.  (Github issue :issue:`5957`)

* Running Cython with globbing characters (``[]*?``) in the module search path could fail.
  Patch by eewanco.  (Github issue :issue:`5942`)

* Literal strings that include braces could change the C code indentation.

Other changes
-------------

* The "enum class not importable" warning is now only issued once per enum type.
  (Github issue :issue:`5941`)
This commit is contained in:
adam 2024-03-06 13:29:21 +00:00
parent 4e24f54068
commit 06c98e4c29
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.90 2024/01/10 20:37:34 adam Exp $
# $NetBSD: Makefile,v 1.91 2024/03/06 13:29:21 adam Exp $
DISTNAME= Cython-3.0.8
DISTNAME= Cython-3.0.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.80 2024/01/10 20:37:34 adam Exp $
$NetBSD: distinfo,v 1.81 2024/03/06 13:29:21 adam Exp $
BLAKE2s (Cython-3.0.8.tar.gz) = ccd9d3ed7fc7c09ad32bccd12ff885c40df6d5a0bb52cc9b86fd4c061ff2b65e
SHA512 (Cython-3.0.8.tar.gz) = 83da718f0989e51ebd068b7ec488ce8e5f44f2bc81ec05e3931f56a8f6bb3e43f9bf5e3d722f23c53704617776c068d3fde8bb23abbe269a9324244f70c46680
Size (Cython-3.0.8.tar.gz) = 2744096 bytes
BLAKE2s (Cython-3.0.9.tar.gz) = 2a61ca93b7f664a3338a56a219a4939d310d75f2779204d6c3342712dae79e80
SHA512 (Cython-3.0.9.tar.gz) = 787e9c06ff3fa8a3cf08f857802d98cb9ca33e4cba242d29d47c74cdc690c2106ee7102a9f30d9df7c910636313594b39f8dcf6004e57ecd7c9b06d83acbc799
Size (Cython-3.0.9.tar.gz) = 2748462 bytes
SHA1 (patch-Demos_embed_Makefile) = 67c4f662a8d79d39cbf8808d2e87d91a26ef28b9
SHA1 (patch-runtests.py) = b955b089d284f638eb5de85878204c084c550ef5