Skip to content

Commit

Permalink
Install poetry export (#2889)
Browse files Browse the repository at this point in the history
* Install poetry export

* Add version check

* Remove debug line
  • Loading branch information
romulets authored Jan 6, 2025
1 parent 3dd758c commit 160183b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 160183b

Please sign in to comment.