Force requests>=2.4.2 via wheelhouse.txt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Grafana Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
* requests python lib supports "json" argument from v2.4.2 onwards [1].
* grafana-charm uses the "json" arg but doesn't force a python3-requests version higher than v2.4.2 [2]
* Since the charm uses layer-basic [3], I think it should use wheelhouse.txt to enforce such versions [4]
1. https:/
2. https:/
3. https:/
4. https:/
wheelhouse.txt:
"""
requests>=2.4.2
"""
When I upgraded the lib manually, I also had to upgrade urllib3.
"""
cd /var/lib/
. bin/activate
pip install --upgrade pip
pip3 install requests --upgrade
deactivate
cd
restart jujud-unit-
"""
Related branches
- Stuart Bishop (community): Approve
-
Diff: 7 lines (+1/-0)1 file modifiedwheelhouse.txt (+1/-0)
Changed in grafana-charm: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in grafana-charm: | |
status: | Fix Committed → Fix Released |
I saw this issue in a trusty environment, so it's likely that newer Ubuntu series won't hit this bug.