Skip to content

Commit ad5b198

Browse files
chore: ensure correct poetry version (#1184)
Signed-off-by: Alex <aizquier@redhat.com>
1 parent fe84a06 commit ad5b198

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ repos:
3434
hooks:
3535
- id: poetry-check
3636
- id: poetry-lock
37-
args: ["--check"]

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["poetry-core"]
2+
requires = ["poetry-core>=2.0,<3.0"]
33
build-backend = "poetry.core.masonry.api"
44

55
[project]
@@ -20,6 +20,7 @@ aap-eda-manage = 'aap_eda.manage:main'
2020
# Poetry: Metadata
2121
# -------------------------------------
2222
[tool.poetry]
23+
requires-poetry = ">=2.0,<3.0"
2324
packages = [{ include = "aap_eda", from = "src" }]
2425
include = ["aap_eda/data/playbooks/*.yml"]
2526

tools/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN DNF=dnf \
3333
&& rm -rf /var/cache/dnf
3434

3535
USER "$USER_ID"
36-
ENV POETRY_VERSION="2.0.*" \
36+
ENV POETRY_VERSION="2.*" \
3737
PYTHONDONTWRITEBYTECODE=1 \
3838
PYTHONUNBUFFERED=1 \
3939
PIP_NO_CACHE_DIR=1 \

0 commit comments

Comments
 (0)