Skip to content

Commit

Permalink
Merge pull request #2068 from SUSE/lifecycle_data_python
Browse files Browse the repository at this point in the history
Install the python lifecycle data information in the python containers
  • Loading branch information
dcermak authored Nov 27, 2024
2 parents 38722cd + 7658c36 commit d1ddaf0
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 d1ddaf0

Please sign in to comment.