Charm does not support jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Introspection Proxy Charm |
New
|
Undecided
|
Unassigned |
Bug Description
The charm's metadata does not include jammy but if you install it as focal you can related it to jammy units.
When you do so, the install hook fails with:
error in Tempita setup command: use_2to3 is invalid.
Full hook execution at the end.
If I comment out use_2to3 in setyp.py inside the Tempita tarball, it gets past that but then says:
ERROR could not download resource: HTTP request failed: Get https:/
I am not sure if the resource issue is related to the charm or to the last time the charm was registered with charmstore (since we've seen resource issues recently). Modifying _resource_get in lib/charms/
root@juju-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (22.0.2+dfsg-1).
python3-wheel is already the newest version (0.37.1-2).
build-essential is already the newest version (12.9ubuntu3).
python3-setuptools is already the newest version (59.6.0-1.2).
python3-yaml is already the newest version (5.4.1-1ubuntu1).
python3-dev is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Looking in links: wheelhouse
Requirement already satisfied: pip in /var/lib/
Looking in links: wheelhouse
Requirement already satisfied: setuptools in /var/lib/
Looking in links: wheelhouse
Requirement already satisfied: setuptools-scm in /var/lib/
Looking in links: wheelhouse
Processing ./wheelhouse/
Preparing metadata (setup.py) ... done
Processing ./wheelhouse/
Preparing metadata (setup.py) ... done
Processing ./wheelhouse/
Preparing metadata (setup.py) ... done
Processing ./wheelhouse/
Preparing metadata (setup.py) ... done
Processing ./wheelhouse/
Preparing metadata (setup.py) ... done
Processing ./wheelhouse/
Preparing metadata (setup.py) ... error
error: subprocess-
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in Tempita setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Traceback (most recent call last):
File "/var/lib/
basic.
File "/var/lib/
check_
File "/usr/lib/
raise CalledProcessEr
subprocess.