You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The versions cannot be compared by using the string equal operator.
For example, in case of sys.version = '3.10.6', sys.version >= '3.5' becomes False.
Because '1' of the third character of sys.version is less than '5'. But guess it intended to be True in this case.
In addition, often sys.version includes additional information, for example '3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]'.
Found a following inappropriate version comparison in base_model.py:
The versions cannot be compared by using the string equal operator.
For example, in case of sys.version = '3.10.6', sys.version >= '3.5' becomes False.
Because '1' of the third character of sys.version is less than '5'. But guess it intended to be True in this case.
In addition, often sys.version includes additional information, for example '3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]'.
It should be replaced with a correction such as:
Thanks.
The text was updated successfully, but these errors were encountered: