From d77d203e4846a04833829e020c86a91036fcaa59 Mon Sep 17 00:00:00 2001 From: Janne Karjalainen Date: Wed, 6 Oct 2021 15:24:26 +0300 Subject: [PATCH] Upgrade setuptools in dockerfile --- dockerize/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dockerize/Dockerfile b/dockerize/Dockerfile index 876c9426ee..38ef05bc91 100644 --- a/dockerize/Dockerfile +++ b/dockerize/Dockerfile @@ -20,9 +20,10 @@ RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8 # Supposedly helps with pip time-outs. ENV PIP_DEFAULT_TIMEOUT=100 -RUN python3 -m pip install --upgrade pip setuptools wheel && \ - python3 --version && \ - pip3 --version +# setuptools pinned for 2to3 compatibility (for e.g. fs==0.5.4) +RUN python3 -m pip install --upgrade pip setuptools==57.5.0 wheel && \ + python3 --version && \ + pip3 --version ENV LANG=en_US.UTF-8 ENV DB_NAME="b2share-evolution"