Force minimum python minor version
This commit is contained in:
parent
f2bf301cd1
commit
92c634f3eb
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@ from logging import getLogger
|
||||||
|
|
||||||
logger = getLogger('temp')
|
logger = getLogger('temp')
|
||||||
# Check for python3.6 or newer to resolve erroneous typing.NamedTuple issues
|
# Check for python3.6 or newer to resolve erroneous typing.NamedTuple issues
|
||||||
if version_info < (3, 6):
|
if version_info < (3, 6, 2):
|
||||||
logger.error('Varken requires python3.6 or newer. You are on python%s.%s - Exiting...',
|
logger.error('Varken requires python3.6.2 or newer. You are on python%s.%s.%s - Exiting...',
|
||||||
version_info.major, version_info.minor)
|
version_info.major, version_info.minor, version_info.micro)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue