Skip to content

Commit 17ae43f

Browse files
authored
chore: update Poetry to 2.2.1 (#4032)
This PR updates poetry version to 2.2.1 and also updates the vanir version in worker to 1.0.2.
1 parent 95da823 commit 17ae43f

File tree

12 files changed

+490
-458
lines changed

12 files changed

+490
-458
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
python-version: '3.13'
3838
- name: Install poetry
39-
run: pip install poetry==2.1.3
39+
run: pip install poetry==2.2.1
4040
- name: Set up poetry
4141
run: poetry install
4242
- name: Set up Go

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You must install:
3939
1. [Pylint](https://pypi.org/project/pylint)
4040
1. [Yapf](https://github.com/google/yapf)
4141
1. [Make](https://www.gnu.org/software/make/)
42-
1. [Poetry](https://python-poetry.org/) >= 2.1.3
42+
1. [Poetry](https://python-poetry.org/) >= 2.2.1
4343
2. [Google Cloud SDK](https://cloud.google.com/sdk)
4444
3. [Hugo](https://gohugo.io/installation/)
4545
4. [Node JS](https://nodejs.org/) >= 18.17.x

docker/poetry/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# To regenerate requirements.txt, use
33
# pip-compile --generate-hashes requirements.in
44
# (requires pip-tools to be installed in current python environment)
5-
poetry==2.1.3
5+
poetry==2.2.1

docker/poetry/requirements.txt

Lines changed: 109 additions & 110 deletions
Large diffs are not rendered by default.

gcp/api/poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gcp/functions/pypi/poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gcp/website/poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gcp/workers/worker/poetry.lock

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

gcp/workers/worker/pyproject.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"pygit2==1.18.2",
1414
"requests==2.32.5",
1515
"jsonschema==4.25.1",
16-
"vanir==1.0.2rc1",
16+
"vanir==1.0.2",
1717
"osv",
1818
]
1919

@@ -22,18 +22,11 @@ package-mode = false
2222

2323
[tool.poetry.dependencies]
2424
osv = { path = "../../../", develop = true }
25-
vanir = { source = "test-pypi" }
2625

2726
[tool.poetry.group.dev.dependencies]
2827
yapf = "*"
2928
pylint = "*"
3029

31-
32-
[[tool.poetry.source]]
33-
name = "test-pypi"
34-
url = "https://test.pypi.org/simple/"
35-
priority = "explicit"
36-
3730
[build-system]
3831
requires = ["poetry-core>=2.0.0"]
39-
build-backend = "poetry.core.masonry.api"
32+
build-backend = "poetry.core.masonry.api"

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)