Skip to content

Commit

Permalink
Update poetry to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrehan committed Jan 15, 2025
1 parent 93f7dd0 commit a01c922
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
python-version: "3.10"

- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.4
uses: abatilo/actions-poetry@v3.0.2
with:
poetry-version: "1.3.2"
poetry-version: "2.0.1"

- name: Build package with poetry
run: poetry build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
with:
python-version: "3.10"
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v3.0.2
with:
poetry-version: "1.3.2"
poetry-version: "2.0.1"
- name: Install dependencies
run: poetry install
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
python-version: "3.10"
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.6
uses: abatilo/actions-poetry@v3.0.2
with:
poetry-version: "1.3.2"
poetry-version: "2.0.1"
- name: Install dependencies
run: poetry install
- name: Update ProtocolDefinitions
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ setuptools = ">=40"
proto-plus = "^1.22.1"
python = "^3.10"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
Jinja2 = "^3.0"
pytest = "^7.4"
pytest-mock = "^3.11"
Expand All @@ -37,5 +37,5 @@ packaging = ">=23.0"
generate-setup-file = true

[build-system]
requires = ["poetry>=1.3.0"]
requires = ["poetry>=2.0"]
build-backend = "poetry.masonry.api"

0 comments on commit a01c922

Please sign in to comment.