Skip to content

Commit bb656e5

Browse files
authored
[FIX] Correct poetry version (#21)
1 parent 839a687 commit bb656e5

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.1.0"
44
description = "User-facing API of DECODE OpenCloud."
55
authors = ["Arthur Jaques <arthur.jaques@hispeed.ch>"]
66
readme = "README.md"
7+
requires-poetry = "2.1.3"
78

89
[tool.poetry.dependencies]
910
python = "3.11.10"
@@ -45,7 +46,7 @@ types-pyyaml = "^6.0.12.20240917"
4546
moto = "^5.0.21"
4647

4748
[build-system]
48-
requires = ["poetry-core=1.8.4"]
49+
requires = ["poetry-core==1.9.1"]
4950
build-backend = "poetry.core.masonry.api"
5051

5152
[tool.poetry.scripts]

scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
POETRY_VERSION=$(grep -Po '(?<=^requires = \["poetry-core=)[^"]*' pyproject.toml)
1+
POETRY_VERSION=$(grep '^requires-poetry' pyproject.toml | sed -E 's/.*=\s*"([0-9]+\.[0-9]+\.[0-9]+)".*/\1/')
22
pip install "poetry==$POETRY_VERSION"
3-
poetry install --no-dev --no-interaction --no-ansi
3+
poetry install --without dev --no-interaction --no-ansi

0 commit comments

Comments
 (0)