#1080647 Missing Build-Depends on python3-setuptools

#1080647#5
Date:
2024-09-05 14:57:56 UTC
From:
To:
This package failed build from source when test-built against a version of
dh-python without a python3-setuptools dependency.

distutils is no longer part of the Python standard library, since 3.12. But a
minimal version of it becomes available when the python3-setuptools package is
installed.

Please add a Build-Depends on python3-setuptools to your package, or migrate
the package's build system away from setuptools/distutils.

If you run into any difficulties, please raise them on
debian-python@lists.debian.org.

This bug has been filed at "important" severity, as the change hasn't been
made in dh-python yet, but this may be raised to RC before the trixie release.

Thanks,

Stefano

#1080647#16
Date:
2026-09-09 20:12:43 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1080647 python3.15
tags 1080647 patch
thanks

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that libprelude fails to build from source [1].

There have been two RC bugs reported to libprelude for 2 years (this one
and #1081473), but unfortunately they haven't been taken care of. As was
discussed in #1081473, this package would be a good candidate for
removal, but I've taken the time to get it back to building
successfully.

There are a bunch of changes that I had to do:
- Avoid using distutils, replace with setuptools (what this bug report
   was originally about).
- PyEval_CallObject was removed in favor of PyObject_CallObject (as
   mentioned in #1081473)
- PyWeakref_GET_OBJECT was removed in favor of PyWeakref_GetRef
- Patch to guard check of alignof and alignas, this is because alignof
   and alignas are keywords, not macros, in C23

I've applied these fixes in the sandbox [2] to verify that it builds
successfully. Now, regarding what to do next, either libprelude should
be fixed with these patches or it should be removed from the archive
together with its dependencies.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587696/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

#1080647#25
Date:
2026-09-18 11:58:41 UTC
From:
To:
Dear submitter,

as the package libprelude has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1081473

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)