Skip to content

Commit

Permalink
Install the python lifecycle data information in the python containers
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Nov 26, 2024
1 parent 1e38964 commit 7658c36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bci_build/os_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def deployment_branch_name(self) -> str:

@property
def lifecycle_data_pkg(self) -> list[str]:
if self.value not in (OsVersion.SLE16_0.value, OsVersion.TUMBLEWEED.value):
if self.is_sle15:
return ["lifecycle-data-sle-module-development-tools"]
return []

Expand Down
1 change: 1 addition & 0 deletions src/bci_build/package/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def _get_python_kwargs(py3_ver: _PYTHON_VERSIONS, os_version: OsVersion):
+ os_version.common_devel_packages
+ ([f"{py3}-wheel"] if has_wheel else [])
+ ([f"{py3}-pipx"] if has_pipx else [])
+ (["lifecycle-data-sle-module-python3"] if os_version.is_sle15 else [])
+ os_version.lifecycle_data_pkg,
"replacements_via_service": [
Replacement(
Expand Down

0 comments on commit 7658c36

Please sign in to comment.