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:           Sun May 24 05:44:11 UTC 2026

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

Log Message:
py-cython: updated to 3.2.5

3.2.5 (2026-05-23)

Bugs fixed

* A compile failure was fixed when using the walrus operator inside of try-except.
* Expressions with side-effects as object argument to ``isinstance()`` could get
  evaluated multiple times, e.g. when they use the walrus operator.
* Several problems generating the shared utility module were resolved, including
  a performance regression with memory views.
* Some GC and refcounting issues were resolved for Cython functions in the Limited API.
* Refcounting errors and error handling issues were resolved in some rare error handling cases.
* Using ``cython.pymutex`` in an extension type with ``cdef`` methods generated
  invalid C code missing the required ``PyMutex`` declarations.
* Calling ``.get_frame()`` on Cython coroutines could crash in freethreading Python.
* The vectorcall protocol was not used correctly in ``.throw()`` of Cython coroutines
  when raising the exception only by type (without value or traceback).
* A problem with cpdef enums in the Limited API of Python 3.11+ was resolved.
* Unicode predicates like ``.isdigit()`` are now allowed to fail in the Limited API.
* Conditional expressions mixing Python float and int object types could accidentally
  infer float as the common result type, instead of treating both independently.
* Using ``sizeof()`` in the size declarations of ``extern`` arrays failed.
* Enabling profiling generated invalid C code for non-Python return tuples.
* ``abs()`` on C ``long long`` values could generate invalid C code.
* When the ``CYTHON_AVOID_BORROWED_REFS`` C macro is enabled, e.g. in GraalPython,
  dict iteration could fail to compile.
* A C compiler warning about unused functions was resolved.
* The ``py_safe_call_once()`` C++ mutex helper function in ``libcpp.mutex``
  failed to compile.
* The ``cpython.array`` declarations were adapted for Python 3.15.  Direct access
  to the C struct of the ``array.array`` data type might require user code changes.
* Spaces in file paths written to the ``depfile`` were not escaped.
* Cython's cache failed to restore multi-file results.
* Using Tempita from its command line failed with a name error.

Other changes

* The known builtin types were updated for Py3.15.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 pkgsrc/devel/py-cython/Makefile
cvs rdiff -u -r1.96 -r1.97 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.115 pkgsrc/devel/py-cython/Makefile:1.116
--- pkgsrc/devel/py-cython/Makefile:1.115       Mon Jan  5 16:10:48 2026
+++ pkgsrc/devel/py-cython/Makefile     Sun May 24 05:44:11 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.115 2026/01/05 16:10:48 adam Exp $
+# $NetBSD: Makefile,v 1.116 2026/05/24 05:44:11 adam Exp $
 
-DISTNAME=      cython-3.2.4
+DISTNAME=      cython-3.2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=C/Cython/}
@@ -17,6 +17,8 @@ REPLACE_PYTHON+=      Cython/Debugger/Cygdb.p
 REPLACE_PYTHON+=       Cython/Debugger/libpython.py
 REPLACE_PYTHON+=       cython.py
 
+PY_RENAME_BINARIES=    cython cythonize cygdb
+
 PYTHON_VERSIONS_INCOMPATIBLE=  310
 
 USE_CC_FEATURES=       c99
@@ -26,12 +28,6 @@ FORCE_C_STD+=                c99
 # as of 3.2.2
 # 13 failed, 757 passed, 12 skipped, 2 warnings
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} cython cython-${PYVERSSUFFIX} && \
-       ${MV} cythonize cythonize-${PYVERSSUFFIX} && \
-       ${MV} cygdb cygdb-${PYVERSSUFFIX} || ${TRUE}
-
 # remove tests that are so broken they break collecting the other tests
 pre-test:
        ${RM} -f ${WRKSRC}/Cython/Debugger/Tests/test_libcython_in_gdb.py

Index: pkgsrc/devel/py-cython/distinfo
diff -u pkgsrc/devel/py-cython/distinfo:1.96 pkgsrc/devel/py-cython/distinfo:1.97
--- pkgsrc/devel/py-cython/distinfo:1.96        Mon Jan  5 16:10:48 2026
+++ pkgsrc/devel/py-cython/distinfo     Sun May 24 05:44:11 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.96 2026/01/05 16:10:48 adam Exp $
+$NetBSD: distinfo,v 1.97 2026/05/24 05:44:11 adam Exp $
 
-BLAKE2s (cython-3.2.4.tar.gz) = c27143dba76a97d22868ba1c46db1d1ab7d2b5a0b00dfda3707158f77601d667
-SHA512 (cython-3.2.4.tar.gz) = bea1b21227632aa6d01239779e584e06d462ef76ae284abb36c0a70074260bd4909ee69d94db4e8c8fc9416d6949c3b53411844531a86cdbca75881b97f5d84b
-Size (cython-3.2.4.tar.gz) = 3280291 bytes
+BLAKE2s (cython-3.2.5.tar.gz) = 646ab739269897d4414ce2cc2a2ab9dde12e33f8fae2ebc0a3d8470fc3c3fd70
+SHA512 (cython-3.2.5.tar.gz) = d11feb71bf2dbbbdffcac3e71e28eaa4d2583431f24e1722df4c0ab3fc33afc763ba4468e3bc7b8620b6d486357b8aa85dee248a195570329648c6b84312657a
+Size (cython-3.2.5.tar.gz) = 3286381 bytes
 SHA1 (patch-Demos_embed_Makefile) = 67c4f662a8d79d39cbf8808d2e87d91a26ef28b9
 SHA1 (patch-runtests.py) = b955b089d284f638eb5de85878204c084c550ef5



Home | Main Index | Thread Index | Old Index