1
0

build: (reproducibility) always uses "pip install" with "--no-build-isolation"

fixes https://github.com/spesmilo/electrum/issues/7737
fixes https://github.com/spesmilo/electrum/issues/7736
related 8559d1eb72
This commit is contained in:
SomberNight
2022-03-26 02:12:12 +01:00
parent 859bd15356
commit 98d32f41d5
9 changed files with 40 additions and 23 deletions

View File

@@ -145,8 +145,11 @@ RUN chown ${USER} /opt
USER ${USER}
COPY contrib/deterministic-build/requirements-build-base.txt /opt/deterministic-build/
COPY contrib/deterministic-build/requirements-build-android.txt /opt/deterministic-build/
RUN python3 -m pip install --no-dependencies --user \
RUN python3 -m pip install --no-build-isolation --no-dependencies --user \
-r /opt/deterministic-build/requirements-build-base.txt
RUN python3 -m pip install --no-build-isolation --no-dependencies --user \
-r /opt/deterministic-build/requirements-build-android.txt
# install buildozer
@@ -157,7 +160,7 @@ RUN cd /opt \
&& git fetch --all \
# commit: from branch sombernight/electrum_20210421
&& git checkout "d570116e88184b0eca0c6b59a25edd49d977da23^{commit}" \
&& python3 -m pip install --no-dependencies --user -e .
&& python3 -m pip install --no-build-isolation --no-dependencies --user -e .
# install python-for-android
RUN cd /opt \
@@ -168,7 +171,7 @@ RUN cd /opt \
&& git fetch --all \
# commit: from branch accumulator/qt5-wip
&& git checkout "ebbe8dcc271e36468666feb98f936d0a96936cf2^{commit}" \
&& python3 -m pip install --no-dependencies --user -e .
&& python3 -m pip install --no-build-isolation --no-dependencies --user -e .
# build env vars
ENV USE_SDK_WRAPPER=1