We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0151e80 + cb4a1d3 commit 3842651Copy full SHA for 3842651
playbooks/roles/bifrost-pip-install/tasks/main.yml
@@ -45,9 +45,7 @@
45
retries: "{{ pip_install_retries }}"
46
delay: "{{ pip_install_delay }}"
47
when: not source_install | bool
48
- environment:
49
- # NOTE(dtantsur): https://github.com/pypa/setuptools/issues/2353
50
- SETUPTOOLS_USE_DISTUTILS: stdlib
+ environment: "{{ (bifrost_venv_env | combine({'SETUPTOOLS_USE_DISTUTILS': 'stdlib'})) if ansible_facts.python_version is version('3.12', '<') else bifrost_venv_env }}"
51
52
- name: "Install requirements from {{ sourcedir }} using pip"
53
pip:
0 commit comments