Skip to content

Commit 3dcbecc

Browse files
committed
MAINT: Fix python version check in setup.py to require Python 3.8
Previously, this was not strictly enforced for the only purpose of running LGTM (hoping it would be fixed before the 1.22 release).
1 parent abca5ca commit 3dcbecc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030

3131
# Python supported version checks. Keep right after stdlib imports to ensure we
3232
# get a sensible error for older Python versions
33-
# This needs to be changed to 3.8 for 1.22 release, but 3.7 is needed for LGTM.
34-
if sys.version_info[:2] < (3, 7):
33+
if sys.version_info[:2] < (3, 8):
3534
raise RuntimeError("Python version >= 3.8 required.")
3635

3736

0 commit comments

Comments
 (0)