Skip to content

Commit 362613c

Browse files
karolinkupirat89
authored andcommitted
Release 0.24.0
## Packaging - Requires leapp-framework 6.2+ (#1438) ## Upgrade handling ### Fixes - Fix detection of encrypted Ceph OSD containers (#1255) - Fix error handling for the LiveMode image file removal after the upgrade (#1487) - Fix handling of LVM and Multipath during the upgrade (#1453, #1460, #1464) - Fix remediation command for making symlinks in root directory relative (#1458) - Handle invalid repository definitions (#1475) - Handle trailing slashes when checking for persistence of required mounts (#1488) - Inhibit the upgrade if pluginpath is configured explicitly in DNF (#1425) - Minor changes in logs and reports (#1431, #1441, #1455, #1472) - Prevent sssdupdate actor from rising errors that could stop the upgrade (#1430) - Propagate /etc/crypttab on systems with encrypted storage during the upgrade (#1432) - Raise proper error message when trying to upgrade from unsupported system version (#1443) - Reset DNF module-streams correctly per each action related to the DNF upgrade transaction (#1486) - Skip empty lines when parsing dumped DNF config (#1446) - Wait for the storage initialisation until filesystems defined in FSTAB are mounted (#1459) - [IPU 8 -> 9] Fix the upgrade for systems with installed kernel-rt (#1479) - [IPU 8 -> 9] Skip check for required baseos & appstream repos when upgrading from CS 9 (#1484) ### Enhancements - Add repositories mapping for Almalinux (#1480) - Added scan and checks for NVMe devices, blocking known problematic setups (#1459) - Detect third party python modules for the target python version (#1400) - Handle the upgrade on systems with NVMe-FC storage (#1459, #1493) - Improve error message when scanning invalid SSHD configuration (#1468) - Inhibit the upgrade when converting system to a different linux distribution with enabled secure boot (#1466) - Introduce `--target-os` option to specify target distribution for possible conversion during the upgrade (#1438) - Introduce new IPU paths 8.10 -> 9.8 and 9.8 -> 10.2 (#1436, #1489) - Introduce the `--target-version` alias option, equivalent to `--target` (#1438) - LiveMode: Do not install by default RPMs in initramfs that are not essential for the upgrade (#1476) - LiveMode: Drop inhibitor for use of livemode on non-intel architectures (#1476) - Log applications of PRESENCE and DEPRECATION PES events (#1467) - Migrate the UEFI configuration when converting to RHEL (#1466, #1490) - Modernize the storage initialization when booting to the upgrade environment (#1202, #1439, #1444, #1457) - Remove RPM GPG keys of the source distribution when converting system (#1448) - Remove obsoleted IPU paths (#1491) - Replace distro specific packages during conversion (#1454) - Respect repomapping on CentOS-like distributions (#1423) - Respect repomapping when converting the system to different Linux distribution (#1438) - Update the leapp data files (#1428, #1449, #1451, #1471, #1480) - [IPU 8 -> 9] Cover JBoss EAP repositories for the upgrade (#1428) - [IPU 8 -> 9] Enable php:8.2 module stream if enabled on the source system (#1486) - [IPU 9 -> 10] Check installed Xorg RPMs for removed content (#1478) - [IPU 9 -> 10] Check kerberos configuration (#1340) - [IPU 9 -> 10] Detect installed Motif packages when upgrading to RHEL 10 (#1474) - [IPU 9 -> 10] Handle correctly live kernel patching during IPU (#1435) - [IPU 9 -> 10] Setup net.naming-scheme to handle NIC names correctly when upgrading to RHEL 10.2+ (not applied for Centos 10 yet) (#1492) ## Additional changes interesting for devels - Add tutorial for using snactor to run actors in system upgrade repos (#1368) - Code cleanup - dropping plenty of RHEL 7 related code a removing some legacy functionality (#1427) - Contribution guidelines in upstream docs have been updated (#1456) - CurrentActorMocked: Update defaults, aligning them with IPU 8 -> 9 (#1426) - Functions inside `grub`, `efi`, and `partitions` libraries raise new exceptions on errors instead of `StopActorExecution` and `StopActorExecutionError` to uncover silent issues - leaving the handling of problems on callers. (#1466) - Introduced new envar LEAPP_DEVEL_TARGET_OS to specify any target distribution for the conversion (#1438, #1447) - Introduced new functions in the shared `distro` library to get distribution related repoids (#1423) - New deprecations introduced: - The `leapp.libraries.common.config.get_distro_id` function has been deprecated in favor of `get_source_distro_id` and `get_target_distro_id` from the same library. (#1438) - The `RHELTargetRepository` model has been deprecated, replaced by `DistroTargetRepository` (#1423) - Numerous functions in the shared `grub` library have been split into new libraries: `efi` and `partitions`. Some functions have also been renamed. Original functions have been deprecated. Read the upstream documentation for full details: https://leapp-repository.readthedocs.io/latest/libraries-and-api/deprecations-list.html (#1466) - Partially fixed possibility to run unit tests for single actor in containers (#1403) - The code has been updated to meet newly enabled pylint rules (#1421) - Update and cleanup test containers (#1424)
1 parent 78640b6 commit 362613c

File tree

6 files changed

+22
-16
lines changed

6 files changed

+22
-16
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import sphinx_rtd_theme
1010

1111
project = 'leapp-repository'
12-
copyright = '2025, Leapp team'
12+
copyright = '2026, Leapp team'
1313
author = 'Leapp team'
14-
release = '0.23.0'
14+
release = '0.24.0'
1515

1616
# -- General configuration ---------------------------------------------------
1717
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/source/libraries-and-api/deprecations-list.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,24 @@ framework, see {ref}`deprecation:list of the deprecated functionality in leapp`.
1313
Only the versions in which a deprecation has been made are listed.
1414

1515
## Next release <span style="font-size:0.5em; font-weight:normal">(till TODO date)</span>
16+
- Note: nothing new deprecated yet
17+
18+
## v0.24.0 <span style="font-size:0.5em; font-weight:normal">(till September 2026)</span>
1619
- Shared libraries
1720
- **`leapp.libraries.common.config.get_distro_id()`** - The function has been replaced by variants for source and target distros - `leapp.libraries.common.config.get_source_distro_id()` and `leapp.libraries.common.config.get_target_distro_id()`.
18-
- Following UEFI related functions and classes have been moved from `leapp.libraries.common.grub` into `leapp.libraries.common.efi`:
21+
- Following UEFI related symbols have been moved from `leapp.libraries.common.grub` into `leapp.libraries.common.efi`:
22+
- **`EFI_MOUNTPOINT`**
1923
- **`EFIBootInfo`** - raises `leapp.libraries.common.efi.EFIError` instead of `leapp.exceptions.StopActorExecutionError`
2024
- **`EFIBootLoaderEntry`**
2125
- **`canonical_path_to_efi_format()`**
2226
- **`get_efi_device()`** - raises `leapp.libraries.common.efi.EFIError` instead of `leapp.exceptions.StopActorExecutionError`
2327
- **`get_efi_partition()`** - raises `leapp.libraries.common.efi.EFIError` instead of `leapp.exceptions.StopActorExecutionError`
2428
- **`is_efi()`**
2529
- Functions related to manipulation of devices and partitions were moved from `leapp.libraries.common.grub` into `leapp.libraries.common.partitions`:
26-
- **`get_device_number()`** - replaced by **`get_partition_number()`**
2730
- **`blk_dev_from_partition()`**
31+
- **`get_device_number()`** - replaced by **`get_partition_number()`**
32+
- Models
33+
- **`RHELTargetRepository`** - Replaced by `DistroTargetRepository`
2834

2935
## v0.23.0 <span style="font-size:0.5em; font-weight:normal">(till March 2026)</span>
3036

packaging/leapp-repository.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ py2_byte_compile "%1" "%2"}
5151
# RHEL 8+ packages to be consistent with other leapp projects in future.
5252

5353
Name: leapp-repository
54-
Version: 0.23.0
54+
Version: 0.24.0
5555
Release: 1%{?dist}
5656
Summary: Repositories for leapp
5757

repos/system_upgrade/common/libraries/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_consumed_data_stream_id():
101101

102102

103103
@deprecated(
104-
since="2025-10-27",
104+
since="2026-02-10",
105105
message="Use get_source_distro_id or get_target_distro_id instead.",
106106
)
107107
def get_distro_id():

repos/system_upgrade/common/libraries/grub.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from leapp.libraries.stdlib import api, CalledProcessError, run
77
from leapp.utils.deprecation import deprecated
88

9-
# DEPRECATED(2025-12-04): Moved to the firmware.efi library
9+
# DEPRECATED(2026-02-10): Moved to the firmware.efi library
1010
EFI_MOUNTPOINT = '/boot/efi/'
1111
"""The path to the required mountpoint for ESP."""
1212

@@ -24,7 +24,7 @@ class GRUBDeviceError(Exception):
2424

2525

2626
@deprecated(
27-
since="2025-12-04",
27+
since="2026-02-10",
2828
message="Replaced by canonical_path_to_efi_format in the firmware.efi library",
2929
)
3030
def canonical_path_to_efi_format(canonical_path):
@@ -43,7 +43,7 @@ def canonical_path_to_efi_format(canonical_path):
4343

4444

4545
@deprecated(
46-
since="2025-12-04",
46+
since="2026-02-10",
4747
message="Replaced by EFIBootLoaderEntry in the firmware.efi library",
4848
)
4949
class EFIBootLoaderEntry:
@@ -121,7 +121,7 @@ def get_canonical_path(self):
121121

122122

123123
@deprecated(
124-
since="2025-12-04",
124+
since="2026-02-10",
125125
message="Replaced by EFIBootInfo in the firmware.efi library",
126126
)
127127
class EFIBootInfo:
@@ -260,7 +260,7 @@ def get_boot_partition():
260260

261261

262262
@deprecated(
263-
since="2025-12-04",
263+
since="2026-02-10",
264264
message="Moved to the efi library",
265265
)
266266
def is_efi():
@@ -274,7 +274,7 @@ def is_efi():
274274

275275

276276
@deprecated(
277-
since="2025-12-04",
277+
since="2026-02-10",
278278
message="Moved to the firmware.efi library",
279279
)
280280
def get_efi_partition():
@@ -299,7 +299,7 @@ def get_efi_partition():
299299

300300

301301
@deprecated(
302-
since="2025-12-04",
302+
since="2026-02-10",
303303
message="Moved to the partitions library",
304304
)
305305
def blk_dev_from_partition(partition):
@@ -329,7 +329,7 @@ def blk_dev_from_partition(partition):
329329

330330

331331
@deprecated(
332-
since="2025-12-04",
332+
since="2026-02-10",
333333
message="Replace by get_partition_number() in partitions library",
334334
)
335335
def get_device_number(device):
@@ -413,7 +413,7 @@ def get_grub_devices():
413413

414414

415415
@deprecated(
416-
since="2025-12-04",
416+
since="2026-02-10",
417417
message="Moved to the firmware.efi library",
418418
)
419419
def get_efi_device():

repos/system_upgrade/common/models/targetrepositories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class UsedTargetRepository(TargetRepositoryBase):
1313

1414

1515
@deprecated(
16-
since="2025-07-23",
16+
since="2026-02-10",
1717
message="This model is deprecated, use DistroTargetRepository instead.",
1818
)
1919
class RHELTargetRepository(TargetRepositoryBase):

0 commit comments

Comments
 (0)