#1145091 python-setproctitle: FTBFS building against python 3.15

#1145091#5
Date:
2026-08-22 10:02:45 UTC
From:
To:
Package: src:python-setproctitle
Version: 1.3.7-2
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-setproctitle fails to build from source [1].

This fixed upstream with the commit "fix: fix segfault after clearenv()
on Python 3.15" (68125ab). I'm attaching the patch used to build the
package in the sandbox.

Please consider including this patch in your next upload.

Happy hacking,

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

#1145091#10
Date:
2026-08-23 16:52:36 UTC
From:
To:
Hello,

Bug #1145091 in python-setproctitle reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-setproctitle/-/commit/295b0ad30d3a098aeb48d6384e1852bde276d3d0
------------------------------------------------------------------------
Team upload.

* Team upload.
* d/patches: Add patch to fix FTBTS building against py3.15
  (Closes: #1145091).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1145091

#1145091#17
Date:
2026-08-23 17:09:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-setproctitle, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1145091@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Arias <eamanu@debian.org> (supplier of updated python-setproctitle package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 23 Aug 2026 13:48:41 -0300
Source: python-setproctitle
Architecture: source
Version: 1.3.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Emmanuel Arias <eamanu@debian.org>
Closes: 1145091
Changes:
 python-setproctitle (1.3.7-3) unstable; urgency=medium
 .
   * Team upload.
   * d/patches: Add patch to fix FTBTS building against py3.15
     (Closes: #1145091).
   * Standards-Version: 4.7.4 (routine-update)
   * Reorder sequence of d/control VCS fields (cme)
   * Remove Priority field (cme)
Checksums-Sha1:
 05a2d833cc5697e779675c8a27c39e6695946d05 2295 python-setproctitle_1.3.7-3.dsc
 52de0603cb1b9b5d1a7f70d181d902bd93b49848 5336 python-setproctitle_1.3.7-3.debian.tar.xz
 98290433d6391ecffedd57f5db1e2ff2202a1aeb 7562 python-setproctitle_1.3.7-3_amd64.buildinfo
Checksums-Sha256:
 84f48d2a19870763b2146533e30cb4a767dd1ecafa46008e7902ad9066aa3dc4 2295 python-setproctitle_1.3.7-3.dsc
 433a562f137c2622d7644250d2ba7bb602a65556ab961803946d6688b95587b9 5336 python-setproctitle_1.3.7-3.debian.tar.xz
 7d4763cc676ed87729ec92469196c5887bef9f6682b74784a1f8e76524ee7a64 7562 python-setproctitle_1.3.7-3_amd64.buildinfo
Files:
 ace89ac96c148d55c336658384deabc0 2295 python optional python-setproctitle_1.3.7-3.dsc
 59283d6828c677130c06945e0edd4d0b 5336 python optional python-setproctitle_1.3.7-3.debian.tar.xz
 5414dc16fe5c4be6ac8282377246726e 7562 python optional python-setproctitle_1.3.7-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmqLJZkSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPx0AYP/3IH48OAuSK8xMRFSRZ2kPUTA2OfIMU4
gLfdj7kA1+JAyyAunyJLq+mmqRmOg3LHGmvITyjC2QXigl01MTE2seki9JGEoJ0s
ywuEh3u7QixNnwnUeB6yxmAUuuhRipGgkFYt9/Y67nH+8g4GRReLBljzpzkPg11f
lIslOHahcNbEZ22Up2TsW+y2iq6bjcy/jwkbnp6PiyHnEEAVCNBRDZ+EnNHNgoOB
kPAYS6LDoN3sCCRzAR92OUCMLZHNQ7grrv8Wyn5Sr9GXissbzrrsu3tPOwxYOk5c
3+O8Zyl4coM6OtH2lCvHM+1hG5eNc8506ejKkF+KmHQs8HcbQXYFRJcHqe/S+7TT
V6btKTRcqtMtq43KEZ4yLt1qD8Y45qo7DAeLvfermpRAny61q8XtdNdcPOh2IFVD
9SKLeNvGDovT28PeDSTi6kbCkCH1zBrDzTcqW2p1pCUc/4n8pFMueYQDS7Gudgdw
ulYWEXPcAkR6hTNPE+doft9s6siLrpMqFmJYK3BSqjbZB0yxj/nPdd2iZhXcbV01
ZiugV/jIV45gSURVyViSSfta41YCNLNgxln3CMyFWFIA0+RErGALMvtfqrvd7ED2
SkMy/1uN0klUrn/AcwxuDesYxk4C4gYYtnqJ7nc9zZAZR7LcBHwuS0HMOKU2PO1T
j/G3Ct7hcK9G
=K44X
-----END PGP SIGNATURE-----