From 9bbab7525bfda1838f4e9f412a44bb673b87ae80 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 9 Sep 2023 17:28:51 +0300
Subject: [PATCH] Workbench: Another stab at fixing PDM and its plugins.

I think that it was pdm-publish (that hasn't been updated for over 2
years) that's causing the issue. It requires an older version of PDM and
because of that it's breaking the installation of pdm-version and leaves
PDM broken (pipx downgrades PDM but the dependencies aren't installed
properly). Just a theory, let's check.
---
 workbench/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workbench/Dockerfile b/workbench/Dockerfile
index 2da3377..cbe98ac 100644
--- a/workbench/Dockerfile
+++ b/workbench/Dockerfile
@@ -233,7 +233,7 @@ RUN apt-get update && \
     pipx install chalice && \
     pipx install curator-opensearch && \
     pipx install pdm && \
-    pipx inject pdm six pdm-packer pdm-publish && \
+    pipx inject pdm pdm-packer pdm-version && \
     npm install --global \
         corepack \
         @playwright/test \
-- 
GitLab