#1145162 toolz: FTBFS building against python 3.15

Package:
src:toolz
Source:
src:toolz
Submitter:
Maximiliano Curia
Date:
2026-08-23 11:19:02 UTC
Severity:
normal
Tags:
#1145162#5
Date:
2026-08-23 11:17:54 UTC
From:
To:
Package: src:toolz
Version: 1.1.0-1
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 toolz fails to build from source[1].

There is an open pr about this issue that adds compatibility for python
3.15 [2], and it seems to fix the build. I'm attaching the patch that we
used in the sandbox to make toolz to build.

Please consider including this patch or a similar one in you next
upload.

As a side note, I used the version in the salsa, and I also had to add a
debian/source/options file with:
extend-diff-ignore = "pyproject.toml"

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1081934/
[2]: https://github.com/pytoolz/toolz/pull/624