⬆️ (python) upgrade to Python 3.14.3

Bumping base image to avoid reported vulnerabilities.
This commit is contained in:
Jonathan Perret
2026-02-27 16:22:33 +01:00
parent f9efafd574
commit 9994eb84b0
4 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
python-version: '3.14'
- name: Install development dependencies
run: |
# Python's xmlsec requirement
@@ -93,7 +93,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
python-version: '3.14'
- name: Install development dependencies
run: |
# Python's xmlsec requirement
+6 -2
View File
@@ -1,13 +1,17 @@
# ---- base image to inherit from ----
FROM python:3.11.12-slim-bookworm AS common
FROM python:3.14.3-slim-trixie AS common
# Install xmlsec1 dependencies required for xmlsec (for SAML)
# Needs to be kept before the `pip install`
RUN apt-get update && \
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -qy --no-install-recommends xmlsec1 && \
rm -rf /var/lib/apt/lists/*
# Silence pip warnings about running as root in a container
ENV PIP_ROOT_USER_ACTION=ignore
# We want the most up-to-date stable pip release
RUN pip install --upgrade pip
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.14
COPY . /app
+4 -6
View File
@@ -11,13 +11,14 @@ version = "0.1.0"
authors = [{ "name" = "DINUM", "email" = "dev@mail.numerique.gouv.fr" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.14",
]
description = "An application to handle contacts and teams."
description = "A gateway from RENATER's FER to ProConnect's OIDC provider, built on top of SATOSA."
keywords = ["OIDC", "SAML", "Shibboleth", "FER", "RENATER"]
license = { file = "LICENSE" }
readme = "README.md"
@@ -49,9 +50,6 @@ dev = [
packages = { find = { where = ["."], exclude = ["tests"] } }
zip-safe = true
[tool.distutils.bdist_wheel]
universal = true
[tool.ruff]
exclude = [
".git",