[FIX] pip install type: require 'pip >= 9.0.1' to not trigger 'changed' event on each playbook execution #80
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
The task "Install Odoo dependencies (PyPi)" was installing
pip==9.0.1
as specified in theodoo_pip_dependencies
while the next task "Install Odoo from pip external requirements file" force the installation ofpip
9.0.2 which has been released a couple a days (https://pypi.python.org/pypi/pip/9.0.2) resulting in a "changed" state.All Odoo releases seems affected on Debian Jessie, Ubuntu Trusty and Ubuntu Xenial (not Debian Stretch which already provides
pip>=9
).Errors available on Travis: https://travis-ci.org/OCA/ansible-odoo/builds/355308939
Fix:
Install
pip>=9.0.1
(the 9.0.2 should be installed in new environnements, while the existing ones will be upgraded topip==9.0.2
when executing the "Install Odoo from pip external requirements file" task.ping @jbeficent