charmed-kubernetes / pytest-operator

Apache License 2.0
7 stars 13 forks source link

Fix failure to build operator-framework test charm #45

Closed Cynerva closed 2 years ago

Cynerva commented 2 years ago

Per https://github.com/canonical/charmcraft/issues/551 and https://discourse.charmhub.io/t/install-or-update-python-packages-before-packing-a-charm/5158, we need charmcraft to update setuptools before installing the rest of the requirements in order to prevent a failure during the install of jinja2.

Cynerva commented 2 years ago

Marked as draft while I look into why it's still failing.

Cynerva commented 2 years ago

I played whack-a-mole with charmcraft and found a few other packages that are needed as well. Tests look to be passing now. Ready for review.