From 8b8046bc9fd092def492d126c6b1a2104f47f983 Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Thu, 16 Feb 2023 09:04:56 +0100 Subject: [PATCH] Removed test for 3.10 from __init__ --- pytransifex/__init__.py | 6 ------ setup.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pytransifex/__init__.py b/pytransifex/__init__.py index 13e9447..ca0e42e 100755 --- a/pytransifex/__init__.py +++ b/pytransifex/__init__.py @@ -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) diff --git a/setup.py b/setup.py index a867238..bac75ad 100644 --- a/setup.py +++ b/setup.py @@ -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(