From cb9274605aa799e50ab46ac11e622aae1c8abd6f Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Fri, 12 Jul 2024 09:00:39 -0400 Subject: [PATCH] build: require >= Python 3.10 --- .github/workflows/checks.yaml | 2 +- docs/source/install.rst | 4 ++-- pyproject.toml | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index d990b89..9ae1a42 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: db_url: ["http://localhost:8002", "postgres://postgres:postgres@localhost:5432/disease_normalizer_test"] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ["3.10", "3.11", "3.12"] services: postgres: image: postgres:14 diff --git a/docs/source/install.rst b/docs/source/install.rst index 3954b19..aebe232 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -31,7 +31,7 @@ Requirements ++++++++++++ * A UNIX-like environment (e.g. MacOS, WSL, Ubuntu) -* Python 3.8+ +* Python 3.10+ * A recent version of PostgreSQL (ideally at least 11+) Package installation @@ -93,7 +93,7 @@ Requirements ++++++++++++ * A UNIX-like environment (e.g. MacOS, WSL, Ubuntu) with superuser permissions -* Python 3.8+ +* Python 3.10+ * A recent version of PostgreSQL (ideally at least 11+), if using PostgreSQL as the database backend * An available Java runtime (version 8.x or newer), or Docker Desktop, if using DynamoDB as the database backend diff --git a/pyproject.toml b/pyproject.toml index fa02cba..065384a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,13 +16,11 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics", "License :: OSI Approved :: MIT License", "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", ] -requires-python = ">=3.8" +requires-python = ">=3.10" description = "VICC normalization routines for diseases" license = {file = "LICENSE"} dependencies = [