You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip_install and other related utilities in charmhelpers.fetch.python [0] should handle the special juju proxy variables JUJU_CHARM_*_PROXY [1]
It seems like this has already been done in other relevant parts of the library [2]. We can use the same approach and leverage the added helpers like env_proxy_settings for the python package utilities. pip_install does have a proxy option, but it would be ideal to handle it in the library according to best practices instead of having to repeat this on each charm.
The text was updated successfully, but these errors were encountered:
jguedez
changed the title
charmhelpers.fetch.python.pip_install should use the handle the juju proxy variables JUJU_CHARM_*_PROXY
charmhelpers.fetch.python.pip_install should use the juju proxy variables JUJU_CHARM_*_PROXY
Jun 30, 2021
pip_install
and other related utilities incharmhelpers.fetch.python
[0] should handle the special juju proxy variables JUJU_CHARM_*_PROXY [1]It seems like this has already been done in other relevant parts of the library [2]. We can use the same approach and leverage the added helpers like
env_proxy_settings
for the python package utilities.pip_install
does have aproxy
option, but it would be ideal to handle it in the library according to best practices instead of having to repeat this on each charm.[0] https://github.com/juju/charm-helpers/blob/master/charmhelpers/fetch/python/packages.py#L85
[1] https://discourse.charmhub.io/t/command-model-config/1768
[2] #248
The text was updated successfully, but these errors were encountered: