Skip to content

Commit

Permalink
Merge pull request canonical#167 from juju-solutions/bug/166/force-re…
Browse files Browse the repository at this point in the history
…install

Fix unversioned package update regression
  • Loading branch information
johnsca authored and George Kraft committed Jun 1, 2020
1 parent a7ad4f1 commit 955e853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/layer/basic.py
Expand Up @@ -176,8 +176,8 @@ def bootstrap_charm_deps():
# choose the best version in case there are multiple from layer
# conflicts)
pkgs = _load_wheelhouse_versions().keys() - set(pre_install_pkgs)
check_call([pip, 'install', '-U', '--ignore-installed', '--no-index',
'-f', 'wheelhouse'] + list(pkgs))
check_call([pip, 'install', '-U', '--force-reinstall', '--no-index',
'--no-cache-dir', '-f', 'wheelhouse'] + list(pkgs))
# re-enable installation from pypi
os.remove('/root/.pydistutils.cfg')

Expand Down

0 comments on commit 955e853

Please sign in to comment.