From fcf7e58a1509837b7c6bc7e65916dcded8955dcf Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 9 Jan 2025 08:16:01 +0100
Subject: [PATCH] Force Poetry v1, since v2 is not yet supported
 (clients/python/silkaj#499)

by Silkaj/DuniterPy

pyproject.toml syntax has to be adapted
to have the included files included among other topics

To Fix DeathReaper in the meantime (clients/python/silkaj#498)
---
 3.10/Dockerfile | 2 +-
 3.11/Dockerfile | 2 +-
 3.12/Dockerfile | 2 +-
 3.9/Dockerfile  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/3.10/Dockerfile b/3.10/Dockerfile
index 4aa5a23..f443ede 100644
--- a/3.10/Dockerfile
+++ b/3.10/Dockerfile
@@ -6,4 +6,4 @@ apt install --yes libsodium23 && \
 rm -rf /var/lib/apt/lists
 
 # Install Poetry
-RUN pip install poetry
+RUN pip install "poetry>=1.8,<2.0"
diff --git a/3.11/Dockerfile b/3.11/Dockerfile
index 0c88f96..fb55c52 100644
--- a/3.11/Dockerfile
+++ b/3.11/Dockerfile
@@ -6,4 +6,4 @@ apt install --yes libsodium23 && \
 rm -rf /var/lib/apt/lists
 
 # Install Poetry
-RUN pip install poetry
+RUN pip install "poetry>=1.8,<2.0"
diff --git a/3.12/Dockerfile b/3.12/Dockerfile
index 7f2b313..f894c73 100644
--- a/3.12/Dockerfile
+++ b/3.12/Dockerfile
@@ -6,4 +6,4 @@ apt install --yes libsodium23 git && \
 rm -rf /var/lib/apt/lists
 
 # Install Poetry
-RUN pip install poetry pre-commit
+RUN pip install "poetry>=1.8,<2.0" pre-commit
diff --git a/3.9/Dockerfile b/3.9/Dockerfile
index f85e498..9c7445f 100644
--- a/3.9/Dockerfile
+++ b/3.9/Dockerfile
@@ -6,4 +6,4 @@ apt install --yes libsodium23 && \
 rm -rf /var/lib/apt/lists
 
 # Install Poetry
-RUN pip install poetry
+RUN pip install "poetry>=1.8,<2.0"
-- 
GitLab