Skip to content

Commit

Permalink
ci: Pin versions to speed up poetry deps resolution (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik authored Nov 24, 2023
1 parent ea2604e commit 421e9a6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions tests/poetry/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ description = ""
authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.6"
Flask = "^1.0"
python = "^3.7"
Flask = "2.0"
bottle = {git = "https://git@github.com/bottlepy/bottle.git", tag = "0.12.16"}
boto3 = "^1.9"
boto3 = "1.29.6"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
requires = ["poetry"]
build-backend = "poetry.masonry.api"
8 changes: 4 additions & 4 deletions tests/poetry_individually/module1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ description = ""
authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.6"
Flask = "^1.0"
python = "^3.7"
Flask = "2.0"
bottle = {git = "https://git@github.com/bottlepy/bottle.git", tag = "0.12.16"}
boto3 = "^1.9"
boto3 = "1.29.6"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
requires = ["poetry"]
build-backend = "poetry.masonry.api"
6 changes: 3 additions & 3 deletions tests/poetry_packages/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ description = ""
authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.6"
Flask = "^1.0"
python = "^3.7"
Flask = "2.0"

[tool.poetry.group.custom1.dependencies]
bottle = {git = "https://git@github.com/bottlepy/bottle.git", tag = "0.12.16"}

[tool.poetry.group.custom2.dependencies]
boto3 = "^1.9"
boto3 = "1.29.6"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 421e9a6

Please sign in to comment.