Skip to content

Commit 5d2d123

Browse files
committed
Update Poetry to 2.2.1 in CI workflow and build system
1 parent c893aa3 commit 5d2d123

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070

7171
- name: Install poetry
7272
run: |
73-
python -m pip install poetry==2.0.0
73+
# When upgrading poetry, remember to upgrade poetry-core in `pyproject.toml` (`build-system.requires`)
74+
python -m pip install poetry==2.2.1
7475
7576
- name: Configure poetry
7677
run: |

poetry.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sphinx = "*"
6161
sphinx-autobuild = "*"
6262

6363
[build-system]
64-
requires = ["poetry-core>=2.0.0"]
64+
requires = ["poetry-core==2.2.1"]
6565
build-backend = "poetry.core.masonry.api"
6666

6767
[tool.ruff]

0 commit comments

Comments
 (0)