Skip to content

Commit

Permalink
fix: migrate to latest poetry versions (v1.2)
Browse files Browse the repository at this point in the history
Migrate to latest poetry version.
Fix pipelines
  • Loading branch information
ryshu committed Oct 4, 2022
1 parent d022916 commit 67fc496
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.1"]
poetry-version: ["1.2"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.1"]
poetry-version: ["1.2"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.1"]
poetry-version: ["1.2"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ RUN apt-get update \
&& apt-get --no-install-recommends install -y curl=7.64.0-4+deb10u2 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
&& curl -sSL https://install.python-poetry.org | python

ENV PATH="${PATH}:/root/.poetry/bin"
ENV PATH="${PATH}:/root/.local/bin"


COPY pyproject.toml poetry.lock ./

# install deps
RUN poetry install --no-dev --no-root
RUN poetry install --only main --no-root


# Prod
Expand Down

0 comments on commit 67fc496

Please sign in to comment.