Currently all pip install tasks only require the package to be
present. This means that when an environment undergoes a minor
upgrade the package is not upgraded to the same version that
was tested with. This ultimately results in a deployed
environment that does not match the tested environment.
While for the services installed into venvs this is not an
issue, it does affect those which do not use venvs and any
packages which are installed outside of a venv or on top
of a venv.
This patch changes the behaviour to ensure that the install
task will always use the latest available package. In
developer_mode this will mean using the version specified
in upper-constraints, and in an integrated build this will
mean the version which is available in the wheel repo's
folder for the tag.
Related-Bug: 1596620
Change-Id: I320a4b8c1876cec12e85985288f084f7396e459b
(cherry picked from commit 14590f23eae9f826b1a82ae7d3fffb7de8207b13)
Reviewed: https:/ /review. openstack. org/340018 /git.openstack. org/cgit/ openstack/ openstack- ansible- galera_ client/ commit/ ?id=4f743109beb 5940877a2be6a9b ec0656e8af6c74
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 4f743109beb5940 877a2be6a9bec06 56e8af6c74
Author: Jesse Pretorius <email address hidden>
Date: Wed May 4 09:39:20 2016 +0100
Change pip install task state to 'latest'
Currently all pip install tasks only require the package to be
present. This means that when an environment undergoes a minor
upgrade the package is not upgraded to the same version that
was tested with. This ultimately results in a deployed
environment that does not match the tested environment.
While for the services installed into venvs this is not an
issue, it does affect those which do not use venvs and any
packages which are installed outside of a venv or on top
of a venv.
This patch changes the behaviour to ensure that the install
task will always use the latest available package. In
developer_mode this will mean using the version specified
in upper-constraints, and in an integrated build this will
mean the version which is available in the wheel repo's
folder for the tag.
Related-Bug: 1596620
Change-Id: I320a4b8c1876ce c12e85985288f08 4f7396e459b 6b1a82ae7d3fffb 7de8207b13)
(cherry picked from commit 14590f23eae9f82