From 5ff0b4e758aaf5d9d0468c0c0b5d39c16dfc04a4 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Wed, 5 Oct 2022 13:51:01 +0200 Subject: [PATCH 1/2] Do an eager upgrade of all dependencies in docker development environment --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index b27f56ab4..6c2aa9f6f 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -2,7 +2,7 @@ # Update latest Python dependencies in case they have changed cd /project-readonly -pip install --upgrade -e ".[dev]" +pip install --upgrade --upgrade-strategy eager -e ".[dev]" # This helps a potential permission issue, but might be removed # pending some more investigation of docker host file system From 55f00cd0d58c8a866db94bcc9f3950eadfb38a2c Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 18 Oct 2022 11:47:09 +0200 Subject: [PATCH 2/2] Adds a comment about installation of deps and upgrade strategy --- docker-entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a38be882a..86762ad3e 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,6 +1,11 @@ #!/bin/sh # Update latest Python dependencies in case they have changed +# Notice that we are using the 'eager' strategy +# This should only be relevant to development environments where +# the theme is being used. For purposes of "production" or +# building the sdist/wheel, installing dependencies should not +# affect the outcome. cd /project-readonly pip install --upgrade --upgrade-strategy eager -e ".[dev]"