Install blocked by old version of `pip`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-duplicity |
Fix Committed
|
Undecided
|
Robert Gildein |
Bug Description
The `install` hook fails due to an old version of `pip`.
When installing "fabric" via pip, the dependency "cryptography" fails with a message stating the version of pip is too old and a traceback as follows: [0]
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/var/lib/
from setuptools_rust import RustExtension
ModuleNotFo
The `install` hook succeeds when the modification for bug 1968366 is applied alongside an upgrade of pip as follows:
$ python -m pip install --upgrade pip
If possible, the charm needs to ensure the supported version of pip is available for the dependencies it intends to install during the `install` hook.
Related branches
- Ramesh Sattaru (community): Approve
- Erhan Sunar (community): Approve
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
-
Diff: 16 lines (+2/-2)1 file modifiedsrc/layer.yaml (+2/-2)
description: | updated |
tags: | added: bseng-1397 |
Changed in charm-duplicity: | |
status: | In Progress → Fix Committed |
milestone: | none → 23.10 |
If this is a charmcraft-built charm, this is easy to fix. I've done this for a few charms already.
See here: https:/ /discourse. charmhub. io/t/install- or-update- python- packages- before- packing- a-charm/ 5158