From 160183b1f0d6d1b745d058f2772c63ca758987f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Farias?= Date: Mon, 6 Jan 2025 16:22:16 +0100 Subject: [PATCH] Install poetry export (#2889) * Install poetry export * Add version check * Remove debug line --- tests/Dockerfile | 2 ++ tests/pyproject.toml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tests/Dockerfile b/tests/Dockerfile index d66119e929..923ed8cb85 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /usr/src/app RUN pip install poetry +RUN pip install poetry-plugin-export + COPY pyproject.toml poetry.lock ./ RUN poetry export --without-hashes -f requirements.txt --output requirements.txt diff --git a/tests/pyproject.toml b/tests/pyproject.toml index e738c23fcc..bee5c763d3 100644 --- a/tests/pyproject.toml +++ b/tests/pyproject.toml @@ -28,6 +28,9 @@ packages = [ {include="fleet_api"} ] +[tool.poetry.requires-plugins] +poetry-plugin-export = ">1.8" + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"