Skip to content

Commit 589ce2d

Browse files
authored
Merge pull request #91 from PyAutoLabs/feature/pin-dependency-versions
fix: add Python version check and update homepage URL
2 parents 166284b + 39dd5cc commit 589ce2d

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

autoconf/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
import sys
2+
3+
if sys.version_info < (3, 12):
4+
raise RuntimeError(
5+
f"PyAutoConf requires Python 3.12 or later. "
6+
f"You are running Python {sys.version_info.major}.{sys.version_info.minor}."
7+
)
8+
19
from . import jax_wrapper
210
from . import exc
311
from .tools.decorators import cached_property

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Physics",
1919
"Natural Language :: English",
2020
"Operating System :: OS Independent",
21-
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.12",
2222
"Programming Language :: Python :: 3.13"
2323
]
2424
keywords = ["cli"]
@@ -33,7 +33,7 @@ dependencies = [
3333
]
3434

3535
[project.urls]
36-
Homepage = "https://github.com/rhayes777/PyAutoConf"
36+
Homepage = "https://github.com/PyAutoLabs/PyAutoConf"
3737

3838
[tool.setuptools]
3939
include-package-data = true

0 commit comments

Comments
 (0)