#1144999 numba: FTBFS building against python 3.15

Package:
src:numba
Source:
src:numba
Submitter:
Maximiliano Curia
Date:
2026-08-22 11:49:04 UTC
Severity:
normal
Tags:
#1144999#5
Date:
2026-08-21 10:27:58 UTC
From:
To:
Package: src:numba
Version: 0.65.1+dfsg-3
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that python-gevent fails to build from source [1].

Upstream is currently working on adding the support, and the open pr can
be seen in https://github.com/numba/numba/pull/10732. But as numba was a
blocker to build other packages I used a backport of the changes in that
pr to keep building the packages that depend on numba.

I'm attaching the backported and squashed upstream patch.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1014450/