Move python2 to python3 in DIST_PACKAGES

The change [1] updates the version of the libpython2.7-minimal,
libpython2.7-stdlib, python2.7 and python2.7-minimal packages, which
caused the build for the stx-openstackclients image to fail, as it
requires the `python-dev` package [2].

Since Python 2 is not used by any Openstack project anymore, this
package wasn't doing anything, so it's safe to upgrade it to the Python
3 version of the same package. This not only solves the build issue but
keeps the image coherent due to the reason mentioned in the beginning of
this paragraph.

[1] 55eebf2d6a
[2] https://opendev.org/starlingx/openstack-armada-app/src/branch/master/upstream/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image#L17

Test Plan:
PASS: Build stx-debian base image
PASS: Build stx-openstackclients image
PASS: Upload / apply stx-openstack
PASS: Manually upload built image to the system's registry and perform
      helm-override to use it in the clients containers
PASS: Issue Openstack commands for all CLIs and verify they're working:
      Cinder, Glance, Heat, Neutron, Nova and Openstack

Closes-Bug: 2043390

Change-Id: Id8d3b3572eefd7e8b0cdbd4b8c3129728647ede7
Signed-off-by: Lucas de Ataides <lucas.deataidesbarreto@windriver.com>
This commit is contained in:
Lucas de Ataides 2023-11-13 14:14:13 -03:00 committed by Lucas de Ataides Barreto
parent c133617339
commit dd70c154bf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ DIST_PACKAGES="
bash-completion \
libffi-dev \
openssl \
python-dev \
python3-dev \
python3-aodhclient \
python3-barbicanclient \
python3-cinderclient \