Set the base_python version to 3.11

After moving in the container images to newer base system - Centos 9
Stream, we could also increase the Python version to be newer.

Change-Id: I67d7286ff0333849547cad882e854a8d952bb0db
This commit is contained in:
Daniel Pawlik 2024-03-06 09:45:47 +01:00
parent 3848e24c0a
commit acb9430024
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

@ -53,7 +53,7 @@
dependencies:
- name: openstack-tox-pep8
soft: true
- name: openstack-tox-py39
- name: openstack-tox-py311
soft: true
- name: ci-log-processing-functional-test-centos-9-stream-sender
soft: true
@ -68,14 +68,14 @@
jobs:
- openstack-tox-linters
- openstack-tox-pep8
- openstack-tox-py39
- openstack-tox-py311
- ci-log-processing-build-image
- ci-log-processing-functional-test-centos-9-stream-sender
gate:
jobs:
- openstack-tox-linters
- openstack-tox-pep8
- openstack-tox-py39
- openstack-tox-py311
- ci-log-processing-functional-test-centos-9-stream-sender
- ci-log-processing-build-image
post:

@ -22,16 +22,16 @@ RUN groupadd logscraper --gid 1000 && \
useradd --home-dir /home/logscraper --gid 1000 --uid 1000 logscraper
RUN dnf update -y && \
dnf install -y python python-setuptools \
python-devel python-pip git
dnf install -y python3.11 python3.11-setuptools \
python3.11-devel python3.11-pip git gcc
COPY . /tmp/src
RUN cd /tmp/src && \
pip3 install -r requirements.txt && \
python3 setup.py install && \
pip3.11 install -r requirements.txt && \
python3.11 setup.py install && \
rm -rf /tmp/src
RUN dnf remove -y python3-devel git && \
RUN dnf remove -y python3.11-devel git gcc && \
dnf autoremove -y && \
dnf clean all && \
rm -rf ~/.cache/pip