Python dependencies should be embedded in the wheelhouse in
preference to apt packages, so that charms using the default
charms.reactive venv setup can find them.
Python dependencies should be embedded in the wheelhouse in
preference to apt packages, so that charms using the default
charms.reactive venv setup can find them.
[cjwatson, r=timkuhlman] Strip trailing newlines from promreg_authtoken
It's convenient to include the key from a secrets directory using
juju-deployer's `include-file:` syntax, but that tends to leave any
trailing newline from the secret file in the configuration, which breaks
with an "Invalid header value" exception in `http.client`. Stripping
the newline here is a bit friendlier.
It's convenient to include the key from a secrets directory using
juju-deployer's `include-file:` syntax, but that tends to leave any
trailing newline from the secret file in the configuration, which breaks
with an "Invalid header value" exception in `http.client`. Stripping
the newline here is a bit friendlier.