mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Upgrade build.py to assert for python 3.6+
Upgrade build.py to assert for python 3.6+ as python 3.5 cannot build anymore todays master.
This commit is contained in:
parent
c15a858745
commit
39a988ce1c
1 changed files with 2 additions and 2 deletions
|
|
@ -54,9 +54,9 @@ def _check_python_version():
|
|||
raise BuildError(
|
||||
"Bad python major version: expecting python 3, found version "
|
||||
"'{}'".format(sys.version))
|
||||
if sys.version_info[1] < 5:
|
||||
if sys.version_info[1] < 6:
|
||||
raise BuildError(
|
||||
"Bad python minor version: expecting python 3.5+, found version "
|
||||
"Bad python minor version: expecting python 3.6+, found version "
|
||||
"'{}'".format(sys.version))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue