From 5c4176aaf73b692ee3cce4ceba5261e242c956b3 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 23 Jan 2024 11:06:29 -0800 Subject: [PATCH] Only try to install py2 dev libraries for py2 jobs Change-Id: I744416ffaf245c278ebce6350854b99c0eed88e3 --- .zuul.yaml | 1 + bindep.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 278ffab8f6..0d03045e80 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -24,6 +24,7 @@ tools/test-setup.sh. vars: tox_envlist: py27 + bindep_profile: test py27 python_version: 2.7 post-run: tools/playbooks/common/cover-post.yaml diff --git a/bindep.txt b/bindep.txt index fd57584c81..817ec56301 100644 --- a/bindep.txt +++ b/bindep.txt @@ -17,8 +17,8 @@ libxslt-devel [platform:rpm] libxslt1-dev [platform:dpkg] libxslt-dev [platform:apk] memcached -python-dev [platform:dpkg platform:apk !platform:ubuntu-jammy] -python-devel [platform:rpm !py36] +python-dev [py27 platform:dpkg platform:apk !platform:ubuntu-jammy] +python-devel [py27 platform:rpm] python3-dev [platform:dpkg platform:apk test] python3-devel [platform:rpm !py27 test] # python3-devel does not pull in the python3 package on openSUSE so