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:
@@ -53,7 +53,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: openstack-tox-pep8
|
- name: openstack-tox-pep8
|
||||||
soft: true
|
soft: true
|
||||||
- name: openstack-tox-py39
|
- name: openstack-tox-py311
|
||||||
soft: true
|
soft: true
|
||||||
- name: ci-log-processing-functional-test-centos-9-stream-sender
|
- name: ci-log-processing-functional-test-centos-9-stream-sender
|
||||||
soft: true
|
soft: true
|
||||||
@@ -68,14 +68,14 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- openstack-tox-pep8
|
- openstack-tox-pep8
|
||||||
- openstack-tox-py39
|
- openstack-tox-py311
|
||||||
- ci-log-processing-build-image
|
- ci-log-processing-build-image
|
||||||
- ci-log-processing-functional-test-centos-9-stream-sender
|
- ci-log-processing-functional-test-centos-9-stream-sender
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- openstack-tox-pep8
|
- openstack-tox-pep8
|
||||||
- openstack-tox-py39
|
- openstack-tox-py311
|
||||||
- ci-log-processing-functional-test-centos-9-stream-sender
|
- ci-log-processing-functional-test-centos-9-stream-sender
|
||||||
- ci-log-processing-build-image
|
- ci-log-processing-build-image
|
||||||
post:
|
post:
|
||||||
|
10
Dockerfile
10
Dockerfile
@@ -22,16 +22,16 @@ RUN groupadd logscraper --gid 1000 && \
|
|||||||
useradd --home-dir /home/logscraper --gid 1000 --uid 1000 logscraper
|
useradd --home-dir /home/logscraper --gid 1000 --uid 1000 logscraper
|
||||||
|
|
||||||
RUN dnf update -y && \
|
RUN dnf update -y && \
|
||||||
dnf install -y python python-setuptools \
|
dnf install -y python3.11 python3.11-setuptools \
|
||||||
python-devel python-pip git
|
python3.11-devel python3.11-pip git gcc
|
||||||
|
|
||||||
COPY . /tmp/src
|
COPY . /tmp/src
|
||||||
RUN cd /tmp/src && \
|
RUN cd /tmp/src && \
|
||||||
pip3 install -r requirements.txt && \
|
pip3.11 install -r requirements.txt && \
|
||||||
python3 setup.py install && \
|
python3.11 setup.py install && \
|
||||||
rm -rf /tmp/src
|
rm -rf /tmp/src
|
||||||
|
|
||||||
RUN dnf remove -y python3-devel git && \
|
RUN dnf remove -y python3.11-devel git gcc && \
|
||||||
dnf autoremove -y && \
|
dnf autoremove -y && \
|
||||||
dnf clean all && \
|
dnf clean all && \
|
||||||
rm -rf ~/.cache/pip
|
rm -rf ~/.cache/pip
|
||||||
|
Reference in New Issue
Block a user