From c5c8ea15bbb2df18f9ac600a9f64bd43f05f81af Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 12 Jun 2020 19:43:47 +0200 Subject: [PATCH] sdist build: stop making .zip distributables as they are not deterministic see https://bugs.python.org/issue40963 --- contrib/build-linux/sdist/make_tgz | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/build-linux/sdist/make_tgz b/contrib/build-linux/sdist/make_tgz index 6bc7c4b65..28032fe47 100755 --- a/contrib/build-linux/sdist/make_tgz +++ b/contrib/build-linux/sdist/make_tgz @@ -42,5 +42,6 @@ git submodule update --init find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} + - TZ=UTC faketime -f '2000-11-11 11:11:11' python3 setup.py --quiet sdist --format=zip,gztar + # note: .zip sdists would not be reproducible due to https://bugs.python.org/issue40963 + TZ=UTC faketime -f '2000-11-11 11:11:11' python3 setup.py --quiet sdist --format=gztar )