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