make build is using charmcraft python pkg in tox and failed for missing dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-cloudstats |
Fix Released
|
Medium
|
Joe Guo |
Bug Description
Currently charm build is triggered via:
make build -> tox -e build -> charmcraft python pkg in venv
The charmcraft python pkg deps on python3-apt, and then python3-
build will fail for missing `DistUtilsExtra` since it only has deb pkg but no python pkg:
```
ERROR: Command errored out with exit status 1:
command: /home/guoqiao/
cwd: /tmp/pip-
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-
from DistUtilsExtra.
ModuleNotFoun
```
We may need to switch to snap to avoid this issue.
Related branches
- Celia Wang: Approve
- John Lettman (community): Approve
-
Diff: 30 lines (+2/-6)2 files modifiedMakefile (+2/-2)
tox.ini (+0/-4)
Changed in charm-cloudstats: | |
status: | New → Confirmed |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Joe Guo (guoqiao) |
summary: |
- make build is using charmcraft python pkg in tox and failedn for missing + make build is using charmcraft python pkg in tox and failed for missing dependency |
Changed in charm-cloudstats: | |
status: | In Progress → Fix Committed |
Changed in charm-cloudstats: | |
status: | Fix Committed → Fix Released |