Bug#1120241: gpyfft: FTBFS against python 3.15rc2

Maximiliano Curia maxy at debian.org
Sat Sep 12 20:35:08 BST 2026


user debian-python at lists.debian.org
usertags 1120241 python3.15
tags 1120241 patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version I ran into this FTBFS [1].

To get the package back to building, I had to apply a number of fixes:
- Backport the upstream commit 901e341 ("Don't refer to named cpdef enum
   members through global namespace") [2]
- Add a patch to use CLFFT_SINGLE from clfftPrecision_
- Update patch to skip real_to_double tests that require a gpu when
   running on a cpu

I've applied these fixes in the sandbox [3] to verify that it builds
successfully, these should be applied in Debian to get the package back
to a healthy state.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4597627/
[2]: https://github.com/geggo/gpyfft/commit/901e3413352f666d9c44794ff4ebfa4bf3d4eb6c
[3]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-also-the-CPU-devices-for-tests.patch
Type: text/x-diff
Size: 2247 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260912/66639d23/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Don-t-refer-to-named-cpdef-enum-members-through-glo.patch
Type: text/x-diff
Size: 2862 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260912/66639d23/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-test_callback.py-for-Cython-3.1.patch
Type: text/x-diff
Size: 1251 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260912/66639d23/attachment-0005.patch>


More information about the debian-science-maintainers mailing list