From bb0db0e3c0d3b5e7e61f00c34a41fb793e5a3a8b Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 1 Jul 2022 18:35:42 +0200 Subject: [PATCH] build: incl "frozenlist" dep as pure-python, without C stuff While attempting to reproducibly build the qml android apk, one of the differences was due to the "frozenlist" dependency (pulled in by aiohttp) - the compiled C parts were not deterministic. By setting this env var, we can opt-out [0] of all the C accelerated parts and just use the pure-python implementation. We are already doing the same for other aiohttp-related packages anyway. [0]: https://github.com/aio-libs/frozenlist/blob/c2794cac120ea9c89ec59205f561b57e6ad1dae7/setup.py#L7 --- contrib/make_packages | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/make_packages b/contrib/make_packages index 4fa7e4615..89b76249f 100755 --- a/contrib/make_packages +++ b/contrib/make_packages @@ -29,6 +29,7 @@ python -m pip install --no-build-isolation --no-dependencies --no-warn-script-lo export AIOHTTP_NO_EXTENSIONS=1 export YARL_NO_EXTENSIONS=1 export MULTIDICT_NO_EXTENSIONS=1 +export FROZENLIST_NO_EXTENSIONS=1 # if we end up having to compile something, at least give reproducibility a fighting chance export LC_ALL=C