Skip to content

Commit d965040

Browse files
authored
build: pin Poetry bootstrap to 2.4.0 to avoid min-release-age conflict (#762)
1 parent 7dee37e commit d965040

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ SHELL=env bash
44

55
PYTHON?=python3
66
RELEASE_VER?=HEAD
7+
# Pin Poetry so the bootstrap doesn't pull a fresh release whose transitive
8+
# deps (e.g. virtualenv) are then filtered out by solver.min-release-age=7
9+
# during the project's plugin resolve.
10+
POETRY_VERSION?=2.4.0
711
ifdef VIRTUAL_ENV
812
VENV=${VIRTUAL_ENV}
913
else
@@ -16,7 +20,7 @@ ifdef POETRY
1620
VENV=${VIRTUAL_ENV}
1721
VENV_BIN="${VENV}/bin"
1822
else
19-
START_PKGS=pip wheel poetry
23+
START_PKGS=pip wheel poetry==${POETRY_VERSION}
2024
POETRY="${VENV_BIN}/poetry"
2125
endif
2226
PIP?="${VENV_BIN}/pip"

0 commit comments

Comments
 (0)