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 = 721

Version of the Source.Python intallation.

core.version.GIT_COMMIT = 'f129713a17014795de445ff8fa782e079c76ef4e'

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