From d6fdbf3e89fcdbcaa12d6ad458d10ef11ba75c10 Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Tue, 10 Jul 2018 15:03:51 +0200 Subject: [PATCH] docker: Add workaround to fix installation of dependencies by pip pip release 10.0.0b1 (2018-03-31) removed support for uninstalling projects which have been installed using distutils[1]. Thus a possible workaround is to ignore the distribution-provided packages. [1]: https://pip.pypa.io/en/stable/news/#deprecations-and-removals This commit is based on the same workaround required in satnogs-network, https://gitlab.com/librespacefoundation/satnogs/satnogs-network/merge_requests/489 Fixes issue #220. --- docker/dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/dev b/docker/dev index 78f837b..d074be4 100644 --- a/docker/dev +++ b/docker/dev @@ -7,7 +7,7 @@ RUN yum -y clean all RUN pip install --upgrade pip COPY ./requirements/ /tmp/requirements/ -RUN pip install --no-cache-dir --require-hashes --no-deps -r /tmp/requirements/dev.txt +RUN pip install --no-cache-dir --require-hashes --no-deps --ignore-installed -r /tmp/requirements/dev.txt WORKDIR /app EXPOSE 80