pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cython



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun  9 09:29:49 UTC 2025

Modified Files:
        pkgsrc/devel/py-cython: Makefile PLIST distinfo

Log Message:
py-cython: updated to 3.1.2

3.1.2 (2025-06-09)

Bugs fixed

* Attribute lookups failed on the ``bool`` builtin type.
* Type checks on or-ed union types could incorrectly return false.
* Negative list indexing could accidentally wrap around twice in PyPy and the Limited API.
* Iterating over literal sequences with starred (unpacked) items could infer a wrong
  type for the loop variable and fail to assign the values.
* Calls to C functions taking exception types failed to check for a `None` argument.
* Fused functions had an incorrect ``__module__`` attribute.
* The type of Cython implemented functions had an incorrect ``__module__`` attribute.
* Errors while indexing into ``bytearray`` or ``str`` in ``nogil`` sections could crash.
* ``bytearray.append()`` could silently accept some invalid character numbers.
* The C++11 ``<type_traits>`` header was included regardless of the C++ version.
* ``PyDict_GetItemStringRef()`` was accidentally used in older Limited API versions.
* ``abort()`` was used but not always available in the Limited API.
* Some dependencies were missing from the ``depfile``.
* Embedded function signatures were not always separated from the existing docstring.
* ``numpy.math`` was missing from ``Cython/Includes/`` and could not be cimported.
* Some tests were adapted for NumPy 2.x.
* Some C compiler warnings were fixed.
* ``Cython.Build`` was not officially exposing the ``cythonize`` function.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/devel/py-cython/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-cython/PLIST
cvs rdiff -u -r1.86 -r1.87 pkgsrc/devel/py-cython/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-cython/Makefile
diff -u pkgsrc/devel/py-cython/Makefile:1.103 pkgsrc/devel/py-cython/Makefile:1.104
--- pkgsrc/devel/py-cython/Makefile:1.103       Mon May 19 14:14:44 2025
+++ pkgsrc/devel/py-cython/Makefile     Mon Jun  9 09:29:49 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.103 2025/05/19 14:14:44 adam Exp $
+# $NetBSD: Makefile,v 1.104 2025/06/09 09:29:49 adam Exp $
 
-DISTNAME=      cython-3.1.1
+DISTNAME=      cython-3.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/Cython/}

Index: pkgsrc/devel/py-cython/PLIST
diff -u pkgsrc/devel/py-cython/PLIST:1.33 pkgsrc/devel/py-cython/PLIST:1.34
--- pkgsrc/devel/py-cython/PLIST:1.33   Sun May 11 10:28:26 2025
+++ pkgsrc/devel/py-cython/PLIST        Mon Jun  9 09:29:49 2025
@@ -1,7 +1,14 @@
-@comment $NetBSD: PLIST,v 1.33 2025/05/11 10:28:26 wiz Exp $
+@comment $NetBSD: PLIST,v 1.34 2025/06/09 09:29:49 adam Exp $
 bin/cygdb-${PYVERSSUFFIX}
 bin/cython-${PYVERSSUFFIX}
 bin/cythonize-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/Cython/Build/BuildExecutable.py
 ${PYSITELIB}/Cython/Build/BuildExecutable.pyc
 ${PYSITELIB}/Cython/Build/BuildExecutable.pyo
@@ -413,6 +420,7 @@ ${PYSITELIB}/Cython/Includes/libcpp/unor
 ${PYSITELIB}/Cython/Includes/libcpp/unordered_set.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/utility.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/vector.pxd
+${PYSITELIB}/Cython/Includes/numpy/math.pxd
 ${PYSITELIB}/Cython/Includes/openmp.pxd
 ${PYSITELIB}/Cython/Includes/posix/__init__.pxd
 ${PYSITELIB}/Cython/Includes/posix/dlfcn.pxd
@@ -571,13 +579,6 @@ ${PYSITELIB}/Cython/__init__.pyc
 ${PYSITELIB}/Cython/__init__.pyi
 ${PYSITELIB}/Cython/__init__.pyo
 ${PYSITELIB}/Cython/py.typed
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cython.py
 ${PYSITELIB}/cython.pyc
 ${PYSITELIB}/cython.pyo

Index: pkgsrc/devel/py-cython/distinfo
diff -u pkgsrc/devel/py-cython/distinfo:1.86 pkgsrc/devel/py-cython/distinfo:1.87
--- pkgsrc/devel/py-cython/distinfo:1.86        Mon May 19 14:14:44 2025
+++ pkgsrc/devel/py-cython/distinfo     Mon Jun  9 09:29:49 2025
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.86 2025/05/19 14:14:44 adam Exp $
+$NetBSD: distinfo,v 1.87 2025/06/09 09:29:49 adam Exp $
 
-BLAKE2s (cython-3.1.1.tar.gz) = 2c6415576244b55f00415c90300d7441d519816dbee0c0b23e4926cb490cfd4b
-SHA512 (cython-3.1.1.tar.gz) = 5c64b5d280b234d93d02e91ab22567342350671c605df30a3ac7b41b64e0605eb0aef7bc721f68d35d6048085eaa392cb0a803df32ca902e51e2009c987d962e
-Size (cython-3.1.1.tar.gz) = 3175446 bytes
+BLAKE2s (cython-3.1.2.tar.gz) = cfc95075f84967f10bf85ef0f605b931005176acd091b4aada9b6560867f0ed1
+SHA512 (cython-3.1.2.tar.gz) = c674027dae58377ea71d8d8b15601e6e0c80435807603251e685608218805fef2e6eac4bbebd3c50c319cd7da660ff9ce1a6daeb673eb40ce70bbfe7f0069600
+Size (cython-3.1.2.tar.gz) = 3184825 bytes
 SHA1 (patch-Demos_embed_Makefile) = 67c4f662a8d79d39cbf8808d2e87d91a26ef28b9
 SHA1 (patch-runtests.py) = b955b089d284f638eb5de85878204c084c550ef5



Home | Main Index | Thread Index | Old Index