Removal of venv_build_host_wheel_path leads to all wheels for all
services being dropped which results in other role brokeness
since we build wheels only when requirements or constraints
file is changed. Also we technically don't need to clean it up, since
removal of just rest of the files will lead to wheels being rebuild.
This change should make usage venv_rebuild safe and not breaking wheels
for all services rather then single one.
Change-Id: I6bbe66b699ce5ab245bb9779b61b5c4625eba927
Related-Bug: #1914301
(cherry picked from commit 9e7877d55af8088533f623deccfa8f3b48dfc398)
Reviewed: https:/ /review. opendev. org/c/openstack /ansible- role-python_ venv_build/ +/773973 /opendev. org/openstack/ ansible- role-python_ venv_build/ commit/ fe05e23fcfebbc6 ad960b85c78ee80 8549578b97
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit fe05e23fcfebbc6 ad960b85c78ee80 8549578b97
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Feb 3 20:37:44 2021 +0200
Do not drop all wheels with venv_rebuild
Removal of venv_build_ host_wheel_ path leads to all wheels for all
services being dropped which results in other role brokeness
since we build wheels only when requirements or constraints
file is changed. Also we technically don't need to clean it up, since
removal of just rest of the files will lead to wheels being rebuild.
This change should make usage venv_rebuild safe and not breaking wheels
for all services rather then single one.
Change-Id: I6bbe66b699ce5a b245bb9779b61b5 c4625eba927 533f623deccfa8f 3b48dfc398)
Related-Bug: #1914301
(cherry picked from commit 9e7877d55af8088