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.GIT_COMMIT = '720c2dff192622ccf1cd2116c04788245eb1acff'

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

core.version.VERSION = 733

Version of the Source.Python intallation.