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
This commit is contained in:
Dmitriy Rabotyagov 2024-07-23 18:25:34 +02:00
parent f432c87744
commit b979615635

View File

@ -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