Merge "Always build wheels by default"
This commit is contained in:
commit
84f0a74e77
@ -122,9 +122,7 @@ venv_wheels_rebuild: no
|
|||||||
# If the package concerned is built from a tarball, rather
|
# If the package concerned is built from a tarball, rather
|
||||||
# than from a git source or pypi, then this may be best to
|
# than from a git source or pypi, then this may be best to
|
||||||
# set to false.
|
# set to false.
|
||||||
# Default: Enabled when more then 1 host with same arch/distro
|
venv_wheel_build_enable: True
|
||||||
# is in play
|
|
||||||
venv_wheel_build_enable: "{{ _venv_wheel_build_enable }}"
|
|
||||||
|
|
||||||
# Set the host where the wheels will be built.
|
# Set the host where the wheels will be built.
|
||||||
# If this host is not the same as the target host, then
|
# If this host is not the same as the target host, then
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
Default value of ``venv_wheel_build_enable`` has been changed to True.
|
||||||
|
Previously it was depending on amount of hosts targeted for the play.
|
@ -77,8 +77,6 @@ _venv_wheels_first_play_hosts: |
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ first_hosts }}
|
{{ first_hosts }}
|
||||||
|
|
||||||
_venv_wheel_build_enable: "{{ (_venv_wheels_play_hosts[ansible_facts['distribution_version'] ~ '_' ~ ansible_facts['architecture']] | length > 1) | bool }}"
|
|
||||||
|
|
||||||
_venv_pip_packages: "{{ (venv_default_pip_packages | union(venv_pip_packages)) | sort | select | list }}"
|
_venv_pip_packages: "{{ (venv_default_pip_packages | union(venv_pip_packages)) | sort | select | list }}"
|
||||||
|
|
||||||
_venv_build_dist_arch: "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}-{{ ansible_facts['distribution_version'].split('.')[:2] | join('.') }}-{{ ansible_facts['architecture'] | lower }}"
|
_venv_build_dist_arch: "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}-{{ ansible_facts['distribution_version'].split('.')[:2] | join('.') }}-{{ ansible_facts['architecture'] | lower }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user