Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbuildbot-master needs python3 #142
Closed
Comments
|
We might run into saltstack/salt#5494 with Salt. One workaround would be to create the virtualenv, with the flags telling it to use python3, through a shell command. |
|
Huh. It worked for us, the current salt configuration just says "virtualenv.managed, but use the binary called |
aneeshusa
added a commit
to aneeshusa/servo-saltfs
that referenced
this issue
Nov 4, 2015
- Trusty comes with python3, pip and virtualenv by default, but write states defensively to install these dependencies as required and require the pip or virtualenv states as used by other states. - Homu requires a python3 toolchain, use virtualenv-3.4 and pass python: python3 to get the correct setup (including pip3 inside the venv). - Update the style guide example to use pkg.installed instead of pip.installed to avoid muddling it with a require: pip. Fixes servo#142.
aneeshusa
added a commit
to aneeshusa/servo-saltfs
that referenced
this issue
Nov 4, 2015
- Trusty comes with python3, pip and virtualenv by default, but write states defensively to install these dependencies as required and require the pip or virtualenv states as used by other states. - Homu requires a python3 toolchain, use virtualenv-3.4 and pass python: python3 to get the correct setup (including pip3 inside the venv). - Update the style guide example to use pkg.installed instead of pip.installed to avoid muddling it with a require: pip. Fixes servo#142.
aneeshusa
added a commit
to aneeshusa/servo-saltfs
that referenced
this issue
Feb 11, 2016
- Trusty comes with python3, pip and virtualenv by default, but write states defensively to install these dependencies as required and require the pip or virtualenv states as used by other states. - Homu requires a python3 toolchain, use virtualenv-3.4 and pass python: python3 to get the correct setup (including pip3 inside the venv). - Update the style guide example to use pkg.installed instead of pip.installed to avoid muddling it with a require: pip. Fixes servo#142.
aneeshusa
added a commit
to aneeshusa/servo-saltfs
that referenced
this issue
Feb 11, 2016
- Trusty comes with python3, pip and virtualenv by default, but write states defensively to install these dependencies as required and require the pip or virtualenv states as used by other states. - Homu requires a python3 toolchain, use virtualenv-3.4 and pass python: python3 to get the correct setup (including pip3 inside the venv). - Update the style guide example to use pkg.installed instead of pip.installed to avoid muddling it with a require: pip. Fixes servo#142.
bors-servo
added a commit
that referenced
this issue
Feb 11, 2016
…rgstrom Standardize python setup, ensure homu gets python3 - Trusty comes with python3, pip and virtualenv by default, but write states defensively to install these dependencies as required and require the pip or virtualenv states as used by other states. - Homu requires a python3 toolchain, use virtualenv-3.4 and pass python: python3 to get the correct setup (including pip3 inside the venv). - Update the style guide example to use pkg.installed instead of pip.installed to avoid muddling it with a require: pip. Fixes #142. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/148) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Homu only works on a python3 toolchain. Our salt configuration does not autoinstall this.
Homu worked so far because it somehow had a python3 virtualenv with everything it needed, without a global install of any of the python3 tools.
Specifically, we need:
We can do the former with a
- require: - pkg:key inhomu.slssomewhere.I'm not sure how to indicate a pip3-specific dependency, though. Perhaps something with
bin_env?We also need to make sure that the pip/python/virtualenv setup does not make 3.4 the default for the
pip/python/virtualenvbinaries. Installing them as shown above seemed to preserve the default, but I'm not sure if that's something we can rely on.cc @edunham @larsbergstrom