canonical / canonical/ops-reactive-interface

Entry points don't work in reactive K8s operator charms

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Reactive K8s charms currently don't work due to the way [`layer:caas-base`](https://github.com/juju-solutions/layer-caas-base) [manages dependencies and builds the "venv"](https://github.com/juju-solutions/layer-caas-base/blob/master/tactics/wheelhouse.py). This layer needs to be updated to:
* Include the [combined `wheelhouse.txt` processing](https://github.com/juju/charm-tools/pull/569) that was added to `charm-tools`
* Construct the "venv" in the [same way as `charmcraft`](https://github.com/canonical/charmcraft/blob/master/charmcraft/commands/build.py#L239-L280) such that the package metadata is preserved so that entry points work

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.