Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin virtualenv pip package to pin installed binary #228

Merged
merged 1 commit into from Feb 29, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Pin virtualenv pip package to pin installed binary

A recent update of the virtualenv package changed the installed
binaries from `virtualenv` and `virtualenv-3.4`, to `virtualenv` and
`virtualenv-3.5`, breaking the homu installation which needs a python3
version of virtualenv. Pin the package to the newest version and update
the homu installation to use the virtualenv-3.5 binary.

Note: the python3 apt package still installs python3.4, but the version
difference should be ok since virtualenv is just used to install homu,
not run it.
  • Loading branch information
aneeshusa committed Feb 29, 2016
commit 2fe74b3d2714bb45cc0b41cfd157c0e6441c92a7
@@ -22,11 +22,12 @@ pip:
{% endif %}
- reload_modules: True
# Virtualenv package creates virtualenv and virtualenv-3.4 executables
# virtualenv == 14.0.6 package creates virtualenv and virtualenv-3.5 executables
# note that the version of the second may change between virtualenv versions
virtualenv:
pip.installed:
- pkgs:
- virtualenv
- virtualenv == 14.0.6
- require:
- pkg: pip
@@ -11,7 +11,7 @@ homu:
- user: servo
virtualenv.managed:
- name: /home/servo/homu/_venv
- venv_bin: virtualenv-3.4
- venv_bin: virtualenv-3.5
- python: python3
- system_site_packages: False
- require:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.