Skip to content

Commit

Permalink
build: require python>=3.10 (#24)
Browse files Browse the repository at this point in the history
* build: require python>=3.10

* pin setuptools for 312 compatibility

---------

Co-authored-by: Reece Hart <[email protected]>
  • Loading branch information
jsstevenson and reece authored Mar 4, 2025
1 parent af22175 commit 0729ce9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ authors = [
description = "SeqRepo REST Service"
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",
]
Expand All @@ -21,6 +21,7 @@ dependencies = [
"coloredlogs",
"connexion[swagger-ui] ~= 2.2",
"Flask ~= 2.2",
"setuptools", # pin until yoyo-migrations is updated
]

[project.optional-dependencies]
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tox]
envlist = py39,py310
envlist = py310,py311,py312
isolated_build = True

[gh]
python =
3.9 = py39, type
3.10 = py310
3.11 = py311
3.12 = py312

0 comments on commit 0729ce9

Please sign in to comment.