From 03aa2f36065592399fd91365c0be5d8d4bde6553 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 16:16:01 +0000 Subject: [PATCH 1/2] chore(deps): update python docker tag to v3.15 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f08b47..bbf66ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # The full image builds wheels, including any locked package that ships only # as a source distribution. Its compilers and libraries stay out of the runtime. -FROM python:3.14@sha256:e5de6bc932256f8138c2353023dc4fd24d010d72f6b5cb06be126f0a4cd53784 AS build +FROM python:3.15@sha256:46837ed3105db0029b6d656816185c6258e3b39690532fb782428e0a5fd76182 AS build ENV PYTHONDONTWRITEBYTECODE=1 \ PIP_DISABLE_PIP_VERSION_CHECK=1 @@ -17,7 +17,7 @@ COPY orthanc_tools/ ./orthanc_tools/ COPY LICENSE.txt MANIFEST.in pyproject.toml README.md setup.cfg setup.py requirements.txt ./ RUN python -m build --no-isolation --wheel --outdir /wheels/runtime . -FROM python:3.14-slim@sha256:9aaa474097d094040649f2162a627c0049b408f52138d980916788d80f04802f +FROM python:3.15-slim@sha256:65a65fc7b30b06cb6df4930fd4650697cb23f4c2698ab81fc87e4b031bc36928 ARG VCS_REF=unknown LABEL org.opencontainers.image.source="https://github.com/rczobor/python-orthanc-tools" \ From c3672f08061c9dab2a23bca5defbcbf2236fb93e Mon Sep 17 00:00:00 2001 From: rczobor Date: Sun, 22 Nov 2026 18:01:48 +0100 Subject: [PATCH 2/2] chore: finish the Python 3.15 runtime upgrade CI now tests the oldest and newest supported Pythons, 3.11 and 3.15, matching the image. Package metadata, tox and AGENTS.md follow, and the fork version moves to 0.23.3 with a release note and a dated review of the 3.15 image's scan and remaining CPython advisories. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 2 +- AGENTS.md | 2 +- Dockerfile | 2 +- docs/maintenance.md | 18 ++++++++++++++---- release-notes.md | 6 ++++++ setup.py | 3 ++- tox.ini | 2 +- 7 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c40453b..d0e9223 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 10 strategy: matrix: - python-version: ["3.11", "3.14"] + python-version: ["3.11", "3.15"] steps: - name: Checkout diff --git a/AGENTS.md b/AGENTS.md index 562ec6b..737610a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ ## Setup and verification Use an isolated virtual environment with a Python version in the CI matrix -(currently 3.11 and 3.14). Install the reviewed runtime and build dependencies: +(currently 3.11 and 3.15). Install the reviewed runtime and build dependencies: ```sh python3 -m venv .venv diff --git a/Dockerfile b/Dockerfile index bbf66ee..e25b152 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ FROM python:3.15-slim@sha256:65a65fc7b30b06cb6df4930fd4650697cb23f4c2698ab81fc87 ARG VCS_REF=unknown LABEL org.opencontainers.image.source="https://github.com/rczobor/python-orthanc-tools" \ - org.opencontainers.image.version="0.23.2" \ + org.opencontainers.image.version="0.23.3" \ org.opencontainers.image.revision="${VCS_REF}" ENV PYTHONUNBUFFERED=1 \ diff --git a/docs/maintenance.md b/docs/maintenance.md index 2825b83..f28f27d 100644 --- a/docs/maintenance.md +++ b/docs/maintenance.md @@ -66,13 +66,23 @@ The slim base digest predates Debian's `zlib1g` `1:1.3.dfsg+really1.3.1-1+deb13u pinned digest when the upstream slim image picks it up. The remaining Python findings are the same setuptools 70.3.0 metadata vendored by pip described above. -Recent CPython advisories also need follow-up when a patched 3.14 image ships: +### Python 3.15 runtime: 2026-11-22 + +Both stages now use `python:3.15` and `python:3.15-slim` (Python 3.15.2, Debian 13.7). Every +locked package installs from a prebuilt wheel (pure Python, abi3 or cp315), and StrEnum is now 0.5.0, a packaging-only +release. Python 3.15.2 carries the 3.14.10 security fixes listed above. Both lockfiles pass +pip-audit. Trivy 0.76.2 with its 2026-11-22 database reports the same OS findings for the 3.14 +and 3.15 slim images: 0 critical, 51 high, 101 medium, 81 low and 7 unknown. Debian has fixes +for 30 of them, in `libc6` and the `zlib1g` update above, that the slim base has not picked up yet. +The Python findings are still only the setuptools 70.3.0 metadata vendored by pip. + +These CPython advisories still need follow-up when a patched 3.15 image ships: [CVE-2026-116566](https://www.cve.org/CVERecord?id=CVE-2026-116566) (embedded NULs -in `socket.getaddrinfo`) and +in `socket.getaddrinfo`, fixed only in the unreleased next 3.15 version) and [CVE-2026-103995](https://www.cve.org/CVERecord?id=CVE-2026-103995) (lenient HTTP -framing). The 3.14.10-only FIPS regression +framing). The FIPS regression [CVE-2026-119170](https://www.cve.org/CVERecord?id=CVE-2026-119170) affects OpenSSL -FIPS mode; that mode was verified disabled in this release image. Reassess this +FIPS mode, which was verified disabled in the 3.14 and 3.15 images. Reassess this if deploying with different OpenSSL configuration. ```sh diff --git a/release-notes.md b/release-notes.md index 1f3599d..1918539 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,3 +1,9 @@ +v 0.23.3 (fork maintenance) +========================== +- The image runs on Python 3.15 (slim Debian 13 base); CI tests Python 3.11 and 3.15. +- Removed the unused `six` dependency; the tools use the standard library's `StrEnum`. +- Package metadata declares the license as `LGPL-3.0-only`. + v 0.23.2 (fork maintenance) ========================== - `OrthancForwarder` writes its delivery status as JSON to `HEARTBEAT_FILE`; `FAILURE_ALERT_AFTER` reports a `failing` status once a resource has failed for that long. diff --git a/setup.py b/setup.py index 22e0360..c195193 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='orthanc_tools', - version='0.23.2', + version='0.23.3', description='Python Orthanc Tools', long_description=(here / 'README.md').read_text(encoding='utf-8'), long_description_content_type='text/markdown', @@ -21,6 +21,7 @@ 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: 3.15', 'Programming Language :: Python :: 3 :: Only', ], keywords='orthanc, dicom, rest api, hl7', diff --git a/tox.ini b/tox.ini index d9ed3b0..4e984cb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{311,312,313,314} +envlist = py{311,312,313,314,315} minversion = 4.0 isolated_build = true