Skip to content

Commit 2184c1e

Browse files
zregvartliranmauda
authored andcommitted
Also install setuptools
Without setuptools, running operator-courier fails with: ``` Traceback (most recent call last): File "/Users/zregvart/work/croz/noobaa/noobaa-operator/build/_output/venv/bin/operator-courier", line 5, in <module> from operatorcourier.cli import main File "/Users/zregvart/work/croz/noobaa/noobaa-operator/build/_output/venv/lib/python3.13/site-packages/operatorcourier/cli.py", line 2, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources' make: *** [gen-olm] Error 1 ``` Signed-off-by: Zoran Regvart <zoran@regvart.com> (cherry picked from commit 06528c3)
1 parent 61f3367 commit 2184c1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ gen-olm: gen
149149
. $(VENV)/bin/activate && \
150150
pip3 install --upgrade pip && \
151151
pip3 install operator-courier==2.1.11 && \
152+
pip3 install setuptools && \
152153
operator-courier --verbose verify --ui_validate_io $(OLM)
153154
docker build -t $(CATALOG_IMAGE) -f build/catalog-source.Dockerfile .
154155
@echo "✅ gen-olm"

0 commit comments

Comments
 (0)