python-Cython
Port variant v14
Summary Compiler to write C extensions for Python (3.14)
Package version 3.2.5
Homepage https://cython.org/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 29 MAY 2026, 12:33:39 UTC
Port created 04 JAN 2020, 01:03:23 UTC
Subpackage Descriptions
single The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on Pyrex_, but supports more cutting edge functionality and optimizations. The Cython language is a superset of the Python language (almost all Python code is also valid Cython code), but Cython additionally supports optional static typing to natively call C functions, operate with C++ classes and declare fast C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. This makes Cython the ideal language for writing glue code for external C/C++ libraries, and for fast C modules that speed up the execution of Python code. The newest Cython release can always be downloaded from https://cython.org/. Unpack the tarball or zip file, enter the directory, and then run:: pip install . Note that for one-time builds, e.g. for CI/testing, on platforms that are not covered by one of the wheel packages provided on PyPI *and* the pure Python wheel that we provide is not used, it is substantially faster than a full source build to install an uncompiled (slower) version of Cython with:: NO_CYTHON_COMPILE=true pip install . .. _Pyrex: https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ 3.2.5 (2026-05-23) ================== Bugs fixed ---------- * A compile failure was fixed when using the walrus operator inside of try-except. (Github issue https://github.com/cython/cython/issues/7462) * Expressions with side-effects as object argument to ``isinstance()`` could get evaluated multiple times, e.g. when they use the walrus operator. (Github issue https://github.com/cython/cython/issues/7670) * Several problems generating the shared utility module were resolved, including a performance regression with memory views. (Github issues https://github.com/cython/cython/issues/7487, https://github.com/cython/cython/issues/7497, https://github.com/cython/cython/issues/7504, https://github.com/cython/cython/issues/7558) * Some GC and refcounting issues were resolved for Cython functions in the Limited API. (Github issue https://github.com/cython/cython/issues/7594) * Refcounting errors and error handling issues were resolved in some rare error handling cases. (Github issues https://github.com/cython/cython/issues/7597, https://github.com/cython/cython/issues/7599, https://github.com/cython/cython/issues/7612, https://github.com/cython/cython/issues/7673) * Using ``cython.pymutex in an extension type with cdef methods generated invalid C code missing the required PyMutex`` declarations. (Github issue https://github.com/cython/cython/issues/6995) * Calling ``.get_frame()`` on Cython coroutines could crash in freethreading Python. (Github issue https://github.com/cython/cython/issues/7632) * The vectorcall protocol was not used correctly in ``.throw()`` of Cython coroutines when raising the exception only by type (without value or traceback). (Github issue https://github.com/cython/cython/issues/7677) * A problem with cpdef enums in the Limited API of Python 3.11+ was resolved. (Github issue https://github.com/cython/cython/issues/7503) * Unicode predicates like ``.isdigit()`` are now allowed to fail in the Limited API. (Github issue https://github.com/cython/cython/issues/7602) * 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. (Github issue https://github.com/cython/cython/issues/7451) * Enabling profiling generated invalid C code for non-Python return tuples. (Github issue https://github.com/cython/cython/issues/7580) * ``abs() on C long long`` values could generate invalid C code.
Configuration Switches (platform-specific settings discarded)
PY313 OFF Build using Python 3.13 PY314 ON Build using Python 3.14
Package Dependencies by Type
Build (only) python314:dev:std
python-pip:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Download groups
main mirror://PYPIWHL/d4/5c/9cd909e6a8bb178e4e0f9a2a9227c8201a2be38abe45ada4a4c3e9154277
Distribution File Information
dc1c8cebb7df5bce37f5f8dc1e5bf04313272a5973d50a55c0ec76c83812911b 1257622 python-src/cython-3.2.5-py3-none-any.whl
Ports that require python-Cython:v14
python-PyYAML:v14 YAML parser and emitter for Python (3.14)
python-borgbackup:v14 Deduplicated, encrypted, compressed backups (3.14)
python-compreffor:v14 CFF subroutinizer for fontTools (3.14)
python-lxml:v14 Binding to libxml2 and libxslt libraries (3.14)
python-numpy:v14 Array computing for Python (3.14)
python-pandas:v14 Data structures for time series, statistics (3.14)
python-pyclipper:v14 Cython wrapper for the AJ Clipper library (3.14)
python-pyzmq:v14 Python bindings for 0MQ (3.14)
python-scipy:v14 Scientific library for Python (3.14)
python-timelib:v14 Parse english textual date descriptions (3.14)
python-uharfbuzz:v14 Steamlined harfbuzz cpython bindings (3.14)