From 357312371fd54acf5b8707e74680df0bcd50bf12 Mon Sep 17 00:00:00 2001 From: James Butler Date: Wed, 12 Nov 2025 22:33:15 -0500 Subject: [PATCH] ENH: Drop support for Python 3.9 Python 3.9 is now end-of-life as of 2025-10-31 (see https://endoflife.date/python). --- .github/workflows/run_unit_tests.yml | 5 ++--- pyproject.toml | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 03283c1..5b6258a 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -16,7 +16,6 @@ jobs: strategy: matrix: python-version: [ - "3.9", "3.10", "3.11", "3.12", @@ -28,7 +27,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python-version }} - name: Install uv uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 with: @@ -36,7 +35,7 @@ jobs: - name: Install dependencies run: uv sync - name: Lint with flake8 - run: uv run flake8 src tests --exclude=.venv,build,.eggs + run: uv run flake8 src tests --exclude=.venv,build,.eggs - name: Check type hints with mypy run: uv run mypy src tests - name: Test with pytest diff --git a/pyproject.toml b/pyproject.toml index eceacd1..09993c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "dicomweb-client" dynamic = ["version"] description = "Client for DICOMweb RESTful services." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [{ name = "Markus D. Herrmann" }] maintainers = [ { name = "Markus D. Herrmann" }, @@ -22,7 +22,6 @@ classifiers = [ "Topic :: Multimedia :: Graphics", "Topic :: Scientific/Engineering :: Information Analysis", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",