Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use python 3.13 #1105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.12.3
ARG PYTHON_VERSION=3.13
FROM python:${PYTHON_VERSION}-slim AS builder

COPY . /src
Expand All @@ -22,9 +22,9 @@ apt-get install -y --no-install-recommends \
mkdir /wheels
python3 -m pip --no-cache-dir install -U 'pip==24.2'
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels -r /src/requirements.txt
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels -r /src/requirements.ansible.txt
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels -r /src/requirements.openstack-image-manager.txt
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels -r /src/requirements.openstack-flavor-manager.txt
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'ansible-core==2.17.5'
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'openstack-image-manager==0.20240906.0'
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'openstack-flavor-manager==0.20240904.0'

# install openstack-project-manager
git clone --depth 1 https://github.com/osism/openstack-project-manager.git /openstack-project-manager
Expand Down Expand Up @@ -67,14 +67,16 @@ apt-get install -y --no-install-recommends \
less \
openssh-client \
procps \
tini
tini \
build-essential \
gcc

# install python packages
python3 -m pip --no-cache-dir install -U 'pip==24.2'
python3 -m pip --no-cache-dir install --no-index --find-links=/wheels -r /src/requirements.txt
python3 -m pip --no-cache-dir install --no-index --find-links=/wheels -r /src/requirements.ansible.txt
python3 -m pip --no-cache-dir install --no-index --find-links=/wheels -r /src/requirements.openstack-image-manager.txt
python3 -m pip --no-cache-dir install --no-index --find-links=/wheels -r /src/requirements.openstack-flavor-manager.txt
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'ansible-core==2.17.5'
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'openstack-image-manager==0.20240906.0'
python3 -m pip wheel --no-cache-dir --wheel-dir=/wheels 'openstack-flavor-manager==0.20240904.0'

# install python-osism
python3 -m pip --no-cache-dir install --no-index /src
Expand Down
2 changes: 0 additions & 2 deletions requirements.ansible.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.openstack-flavor-manager.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.openstack-image-manager.txt

This file was deleted.