From b6a3fab2a8c87429fde62ad4412549cbbeefaf38 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Thu, 11 Jul 2024 16:05:53 -0400 Subject: [PATCH] build: require python>=3.10 (#155) --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 5 +++-- tox.ini | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 69a2464..a9084c4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Install packages diff --git a/pyproject.toml b/pyproject.toml index e5a386b..2644064 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,12 +6,12 @@ authors = [ description = "Non-redundant, compressed, journalled, file-based storage for biological sequences" readme = "README.md" license = { file = "LICENSE.txt" } -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ] @@ -24,6 +24,7 @@ dependencies = [ "requests ~= 2.31", "tqdm ~= 4.66", "yoyo-migrations ~= 8.2", + "setuptools", # pin until yoyo-migrations doesn't use pkg_resources ] [project.optional-dependencies] diff --git a/tox.ini b/tox.ini index e720b49..daaaf62 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38 +envlist = py310,py311,py312 [testenv] commands =