From cacaf3e6d12a9cd05e50b769fb3f0f9142271885 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 6 Sep 2023 09:31:06 +0200 Subject: [PATCH] Fix bindep.txt for python 3.11 job(Debian Bookworm) Python 3.11 job run on Debian Bookworm which does not have the mysql pkg for example, libmysqlclient-dev instead they have mariadb. Updating bindep.txt file to adjust the pkgs as per Debian bookworm. Based on [1] [1]: https://review.opendev.org/c/openstack/placement/+/893821 Change-Id: I18951908a1bea5f9f266382e8c7bfa91a5e6f38f --- bindep.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bindep.txt b/bindep.txt index 55d97b80b7..3af7f7c3b4 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,8 +1,8 @@ # This is a cross-platform list tracking distribution packages needed for install and tests; # see https://docs.openstack.org/infra/bindep/ for additional information. -mysql-server [platform:dpkg] -mariadb-server [platform:redhat] +mysql-server [platform:dpkg !platform:debian] +mariadb-server [platform:redhat platform:debian] postgresql build-essential [platform:dpkg] @@ -12,9 +12,10 @@ libxslt1-dev [platform:dpkg] libyaml-dev [platform:dpkg] libssl-dev [platform:dpkg] libffi-dev [platform:dpkg] -libmysqlclient-dev [platform:dpkg] +libmysqlclient-dev [platform:ubuntu] +libmariadb-dev-compat [platform:debian] libpq-dev [platform:dpkg] -mysql-client [platform:dpkg] +mysql-client [platform:dpkg !platform:debian] postgresql-client [platform:dpkg] gcc [platform:rpm]