Skip to content

Commit

Permalink
operators/katib-*: pins pip and setuptools versions to avoid installa…
Browse files Browse the repository at this point in the history
…tion 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.
  • Loading branch information
DnPlas committed May 18, 2022
1 parent 3993404 commit 90f3975
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion operators/katib-controller/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
3 changes: 2 additions & 1 deletion operators/katib-db-manager/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
3 changes: 2 additions & 1 deletion operators/katib-ui/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 90f3975

Please sign in to comment.