core.version module

Provides the Source.Python version.

core.version.get_last_successful_build_number(timeout=3)[source]

Return the latest successful build number as an integer.

Parameters:timeout (float) – Number of seconds that need to pass until a timeout occurs.
Return type:int
core.version.is_unversioned()[source]

Return True if this Source.Python installation has no version.

This can happen in multiple cases:

  • This is an unofficial build (not a build from the build server).
  • The Python files have been updated directly from the repository.
Return type:bool
core.version.VERSION = 650

Version of the Source.Python intallation.

core.version.GIT_COMMIT = '67d0f46f48d24ab7f63ff7c7bed1cde50ab23a1d'

The Github commit this Source.Python version was built with.