Skip to content

Commit 9d813c2

Browse files
authored
update python & pypy min version (#291)
1 parent 00fde49 commit 9d813c2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ def _pyimp():
2020
E_UNSUPPORTED_PYTHON = f'{NAME} 1.0 requires %s %s or later!'
2121

2222
PYIMP = _pyimp()
23-
PY36_OR_LESS = sys.version_info < (3, 6)
23+
PY37_OR_LESS = sys.version_info < (3, 7)
2424
PYPY_VERSION = getattr(sys, 'pypy_version_info', None)
25-
PYPY24_ATLEAST = PYPY_VERSION and PYPY_VERSION >= (2, 4)
25+
PYPY73_ATLEAST = PYPY_VERSION and PYPY_VERSION >= (7, 3)
2626

27-
if PY36_OR_LESS and not PYPY24_ATLEAST:
28-
raise Exception(E_UNSUPPORTED_PYTHON % (PYIMP, '3.6'))
27+
if PY37_OR_LESS and not PYPY73_ATLEAST:
28+
raise Exception(E_UNSUPPORTED_PYTHON % (PYIMP, '3.7'))
2929

3030
# -*- Classifiers -*-
3131

@@ -34,7 +34,6 @@ def _pyimp():
3434
License :: OSI Approved :: BSD License
3535
Programming Language :: Python
3636
Programming Language :: Python :: 3
37-
Programming Language :: Python :: 3.6
3837
Programming Language :: Python :: 3.7
3938
Programming Language :: Python :: 3.8
4039
Programming Language :: Python :: 3.9

0 commit comments

Comments
 (0)