1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

delete eggs before running poetry (#8865)

This commit is contained in:
Brad Warren
2021-05-31 00:03:25 -07:00
committed by GitHub
parent 492b578662
commit 968cc5801b

View File

@@ -17,6 +17,12 @@ if ! command -v poetry >/dev/null; then
exit 1
fi
# Old eggs can cause outdated dependency information to be used by poetry so we
# delete them before generating the lock file. See
# https://github.com/python-poetry/poetry/issues/4103 for more info.
cd "${REPO_ROOT}"
rm -rf */*.egg-info
cd "${WORK_DIR}"
if [ -f poetry.lock ]; then