Remove requirement on pypi repositories for installation
Bug #1943093 reported by
Jose Guedez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-juju-lint |
Fix Released
|
High
|
Jose Guedez |
Bug Description
Currently the charm creates a virtual environment for the cronjob scripts to run into (mainly for the libjuju dependency). This means that on charm deployment the units need connectivity to pypi for installation.
Due to security implications many environments restrict access to external repositories, so ideally the charm should be able to be installed without them.
The charmcraft tooling has the capability to bundle dependencies, so the charm should use that instead.
Related branches
~jfguedez/charm-juju-lint:bug/1943093
- BootStack Reviewers: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 316 lines (+49/-124)6 files modifiedlib/lib_jujulint.py (+15/-54)
requirements.txt (+1/-0)
scripts/templates/auto_lint.py (+10/-7)
src/charm.py (+0/-1)
tests/unit/test_auto_lint.py (+3/-3)
tests/unit/test_charm.py (+20/-59)
Changed in charm-juju-lint: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Jose Guedez (jfguedez) |
Changed in charm-juju-lint: | |
status: | Confirmed → In Progress |
Changed in charm-juju-lint: | |
status: | In Progress → Fix Committed |
Changed in charm-juju-lint: | |
status: | Fix Committed → Fix Released |
milestone: | none → 21.10 |
To post a comment you must log in.