Skip to content

Commit

Permalink
Also install setuptools
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
zregvart authored and liranmauda committed Feb 3, 2025
1 parent b25e4e7 commit 446f57a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ gen-olm: gen
. $(VENV)/bin/activate && \
pip3 install --upgrade pip && \
pip3 install operator-courier==2.1.11 && \
pip3 install setuptools && \
operator-courier --verbose verify --ui_validate_io $(OLM)
docker build -t $(CATALOG_IMAGE) -f build/catalog-source.Dockerfile .
@echo "✅ gen-olm"
Expand Down

0 comments on commit 446f57a

Please sign in to comment.