Skip to content

Commit b5399a7

Browse files
committed
fix: Add Python 3.12 compatibility
- Update requires-python to >=3.11,<3.13 to explicitly support Python 3.12 - Update huggingface_hub from 0.17.3 to 0.21.4 for Py3.12 compatibility (pinned to specific version for sentry_sdk integration compat) Fixes #333
1 parent e26a827 commit b5399a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Open Source Solar Forecasting for a Site"
99
authors = [{ name = "Peter Dudfield", email = "info@openclimatefix.org" }]
1010
readme = "README.md"
11-
requires-python = ">=3.11"
11+
requires-python = ">=3.11,<3.13"
1212
license = { text = "MIT" }
1313

1414
dependencies = [
@@ -27,7 +27,7 @@ dependencies = [
2727
"pydantic_settings",
2828
"httpx",
2929
"sentry_sdk",
30-
"huggingface_hub==0.17.3"
30+
"huggingface_hub==0.21.4"
3131
]
3232

3333
[project.urls]

0 commit comments

Comments
 (0)