From 1546127b2339bbebbffcca70a13ef05f9157bdc3 Mon Sep 17 00:00:00 2001 From: Peter Neuroth Date: Thu, 2 Nov 2023 10:51:39 +0100 Subject: [PATCH] docker: Add fix for broken setuptools installation The fedora image installs a setuptools version that can not be upgraded via pip. A fix is to remove the files manually and reinstall it via pip. Signed-off-by: Peter Neuroth --- contrib/docker/Dockerfile.builder.fedora | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docker/Dockerfile.builder.fedora b/contrib/docker/Dockerfile.builder.fedora index a6441517ee1b..3cb6b9c7a972 100644 --- a/contrib/docker/Dockerfile.builder.fedora +++ b/contrib/docker/Dockerfile.builder.fedora @@ -30,5 +30,5 @@ RUN wget https://bitcoin.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_ mv bitcoin-$BITCOIN_VERSION/share/man/man1/* /usr/share/man/man1 && \ rm -rf bitcoin.tar.gz bitcoin-$BITCOIN_VERSION -RUN python3 -m pip install --upgrade pip && \ - python3 -m pip install python-bitcoinlib pytest setuptools pytest-test-groups flake8 pytest-rerunfailures ephemeral-port-reserve +RUN python3 -m pip install --force-reinstall -U pip setuptools && \ + python3 -m pip install python-bitcoinlib pytest pytest-test-groups flake8 pytest-rerunfailures ephemeral-port-reserve