Skip to content

Commit

Permalink
make python 3.10 minimal supported version (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
drtyrsa authored Nov 20, 2024
1 parent e9b8317 commit bd9a84e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
os:
- ubuntu-latest
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down
4 changes: 2 additions & 2 deletions annet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ def init(options: Namespace):


def assert_python_version():
if sys.version_info < (3, 9, 0):
sys.stderr.write("Error: you need python 3.9.0 or higher\n")
if sys.version_info < (3, 10, 0):
sys.stderr.write("Error: you need python 3.10.0 or higher\n")
sys.exit(1)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def requirements() -> str:
extras_require={
"netbox": ["annetbox[sync]>=0.1.8"],
},
python_requires=">=3.9",
python_requires=">=3.10",
install_requires=requirements(),
include_package_data=True,
)

0 comments on commit bd9a84e

Please sign in to comment.