diff --git a/.github/actions/hermit/action.yml b/.github/actions/hermit/action.yml index 5427236758..27a06b172b 100644 --- a/.github/actions/hermit/action.yml +++ b/.github/actions/hermit/action.yml @@ -67,6 +67,10 @@ runs: name: Install poetry shell: bash run: pip3 install poetry + - if: ${{ inputs.init-tools == 'true' }} + name: Install poetry-plugin-export + shell: bash + run: pip3 install poetry-plugin-export - if: ${{ inputs.init-tools == 'true' }} name: Install tests poetry dependencies shell: bash 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 f70d7a5b3f..114fa08581 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"