Skip to content

Commit 0e6ae0b

Browse files
committed
chore: remove support for python 3.9 (#26)
1 parent 5acddc8 commit 0e6ae0b

File tree

4 files changed

+105
-1511
lines changed

4 files changed

+105
-1511
lines changed

.github/workflows/api-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [ 3.9 ]
19+
python-version: [ '3.10' ]
2020
max-parallel: 1
2121

2222
steps:

.github/workflows/main.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
python-version: [
16-
'3.9',
1716
'3.10',
1817
'3.11',
1918
'3.12',

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ build-backend = "setuptools.build_meta"
66
name = "cogstack-model-serve"
77
authors = [{name = "Xi Bai", email = "[email protected]"}]
88
description = "A model serving and governance system for CogStack NLP solutions"
9-
requires-python = ">3.9,<3.13"
9+
requires-python = ">3.10,<3.13"
1010
dynamic = ["version"]
1111
dependencies = [
1212
"medcat[spacy,meta-cat,deid,rel-cat]~=2.2.0; python_version>='3.10'",
13-
"medcat[spacy,meta-cat,deid,rel-cat]~=2.1.0; python_version<'3.10'",
1413
"datasets>=2.21.0",
1514
"fastapi~=0.115.0",
1615
"uvicorn~=0.29.0",
@@ -43,9 +42,9 @@ license = {text = "Elastic License 2.0"}
4342
classifiers=[
4443
"License :: OSI Approved :: Apache Software License",
4544
"Programming Language :: Python :: 3",
46-
"Programming Language :: Python :: 3.9",
4745
"Programming Language :: Python :: 3.10",
4846
"Programming Language :: Python :: 3.11",
47+
"Programming Language :: Python :: 3.12",
4948
"Framework :: FastAPI",
5049
]
5150

0 commit comments

Comments
 (0)