Bugzilla – Bug 1201127
python-brotlicffi / setuptools build_ext reproducible builds
Last modified: 2023-05-04 09:01:04 UTC
I found https://github.com/python-hyper/brotlicffi/blob/main/setup.py#L66 needed a "sorted(sources)" to become fully reproducible, but IMHO that should not have to be added into setup.py but one layer up, e.g. in build_ext similar to https://github.com/pypa/setuptools/commit/5a0404fa3875a069f7a6436f508116e852909cf2 https://github.com/pypa/setuptools/pull/1068/files
I've created an issue in setuptools github [1], and also created the corresponding PR to solve the issue [2], that should make this kind of build reproducible. Let's see how the review process go and if it's accepted we can bring that change to our package. [1] https://github.com/pypa/setuptools/issues/3678 [2] https://github.com/pypa/setuptools/pull/3679
Patch has been merged and there's a new setuptools release (65.6.1) with this change. I've also created a request with this new update for Factory, so we can close this as fixed. https://build.opensuse.org/request/show/1037646
I verified the fix. Works fine.
This is an autogenerated message for OBS integration: This bug (1201127) was mentioned in https://build.opensuse.org/request/show/1037861 Factory / python-setuptools