Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use poetry 1.8.x

Patryk Zawadzki43d250843ba3
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 45b0f0ad00..f2536e2c03 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -17,7 +17,7 @@ RUN apt-get update \
mime-support
WORKDIR /app
-RUN pip install poetry==1.7.0
+RUN pip install poetry==1.8.4
RUN poetry config virtualenvs.create false
COPY poetry.lock pyproject.toml /app/
RUN poetry install --no-root
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 9027d85425..6e0557af0a 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -45,7 +45,7 @@ jobs:
- name: Install and configure poetry
run: |
- pip install poetry==1.7.0
+ pip install poetry==1.8.4
- name: Cache the venv
id: cached-poetry-dependencies
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index 17c932b961..63593bc405 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -53,7 +53,7 @@ jobs:
- name: Install and configure poetry
run: |
- pip install poetry==1.7.0
+ pip install poetry==1.8.4
- name: Cache the venv
id: cached-poetry-dependencies
diff --git a/.github/workflows/test-migrations-compatibility.yml b/.github/workflows/test-migrations-compatibility.yml
index 73a252099d..8dfac77506 100644
--- a/.github/workflows/test-migrations-compatibility.yml
+++ b/.github/workflows/test-migrations-compatibility.yml
@@ -38,7 +38,7 @@ jobs:
- name: Install and configure poetry
run: |
- pip install poetry==1.7.0
+ pip install poetry==1.8.4
- name: Restore venv from cache
id: cached-poetry-dependencies-restore
diff --git a/Dockerfile b/Dockerfile
index b5bb772f8d..d5e9ad01dc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,7 @@ RUN apt-get -y update \
# Install Python dependencies
WORKDIR /app
-RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install poetry==1.7.0
+RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install poetry==1.8.4
RUN poetry config virtualenvs.create false
COPY poetry.lock pyproject.toml /app/
RUN --mount=type=cache,mode=0755,target=/root/.cache/pypoetry poetry install --no-root
diff --git a/pyproject.toml b/pyproject.toml
index eeecde1125..f3de67c972 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,6 +12,7 @@ readme = "README.md"
homepage = "https://saleor.io/"
repository = "https://github.com/saleor/saleor"
documentation = "https://docs.saleor.io/"
+package-mode = false
[tool.poetry.dependencies]
python = "~3.12"