From 01962a204590497e46c38bcb0642cc523df11d3e Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Fri, 15 Nov 2024 16:20:27 +0000 Subject: [PATCH] Drop support for Python 3.8 and 3.9 --- .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/publish-to-testpypi.yml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- pyproject.toml | 4 +--- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3ddd188..3460fd0 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.x - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish-to-testpypi.yml b/.github/workflows/publish-to-testpypi.yml index a3d2e15..9699eb3 100644 --- a/.github/workflows/publish-to-testpypi.yml +++ b/.github/workflows/publish-to-testpypi.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.x - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/Dockerfile b/Dockerfile index 63aacfd..d28d29a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM python:3.8.18-slim +FROM python:3.10.15-slim LABEL org.opencontainers.image.authors="Cameron Lloyd " \ org.opencontainers.image.source="https://github.com/camlloyd/oct-to-tiff" \ diff --git a/README.md b/README.md index 0160c8f..2b9fa98 100644 --- a/README.md +++ b/README.md @@ -149,4 +149,4 @@ This project uses [Ruff](https://github.com/astral-sh/ruff) for linting and form ## Requirements -Requires Python 3.8 or higher. \ No newline at end of file +Requires Python 3.10 or higher. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0e34cff..abe6b14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ dependencies = [ "numpy", "tifffile", ] -requires-python = ">=3.8" +requires-python = ">=3.10" authors = [{name = "Cameron Lloyd", email = "lloyd@med.unideb.hu"}] maintainers = [{name = "Cameron Lloyd", email = "lloyd@med.unideb.hu"}] description = "A command line tool for converting optical coherence tomography angiography (OCTA) data." @@ -24,8 +24,6 @@ classifiers = [ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",