#1141640 cython --generate-shared embeds random temporary path

Package:
cython3
Source:
cython3
Description:
C-Extensions for Python 3
Submitter:
Rebecca N. Palmer
Date:
2026-11-10 16:03:04 UTC
Severity:
normal
#1141640#5
Date:
2026-07-07 19:25:59 UTC
From:
To:
When Cython's --generate-shared feature is used, the path
/tmp/tmp[random]/_cyutility.pyx is embedded into the resulting
_cyutility*.so, making it unreproducible.

This feature is currently used by scipy and sklearn, and by the version
of pandas in Salsa (but not the version in the archive).

Possibly related: #1113976 was a similar bug affecting mesonpy + cython
packages more broadly, and was fixed by fixing the path.

#1141640#12
Date:
2026-11-10 16:02:11 UTC
From:
To:
On Tue, 7 Jul 2026 20:25:59 +0100 "Rebecca N. Palmer" <rebecca_palmer@zoho.com> wrote:
 > Package: cython3
 > Version: 3.1.6+dfsg-3
 > Severity: wishlist
 > User: reproducible-builds@lists.alioth.debian.org
 > Usertags: toolchain randomness
 > X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
 > Control: affects -1 src:scipy src:scikit-learn
 >
 > When Cython's --generate-shared feature is used, the path
 > /tmp/tmp[random]/_cyutility.pyx is embedded into the resulting
 > _cyutility*.so, making it unreproducible.
 >
 > This feature is currently used by scipy and sklearn, and by the version
 > of pandas in Salsa (but not the version in the archive).
 >
 > Possibly related: #1113976 was a similar bug affecting mesonpy + cython
 > packages more broadly, and was fixed by fixing the path.

This is fixed in the new upstream release.

Best,
Boyuan Yang