install hook fails due to incompatible setuptools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
Fix Released
|
High
|
Kevin W Monroe | ||
Canal Charm |
Fix Released
|
High
|
Kevin W Monroe | ||
Tigera Secure EE Charm |
Fix Released
|
High
|
Kevin W Monroe |
Bug Description
Canal and calico rely on the 'conctl' package, which relies on click:
https:/
The 'click' package was upgraded to 8.x in the last couple weeks:
https:/
Among other things, this brings in 'importlib-
https:/
This is incompatible with the pin from `layer-basic`:
https:/
This results in an install hook failure like this:
2021-05-26 22:00:21 DEBUG install Installing build dependencies: started
2021-05-26 22:00:23 WARNING install ERROR: Command errored out with exit status 1:
2021-05-26 22:00:23 WARNING install command: /var/lib/
2021-05-26 22:00:23 WARNING install cwd: None
2021-05-26 22:00:23 WARNING install Complete output (3 lines):
2021-05-26 22:00:23 WARNING install Looking in links: wheelhouse
2021-05-26 22:00:23 WARNING install ERROR: Could not find a version that satisfies the requirement setuptools>=42 (from versions: 41.6.0)
2021-05-26 22:00:23 WARNING install ERROR: No matching distribution found for setuptools>=42
We need to set a 'click<8.0' pin in both canal and calico to keep 'setuptools' at a usable rev.
Changed in charm-calico: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
Changed in charm-canal: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
Changed in charm-calico: | |
milestone: | none → 1.21+ck2 |
Changed in charm-canal: | |
milestone: | none → 1.21+ck2 |
Changed in charm-calico: | |
importance: | Undecided → High |
Changed in charm-canal: | |
importance: | Undecided → High |
Changed in charm-calico: | |
status: | New → In Progress |
Changed in charm-canal: | |
status: | New → In Progress |
Changed in charm-tigera-secure-ee: | |
importance: | Undecided → High |
Changed in charm-tigera-secure-ee: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
milestone: | none → 1.21+ck2 |
Changed in charm-tigera-secure-ee: | |
status: | New → Triaged |
Changed in charm-tigera-secure-ee: | |
status: | Triaged → In Progress |
Reviewed PRs:
https:/ /github. com/charmed- kubernetes/ layer-canal/ pull/62 /github. com/charmed- kubernetes/ layer-calico/ pull/69 /github. com/charmed- kubernetes/ layer-tigera- secure- ee/pull/ 34
https:/
https:/