Merge "Use virtualenv_site_packages: true when using venv"

This commit is contained in:
Zuul 2022-11-25 11:25:10 +00:00 committed by Gerrit Code Review
commit 97939179e8
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@
name: "pip>=19.1.1"
virtualenv: "{{ workspace }}/venv_build"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
- name: Install deps from upper-constraints
when: zuul_internal is undefined
@ -25,6 +26,7 @@
requirements: "{{ openstack_git_root }}/{{ item }}/requirements.txt"
virtualenv: "{{ workspace }}/venv_build"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
with_items: "{{ upper_constraints_items }}"
- name: Install deps from requirements
@ -33,6 +35,7 @@
requirements: "{{ openstack_git_root }}/{{ item }}/requirements.txt"
virtualenv: "{{ workspace }}/venv_build"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
with_items: "{{ requirements_items }}"
- name: Installation from source
@ -40,6 +43,7 @@
name: "{{ source_items }}"
virtualenv: "{{ workspace }}/venv_build"
virtualenv_command: "{{ ensure_pip_virtualenv_command }}"
virtualenv_site_packages: true
- name: set template override
set_fact: