Merge "Only install devel packages during python_venv_build"

This commit is contained in:
Zuul 2020-09-21 16:07:41 +00:00 committed by Gerrit Code Review
commit 5cdf4bb9f8
4 changed files with 16 additions and 8 deletions

View File

@ -70,6 +70,7 @@
vars:
venv_python_executable: "{{ magnum_venv_python_executable }}"
venv_build_constraints: "{{ magnum_git_constraints }}"
venv_build_distro_package_list: "{{ magnum_devel_distro_packages }}"
venv_install_destination_path: "{{ magnum_bin | dirname }}"
venv_install_distro_package_list: "{{ magnum_distro_packages }}"
venv_pip_install_args: "{{ magnum_pip_install_args }}"

View File

@ -16,9 +16,11 @@
## APT Cache options
cache_timeout: 600
# Common apt packages
magnum_distro_packages:
- python-dev
magnum_distro_packages: []
# Packages for buildind the python wheels
magnum_devel_distro_packages:
- python3-dev
- libssl-dev
- libxml2-dev
- libxslt-dev

View File

@ -13,9 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Common apt packages
magnum_distro_packages:
- "{{ ansible_distribution_major_version is version('8', '<') | ternary('python-devel', 'python36-devel') }}"
# Common packages
magnum_distro_packages: []
# Packages for building the python wheels
magnum_devel_distro_packages:
- python36-devel
- openssl-devel
- libxml2-devel
- libxslt-devel

View File

@ -14,8 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Common zypper packages
magnum_distro_packages:
magnum_distro_packages: []
# Packages for buildind the python wheels
magnum_devel_distro_packages:
- python-devel
- libopenssl-devel
- libxml2-devel