Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ COPY mozci /src/mozci/
# Run in a single step to get a small image
RUN apk add --virtual build gcc libffi-dev musl-dev postgresql-dev && \
# Setup poetry through pip
pip install --no-cache-dir poetry==1.8.5 && \
pip install --no-cache-dir poetry==2.1.1 && \
# Install mozci with poetry
poetry config virtualenvs.create false && \
poetry install --no-dev --no-interaction --no-ansi && \
poetry install --without dev --no-interaction --no-ansi && \
# Cleanup build dependencies
pip uninstall -y poetry && \
apk del build && \
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ cache-redis = ["redis"]
cache-seeded-file = ["zstandard"]

[build-system]
requires = ["poetry==1.8.5"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core==2.1.1"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = py310,pre-commit
[testenv]
envdir = {toxworkdir}/env
deps =
poetry == 1.8.5
poetry == 2.1.1
passenv = TRAVIS_EVENT_TYPE
setenv =
integration: TRAVIS_EVENT_TYPE = cron
Expand Down