Use virtualenv in translation update jobs
"python3.8 -m venv" is not working as python3.8-venv
is not installed due to an issue mentioned in [1], let's
switch to "virtualenv" command that supports -p option
to pass required python version.
[1]
# ubuntu-bionic don't have python 3.9
python_version: 3.8
# ubuntu-bionic default python is 3.6 and master upper-constraints are not compatible with it
- ensure_pip_virtualenv_command: "/usr/bin/python3.8 -m venv"
+ ensure_pip_virtualenv_command: "virtualenv -p python3.8"
constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
required-projects:
- openstack/horizon
# ubuntu-bionic don't have python 3.9
python_version: 3.8
# ubuntu-bionic default python is 3.6 and master upper-constraints are not compatible with it
- ensure_pip_virtualenv_command: "/usr/bin/python3.8 -m venv"
+ ensure_pip_virtualenv_command: "virtualenv -p python3.8"
constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
semaphores: translations
protected: true
