Fix off-by-one in setup's 3.6 range comparison

This commit is contained in:
rocky
2021-10-30 06:00:10 -04:00
parent c8c6f1a63d
commit e50cd1e07d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import sys
"""Setup script for the 'uncompyle6' distribution."""
SYS_VERSION = sys.version_info[0:2]
if not ((3, 3) <= SYS_VERSION <= (3, 5)):
if not ((3, 3) <= SYS_VERSION < (3, 6)):
mess = "Python Release 3.3 .. 3.5 are supported in this code branch."
if (2, 4) <= SYS_VERSION <= (2, 7):
mess += (

View File

@@ -14,4 +14,4 @@
# This file is suitable for sourcing inside POSIX shell as
# well as importing into Python
# fmt: off
__version__="3.8.0" # noqa
__version__="3.8.1.dev0" # noqa