A charm using the current layer-basic with use_venv: false in layer.yaml will fail deployment on bionic; An automatically-added dependency will cause pip3 to attempt to update PyYAML to the version available in the wheelhouse (5.2), trying to replace version 3.12 automatically installed from apt, which will fail.
It seems the --force-reinstall from commit f8629dbe4eba480677eb613f218f8a0a384709e4 caused a regression for the fixes committed in issues #146 and #147.
A charm using the current layer-basic with
use_venv: false
in layer.yaml will fail deployment on bionic; An automatically-added dependency will cause pip3 to attempt to update PyYAML to the version available in the wheelhouse (5.2), trying to replace version 3.12 automatically installed from apt, which will fail.It seems the
--force-reinstall
from commit f8629dbe4eba480677eb613f218f8a0a384709e4 caused a regression for the fixes committed in issues #146 and #147.A minimal layer.yaml to trigger the issue is:
There is a minimal charm demo'ing this issue in: https://git.launchpad.net/~aittner/+git/no-venv-poc
juju debug-log