From 90f39754aaff2cac307102d95f07c6c5e2b4fcaf Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Wed, 18 May 2022 07:23:28 -0500 Subject: [PATCH] operators/katib-*: pins pip and setuptools versions to avoid installation issues Due to pypa/setuptools_scm#713, we are experiencing errors when building charms both locally and in the CI. This change will prevent the error from happening until the issue is fixed. --- operators/katib-controller/charmcraft.yaml | 3 ++- operators/katib-db-manager/charmcraft.yaml | 3 ++- operators/katib-ui/charmcraft.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/operators/katib-controller/charmcraft.yaml b/operators/katib-controller/charmcraft.yaml index 9a10ecaa509..9a649ebbb54 100644 --- a/operators/katib-controller/charmcraft.yaml +++ b/operators/katib-controller/charmcraft.yaml @@ -8,4 +8,5 @@ bases: channel: "20.04" parts: charm: - charm-python-packages: [setuptools, pip] + # Remove when pypa/setuptools_scm#713 gets fixed + charm-python-packages: [setuptools==62.1.0, pip==22.0.4] diff --git a/operators/katib-db-manager/charmcraft.yaml b/operators/katib-db-manager/charmcraft.yaml index 9a10ecaa509..9a649ebbb54 100644 --- a/operators/katib-db-manager/charmcraft.yaml +++ b/operators/katib-db-manager/charmcraft.yaml @@ -8,4 +8,5 @@ bases: channel: "20.04" parts: charm: - charm-python-packages: [setuptools, pip] + # Remove when pypa/setuptools_scm#713 gets fixed + charm-python-packages: [setuptools==62.1.0, pip==22.0.4] diff --git a/operators/katib-ui/charmcraft.yaml b/operators/katib-ui/charmcraft.yaml index 9a10ecaa509..9a649ebbb54 100644 --- a/operators/katib-ui/charmcraft.yaml +++ b/operators/katib-ui/charmcraft.yaml @@ -8,4 +8,5 @@ bases: channel: "20.04" parts: charm: - charm-python-packages: [setuptools, pip] + # Remove when pypa/setuptools_scm#713 gets fixed + charm-python-packages: [setuptools==62.1.0, pip==22.0.4]