Skip to content

Commit 0729ce9

Browse files
jsstevensonreece
andauthored
build: require python>=3.10 (#24)
* build: require python>=3.10 * pin setuptools for 312 compatibility --------- Co-authored-by: Reece Hart <reecehart@gmail.com>
1 parent af22175 commit 0729ce9

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
python-version: ["3.9", "3.10", "3.11"]
35+
python-version: ["3.10", "3.11", "3.12"]
3636

3737
steps:
3838
- uses: actions/checkout@v3

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ authors = [
66
description = "SeqRepo REST Service"
77
readme = "README.md"
88
license = { file="LICENSE.txt" }
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10"
1010
classifiers = [
1111
"Programming Language :: Python :: 3",
12-
"Programming Language :: Python :: 3.9",
1312
"Programming Language :: Python :: 3.10",
1413
"Programming Language :: Python :: 3.11",
14+
"Programming Language :: Python :: 3.12",
1515
"License :: OSI Approved :: Apache Software License",
1616
"Operating System :: OS Independent",
1717
]
@@ -21,6 +21,7 @@ dependencies = [
2121
"coloredlogs",
2222
"connexion[swagger-ui] ~= 2.2",
2323
"Flask ~= 2.2",
24+
"setuptools", # pin until yoyo-migrations is updated
2425
]
2526

2627
[project.optional-dependencies]

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[tox]
2-
envlist = py39,py310
2+
envlist = py310,py311,py312
33
isolated_build = True
44

55
[gh]
66
python =
7-
3.9 = py39, type
87
3.10 = py310
8+
3.11 = py311
9+
3.12 = py312

0 commit comments

Comments
 (0)