Only try to install py2 dev libraries for py2 jobs

Change-Id: I744416ffaf245c278ebce6350854b99c0eed88e3
This commit is contained in:
Tim Burke 2024-01-23 11:06:29 -08:00
parent 2331c9abf2
commit 5c4176aaf7
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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