Skip to content

Commit eed4516

Browse files
authored
chore: Bump Python minimum to 3.10, update linkml-owl to 0.5.0 (#548)
## Changes - **Python minimum**: `>=3.9` → `>=3.10` (3.9 is EOL since Oct 2025; sssom already requires 3.10+) - **linkml-owl**: `>=0.3.0` → `>=0.5.0` (migrated from funowl to py-horned-owl in [linkml-owl v0.5.0](https://github.com/linkml/linkml-owl/releases/tag/v0.5.0)) - Updated poetry.lock
2 parents b52e311 + c82d3c9 commit eed4516

File tree

9 files changed

+149
-1076
lines changed

9 files changed

+149
-1076
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"project_name": "ontogpt",
88
"__project_slug": "ontogpt",
99
"project_description": "ontogpt",
10-
"min_python_version": "3.9",
10+
"min_python_version": "3.10",
1111
"file_name": "OAK for Artifical Intelligence",
1212
"greeting_recipient": "World",
1313
"full_name": "Harshad Hegde",

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python3
2323
uses: actions/setup-python@v3
2424
with:
25-
python-version: 3.9
25+
python-version: 3.10
2626

2727
- name: Install uv
2828
run: pip install uv

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.9
22+
python-version: 3.10
2323
cache: pip
2424
cache-dependency-path: '**/pyproject.toml'
2525

.github/workflows/qc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
14+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
1515

1616
steps:
1717
- uses: actions/checkout@v3.0.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ _OntoGPT_ is a Python package for extracting structured information from text wi
1515

1616
OntoGPT runs on the command line, though there's also a minimal web app interface (see `Web Application` section below).
1717

18-
1. Ensure you have Python 3.9 or greater installed.
18+
1. Ensure you have Python 3.10 or greater installed.
1919
2. Install with `pip`:
2020

2121
```bash

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Please see the Setup page on the left for more detailed instructions.
1717

1818
OntoGPT runs on the command line, though there's also a minimal web app interface (see `Web Application` section below).
1919

20-
1. Ensure you have Python (3.9 to 3.12) installed.
20+
1. Ensure you have Python (3.10 to 3.13) installed.
2121
2. Install with `pip`:
2222

2323
```bash

docs/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ OntoGPT uses `litellm` to interface with LLM endpoints. Familiarity with this fr
88

99
### Additional requirements and options
1010

11-
* Python 3.9 to 3.13.
11+
* Python 3.10 to 3.13.
1212

1313
* OpenAI API key: necessary for using OpenAI's GPT models. This is a paid API and you will be charged based on usage. If you do not have an OpenAI account, [you may sign up here](https://platform.openai.com/signup).
1414

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "ontogpt"
3-
version = "1.0.19"
3+
version = "1.1.0"
44
description = "OntoGPT is a Python package for extracting structured information from text with large language models (LLMs), instruction prompts, and ontology-based grounding."
55
readme = "README.md"
66
authors = [
77
{name = "Chris Mungall", email = "cjmungall@lbl.gov"},
88
{name = "J. Harry Caufield", email = "jhc@lbl.gov"},
99
]
1010
license = {text = "BSD-3"}
11-
requires-python = ">=3.9,!=3.9.7,<3.14"
11+
requires-python = ">=3.10,<3.14"
1212
dependencies = [
1313
"ruamel-yaml>=0.17.31",
1414
"aiohttp>=3.8.4",
@@ -19,7 +19,7 @@ dependencies = [
1919
"inflect>=6.0.2",
2020
"inflection>=0.5.1",
2121
"linkml>=1.9.3-rc1",
22-
"linkml-owl<1.0.0,>=0.3.0",
22+
"linkml-owl<1.0.0,>=0.5.0",
2323
"oaklib>=0.5.28",
2424
"pydantic>=2.4.0",
2525
"requests<3.0.0,>=2.31.0",
@@ -89,7 +89,7 @@ ontogpt = ["*.yaml"]
8989

9090
[tool.black]
9191
line-length = 100
92-
target-version = ["py39", "py310", "py313"]
92+
target-version = ["py310", "py313"]
9393

9494
[tool.isort]
9595
profile = "black"

uv.lock

Lines changed: 138 additions & 1065 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)