Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Removed test for 3.10 from __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Feb 16, 2023
1 parent b2d7917 commit 8b8046b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions pytransifex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import logging
from sys import version_info

if version_info.major != 3 or version_info.minor < 10:
raise RuntimeError(
f"This program requires Python 3.10 at least, but found {version_info.major}.{version_info.minor}"
)

logging.basicConfig(level=logging.INFO)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import setup

python_min_version = (3, 8)
python_min_version = (3, 10)

if sys.version_info < python_min_version:
sys.exit(
Expand Down

0 comments on commit 8b8046b

Please sign in to comment.