Wed Mar 6 13:29:21 2024 UTC (78d)
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`)


(adam)
diff -r1.90 -r1.91 pkgsrc/devel/py-cython/Makefile
diff -r1.80 -r1.81 pkgsrc/devel/py-cython/distinfo

cvs diff -r1.90 -r1.91 pkgsrc/devel/py-cython/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-cython/Makefile 2024/01/10 20:37:34 1.90
+++ pkgsrc/devel/py-cython/Makefile 2024/03/06 13:29:21 1.91
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.90 2024/01/10 20:37:34 adam Exp $ 1# $NetBSD: Makefile,v 1.91 2024/03/06 13:29:21 adam Exp $
2 2
3DISTNAME= Cython-3.0.8 3DISTNAME= Cython-3.0.9
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://cython.org/ 9HOMEPAGE= https://cython.org/
10COMMENT= C-Extensions for Python 10COMMENT= C-Extensions for Python
11LICENSE= apache-1.1 11LICENSE= apache-1.1
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15TEST_DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy 15TEST_DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
16 16

cvs diff -r1.80 -r1.81 pkgsrc/devel/py-cython/distinfo (expand / switch to unified diff)

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