Path to this page:
./
devel/py-cython,
C-Extensions for Python
Branch: CURRENT,
Version: 3.0.12,
Package name: py312-cython-3.0.12,
Maintainer: pkgsrc-usersThe Cython language makes writing C extensions for the Python language
as easy as Python itself. Cython is a source code translator based on
the well-known Pyrex, but supports more cutting edge functionality and
optimizations.
The Cython language is very close to the Python language (and most
Python code is also valid Cython code), but Cython additionally supports
calling C functions and declaring 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 libraries, and for fast C modules that speed up the execution of
Python code.
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 2692.985 KB
Version history: (Expand)
- (2025-02-11) Updated to version: py312-cython-3.0.12
- (2024-11-11) Updated to version: py312-cython-3.0.11
- (2024-08-05) Updated to version: py311-cython-3.0.11
- (2024-04-02) Updated to version: py311-cython-3.0.10
- (2024-03-06) Updated to version: py311-cython-3.0.9
- (2024-01-10) Updated to version: py311-cython-3.0.8
CVS history: (Expand)
2025-02-11 12:52:13 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-cython: updated to 3.0.12
3.0.12 (2025-02-11)
Bugs fixed
* Release 3.0.11 introduced some incorrect ``noexcept`` warnings.
* Conditional assignments to variables using the walrus operator could crash.
* Dict assignments to struct members with reserved C names could generate \
invalid C code.
* Fused ctuples with the same entry types but different sizes could fail to compile.
* In Py3, `pyximport` was not searching `sys.path` when looking for importable \
source files.
* Using `& 0` on integers produced with `int.from_bytes()` could read \
invalid memory on Python 3.10.
* Modules could fail to compile in PyPy 3.11 due to missing CPython specific \
header files.
* Minor fix in C++ ``partial_sum()`` declaration.
|
2025-02-02 11:38:04 by Havard Eidnes | Files touched by this commit (28) |
Log message:
lang/python and a number of python packages: re-do atomic64.mk issue.
Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports. Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.
This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.
|
2025-01-18 19:55:08 by Havard Eidnes | Files touched by this commit (1) |
Log message:
devel/py-cython: use atomic64.mk to fix build with python3.13 on macppc.
|
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-08-05 20:44:58 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-cython: updated to 3.0.11
3.0.11 (2024-08-05)
Features added
* The C++11 ``emplace*`` methods were added to ``libcpp.deque``.
Bugs fixed
* The exception check value of functions declared in pxd files was not always \
applied in 3.0.10.
* A crash on exception deallocations was fixed.
* A crash was fixed when assigning a zero-length slice to a memoryview.
* ``libcpp.optional.value()`` could crash if it raised a C++ exception.
* The return type of ``str()`` was mishandled, leading to crashes with \
``language_level=3``.
* ``bytes.startswith/endswith()`` failed for non-bytes substrings (e.g. \
``bytearray``).
* Fused ctuples crashed Cython.
* A compiler crash was fixed when using extension types in fused types.
* The module cleanup code was incorrect for globally defined memory view slices.
* Some adaptations were made to enable compilation in Python 3.13.
|
2024-07-28 13:56:32 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-cython: force c99 compilers
This package already claims it needs a c99 compiler.
Following PR 58475 by Phil Krylov, let's force it to use one.
|
2024-05-26 03:59:19 by David H. Gutteridge | Files touched by this commit (1) |
Log message:
py-cython: requires py-setuptools >= 69 to match generated PLIST
|
2024-04-02 07:58:38 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-cython: updated to 3.0.10
3.0.10 (2024-03-30)
===================
Bugs fixed
----------
* Cython generated incorrect self-casts when directly calling final methods of \
subtypes.
Patch by Lisandro Dalcin. (Github issue :issue:`2747`)
* Internal C names generated from C function signatures could become too long \
for MSVC.
(Github issue :issue:`6052`)
* The ``noexcept`` warnings could be misleading in some cases.
Patch by Gonzalo TornarĂa. (Github issue :issue:`6087`)
* The ``@cython.ufunc`` implementation could generate incomplete C code.
(Github issue :issue:`6064`)
* The ``libcpp.complex`` declarations could result in incorrect C++ code.
Patch by Raffi Enficiaud. (Github issue :issue:`6037`)
* Several tests were adapted to work with both NumPy 1.x and 2.0.
Patch by Matti Picus. (Github issues :issue:`6076`, :issue:`6100`)
* C compiler warnings when the freelist implementation is disabled (e.g. on \
PyPy) were fixed.
It can now be disabled explicitly with the C macro guard \
``CYTHON_USE_FREELISTS=0``.
(Github issue :issue:`6099`)
* Some C macro guards for feature flags were missing from the NOGIL Python \
configuration.
* Some recently added builtins were unconditionally looked up at module import time
(if used by user code) that weren't available on all Python versions and could thus
fail the import.
* A performance hint regarding exported pxd declarations was improved.
(Github issue :issue:`6001`)
|