[galaxyproject/ansible-galaxy] 6770ed: Indicate Python version used for creating virtuale...
Branch: refs/heads/master Home: https://github.com/galaxyproject/ansible-galaxy Commit: 6770ed3824b16954a289f9fa9dd79451280795c5 https://github.com/galaxyproject/ansible-galaxy/commit/6770ed3824b16954a289f... Author: Sergey Golitsynskiy <sgolitsynskiy@gmail.com> Date: 2018-11-26 (Mon, 26 Nov 2018) Changed paths: M tasks/virtualenv.yml Log Message: ----------- Indicate Python version used for creating virtualenv Add virtualenv_python parameter to pip module in virtualenv.yml. Rationale: if this parameter is not specified, on some systems Python 3 will be used instead of the required Python 2. According to Ansible's docs, "When not specified, the Python version used to run the ansible module is used" (pip module). However, reagadless what Python executable is used to run Ansible, the pip module will [call virtualenv](https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/packaging/...) *without* the ```--python``` option, thus causing virtualenv to use ["the interpreter that virtualenv was installed with."](https://virtualenv.pypa.io/en/latest/reference/#cmdoption-p), which could be Python 3 (as was the case with my local system). Commit: 48448b280236749f4a2f33e898abdcd22093e835 https://github.com/galaxyproject/ansible-galaxy/commit/48448b280236749f4a2f3... Author: Nate Coraor <nate@bx.psu.edu> Date: 2019-01-25 (Fri, 25 Jan 2019) Changed paths: M tasks/virtualenv.yml Log Message: ----------- Merge pull request #46 from ic4f/dev Indicate Python version used for creating virtualenv Compare: https://github.com/galaxyproject/ansible-galaxy/compare/71e06e5a8e2b...48448... **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ We will provide an alternative path for the email notifications by January 31st, 2019.
participants (1)
-
GitHub