From 91780f2df4f858e03ea77c4d61163f4f367e5d5e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 8 Sep 2023 21:12:03 +0300
Subject: [PATCH] Workbench: Avoid Cython 3.

It breaks the installation of older PyYAML versions.
---
 workbench/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index fa2e9e5..fcabbe1 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -158,6 +158,7 @@ RUN apt-get update && \
     locale-gen && \
     export PIP_CONSTRAINT=/tmp/constraint.txt && \
     echo 'resolvelib==0.5.4' > "$PIP_CONSTRAINT" && \
+    echo 'Cython < 3.0' >> "$PIP_CONSTRAINT" && \
     python3 -m pip install --no-cache-dir --break-system-packages \
         https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \
         Glances \
-- 
GitLab