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)[source]

Bases: thoth.adviser.boot.Boot

A boot to check for fully specified environment.

run() → None[source]

Check for version clash in packages.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.

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)[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.

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)[source]

Bases: thoth.adviser.boot.Boot

Remap UBI to RHEL.

As UBI has ABI compatibility with RHEL, remap any UBI to RHEL.

run() → None[source]

Remap UBI to RHEL as Thoth keeps track of RHEL and UBI is ABI compatible.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.

thoth.adviser.boots.version_clash module

A boot to check for version clashes in packages and dev packages.

class thoth.adviser.boots.version_clash.VersionClashBoot(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.boot.Boot

Check for version clashes in packages and dev-packages.

Note the implementation does not resolve, so just exact match is checked. Clashes during resolution are reported by resolver.

run() → None[source]

Check for version clash in packages.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.

Module contents

Boot units implemented in adviser.

class thoth.adviser.boots.SolvedSoftwareEnvironmentBoot(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[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.

class thoth.adviser.boots.FullySpecifiedEnvironment(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.boot.Boot

A boot to check for fully specified environment.

run() → None[source]

Check for version clash in packages.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.

class thoth.adviser.boots.UbiBoot(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.boot.Boot

Remap UBI to RHEL.

As UBI has ABI compatibility with RHEL, remap any UBI to RHEL.

run() → None[source]

Remap UBI to RHEL as Thoth keeps track of RHEL and UBI is ABI compatible.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.

class thoth.adviser.boots.VersionClashBoot(*, configuration: Dict[str, Any] = NOTHING, name: str = None)[source]

Bases: thoth.adviser.boot.Boot

Check for version clashes in packages and dev-packages.

Note the implementation does not resolve, so just exact match is checked. Clashes during resolution are reported by resolver.

run() → None[source]

Check for version clash in packages.

classmethod should_include(builder_context: PipelineBuilderContext) → Optional[Dict[str, Any]][source]

Register self, always.