Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2022-11-02 20:23:57 +0300
committerGitHub <noreply@github.com>2022-11-02 20:23:57 +0300
commit9cf062d8d454179b3d36f7ac67430904d49a1569 (patch)
tree89435160fab4a8bba09a8dfdfdce8fd5059cea74
parent63de0ca9e6c838112664beedefd56abe361d20d6 (diff)
disable poetry's cache (#9453)
-rwxr-xr-xtools/pinning/common/export-pinned-dependencies.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/pinning/common/export-pinned-dependencies.sh b/tools/pinning/common/export-pinned-dependencies.sh
index c52c629ae..e1c93b0dc 100755
--- a/tools/pinning/common/export-pinned-dependencies.sh
+++ b/tools/pinning/common/export-pinned-dependencies.sh
@@ -37,7 +37,10 @@ if [ -f poetry.lock ]; then
rm poetry.lock
fi
-poetry lock >&2
+# If you're running this with different Python versions (say to update both our
+# "current" and "oldest" pinnings), poetry's cache can become corrupted causing
+# poetry to hang indefinitely. --no-cache avoids this.
+poetry lock --no-cache >&2
trap 'rm poetry.lock' EXIT
# We need to remove local packages from the output.