Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -17,11 +17,11 @@ 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" \
org.opencontainers.image.version="0.23.2" \
org.opencontainers.image.version="0.23.3" \
org.opencontainers.image.revision="${VCS_REF}"

ENV PYTHONUNBUFFERED=1 \
Expand Down
18 changes: 14 additions & 4 deletions docs/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{311,312,313,314}
envlist = py{311,312,313,314,315}
minversion = 4.0
isolated_build = true

Expand Down