Debian Patches

Status for cython/3.1.6+dfsg-4

Patch Description Author Forwarded Bugs Origin Last update
honour_SOURCE_DATE_EPOCH_for_copyright_year Honour SOURCE_DATE_EPOCH for copyright year
Uses SOURCE_DATE_EPOCH environment variable (if set) to
set the copyright year in documentation, to get reproducible build.
Alexis Bienvenüe <pado@passoire.fr> no 2016-04-02
debup_workaround_verify_resolution_GH1533 debup_workaround_verify_resolution_GH1533 Python Applications Packaging Team no 2017-01-24
disable_tests.patch disable_tests
The bugs have been reported upstream, see links in the patch below.
numpy_memoryview on all powerpc architectures, arm64 and alpha,
apparently due to a bug in numpy.
Tobias Hansen <thansen@debian.org> no 2022-06-12
46ee38dd0ed8d5fe90fb31690e6e9a39ba1e2a4b.patch Fix tests in Py3.15. Stefan Behnel <stefan_ml@behnel.de> no debian 2026-01-24
736a2c3603363b64fc7639ba050982d9609b7750.patch Update builtins to Py3.15.0a6.

Backported to Cython 3.1.6: refresh the older builtins-table context. Its known-version marker starts at Python 3.13a5 instead of 3.14b1; retain the existing table ordering.
Stefan Behnel <stefan_ml@behnel.de> no debian 2026-02-12
42d13596c8a531e83a337e014fa7ef2f4d162ded.patch Update builtins to Py3.15.0a6+.

Backported to Cython 3.1.6: refresh the older builtins-table context.
Stefan Behnel <stefan_ml@behnel.de> no debian 2026-02-17
414ef78348a6aa1f3abd310ded388a10348b67c9.patch Update builtins for Python 3.15b1.

Backported to Cython 3.1.6: refresh the older builtins-table context.
Stefan Behnel <stefan_ml@behnel.de> no debian 2026-04-29
a470483da2274ca272e70280fa27b5f7e90c9e09.patch Adapt array module declarations Python 3.15 changes (GH-7659)
In https://github.com/python/cpython/issues/148675 the format of the
`arraydescr` struct was changed, which meant that our representation
was outdated and crashed.

The new format is partly compatible and we can provide help to use either
of the two formats, but user code that manually accesses the internals
of the `arraydescr` needs to be adapted in order to make it work correctly.


Backported to Cython 3.1.6: retain the indentation and surrounding declarations of the older array implementation.
da-woods <dw-git@d-woods.co.uk> yes debian upstream 2026-05-08
42830b85c8ae7489dac9d143f521e392d966d8c8.patch Fix cpdef enums with negative values on Python 3.15 (#7703)
Fixes #7701

It seems like Python 3.15 has tightened the requirements for `IntFlag`
and now converts negative numbers into positive numbers (because it
doesn't make sense to do bitwise operations on negative numbers).

We only really use `IntFlag` because people *might* want to do bitwise
operations with wrapped enums and it gives them a slightly better
experience. I've created a new enum-type that's is less strict than
`IntEnum` and which does allow unknown values. However for simplicity
I'm skipped all the `IntFlag` flag-like behaviour.


Backported to Cython 3.1.6: remove its older PY_VERSION_HEX conditional in place of the newer Limited API conditional, and refresh compiler/test context. The resulting CpdefEnums.pyx is identical to the upstream commit.
da-woods <dw-git@d-woods.co.uk> yes debian upstream 2026-07-20

All known versions for source package 'cython'

Links