thoth.adviser.boots package¶
Submodules¶
thoth.adviser.boots.fully_specified_environment module¶
A boot to check for fully specified environment.
-
class
thoth.adviser.boots.fully_specified_environment.
FullySpecifiedEnvironment
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot to check for fully specified environment.
thoth.adviser.boots.pipfile_hash module¶
A boot that checks for Pipfile hash and reports any mismatch to users..
-
class
thoth.adviser.boots.pipfile_hash.
PipfileHashBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks for Pipfile hash and reports any mismatch to users..
thoth.adviser.boots.platform module¶
A boot that checks for platform used and adjust to the default one if not provided explicitly.
-
class
thoth.adviser.boots.platform.
PlatformBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks for platform used and adjust to the default one if not provided explicitly.
-
CONFIGURATION_DEFAULT
= {'default_platform': 'linux-x86_64'}¶
-
CONFIGURATION_SCHEMA
= <Schema({'default_platform': <class 'str'>}, extra=PREVENT_EXTRA, required=False) object>¶
-
thoth.adviser.boots.python_version module¶
A boot to check Python version configuration used in adviser.
-
class
thoth.adviser.boots.python_version.
PythonVersionBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks Python3 configuration used by user.
thoth.adviser.boots.rhel_version module¶
A boot to adjust RHEL version to its major version.
-
class
thoth.adviser.boots.rhel_version.
RHELVersionBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that changes version of RHEL used.
RHEL guarantees ABI compatibility across major minor releases.
thoth.adviser.boots.solved_software_environment module¶
A boot to check for solved software environment before running any resolution.
-
class
thoth.adviser.boots.solved_software_environment.
SolvedSoftwareEnvironmentBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot to check for solved software environment before running any resolution.
thoth.adviser.boots.ubi module¶
A boot to remap UBI to RHEL.
-
class
thoth.adviser.boots.ubi.
UbiBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
Remap UBI to RHEL.
As UBI has ABI compatibility with RHEL, remap any UBI to RHEL.
Module contents¶
Boot units implemented in adviser.
-
class
thoth.adviser.boots.
PipfileHashBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks for Pipfile hash and reports any mismatch to users..
-
class
thoth.adviser.boots.
UbiBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
Remap UBI to RHEL.
As UBI has ABI compatibility with RHEL, remap any UBI to RHEL.
-
class
thoth.adviser.boots.
PythonVersionBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks Python3 configuration used by user.
-
class
thoth.adviser.boots.
SolvedSoftwareEnvironmentBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot to check for solved software environment before running any resolution.
-
class
thoth.adviser.boots.
RHELVersionBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that changes version of RHEL used.
RHEL guarantees ABI compatibility across major minor releases.
-
class
thoth.adviser.boots.
PlatformBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot that checks for platform used and adjust to the default one if not provided explicitly.
-
CONFIGURATION_DEFAULT
= {'default_platform': 'linux-x86_64'}¶
-
CONFIGURATION_SCHEMA
= <Schema({'default_platform': <class 'str'>}, extra=PREVENT_EXTRA, required=False) object>¶
-
-
class
thoth.adviser.boots.
FullySpecifiedEnvironment
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source]¶ Bases:
thoth.adviser.boot.Boot
A boot to check for fully specified environment.
-
class
thoth.adviser.boots.
SolvedSoftwareEnvironmentBoot
(*, configuration: Dict[str, Any] = NOTHING, name: str = None, unit_run: bool = False)[source] Bases:
thoth.adviser.boot.Boot
A boot to check for solved software environment before running any resolution.
-
run
() → None[source] Check for version clash in packages.
-
classmethod
should_include
(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source] Register self, always.
-