Add python-ldap deps for zuul test

Zuul tests are failing to build python-ldap due
to some missing binary pkg dependencies [1].
Added them using bindep following the solution
on the gui repo [2, 3]

[1] https://zuul.opendev.org/t/openstack/build/8356394372e24999b27e1a0251e1d919
[2] https://review.opendev.org/c/starlingx/gui/+/894397
[3] https://review.opendev.org/c/starlingx/gui/+/885834

Test Plan:
pass: tox --notest -epylint -vv --skip-missing-interpreters=false

Closes-Bug: 2036280

Change-Id: Ic1f38573d3ea344b3724bfd92a167bd209ebcea0
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
Leonardo Fagundes Luz Serrano 2023-09-15 14:48:13 -03:00
parent dae78f1f9e
commit a04fa768cd
3 changed files with 5 additions and 2 deletions

View File

@ -48,6 +48,7 @@
- starlingx/fault
- starlingx/config
vars:
bindep_profile: pylint
tox_envlist: pylint
- job:

View File

@ -1,3 +1,6 @@
libldap2-dev [pylint platform:dpkg]
libsasl2-dev [pylint platform:dpkg]
libssl-dev [pylint platform:dpkg]
libvirt-dev [platform:dpkg]
libvirt-devel [platform:redhat]
pkg-config [platform:dpkg]

View File

@ -1,6 +1,6 @@
[tox]
envlist = linters,pylint,pep8
minversion = 2.3
minversion = 4
skipsdist = True
toxworkdir = /tmp/{env:USER}_python_utilities_tox
stxdir = {toxinidir}/..
@ -114,5 +114,4 @@ commands =
{[testenv:sorted]commands}
[testenv:bandit]
basepython = python3
description = Dummy environment to allow bandit to be run in subdir tox