From b979615635f2e90210d760bb4c65495452532b0f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 23 Jul 2024 18:25:34 +0200 Subject: [PATCH] Don't use local pip cache when re-building wheels USage of pip cache on the deploy host might result in not re-building wheels from scratch, which might be the intention, but just pulling in cached version from ${HOME}/.cache/pip Change-Id: I17975bec3e1a4cc225e4e7e7f50ef7e2ee117165 --- tasks/python_venv_wheel_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/python_venv_wheel_build.yml b/tasks/python_venv_wheel_build.yml index b217e87..3316cbf 100644 --- a/tasks/python_venv_wheel_build.yml +++ b/tasks/python_venv_wheel_build.yml @@ -124,6 +124,7 @@ --find-links {{ venv_build_host_wheel_path }}/ --log /var/log/python_wheel_build.log {{ venv_pip_build_args }} + {{ venv_wheels_rebuild | ternary('--no-cache-dir', '') }} environment: "{{ venv_pip_build_env }}" register: _build_python_wheels until: _build_python_wheels is success