Deprecated functionality
Deprecated functionality is listed under the first version that the functionality is deprecated in. Note that functionality may be removed in later versions but will not be listed again. The dates in brackets correspond to the end of the deprecation protection period, after which the related functionality can be removed at any time.
Note
The list covers only the deprecations made in leapp-repository. For the functionality deprecated in the leapp framework, see List of the deprecated functionality in leapp.
Only the versions in which a deprecation has been made are listed.
Next release (till TODO date)
Note: nothing new deprecated yet
v0.24.0 (till September 2026)
Shared libraries
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()andleapp.libraries.common.config.get_target_distro_id().Following UEFI related symbols have been moved from
leapp.libraries.common.grubintoleapp.libraries.common.efi:EFI_MOUNTPOINTEFIBootInfo- raisesleapp.libraries.common.efi.EFIErrorinstead ofleapp.exceptions.StopActorExecutionErrorEFIBootLoaderEntrycanonical_path_to_efi_format()get_efi_device()- raisesleapp.libraries.common.efi.EFIErrorinstead ofleapp.exceptions.StopActorExecutionErrorget_efi_partition()- raisesleapp.libraries.common.efi.EFIErrorinstead ofleapp.exceptions.StopActorExecutionErroris_efi()
Functions related to manipulation of devices and partitions were moved from
leapp.libraries.common.grubintoleapp.libraries.common.partitions:blk_dev_from_partition()get_device_number()- replaced byget_partition_number()
Models
RHELTargetRepository- Replaced byDistroTargetRepository
v0.23.0 (till March 2026)
Shared libraries
leapp.libraries.common.config.version.SUPPORTED_VERSIONS- TheSUPPORTED_VERSIONSdict has been deprecated as it is problematic with the new design. Useleapp.libraries.common.config.version.is_supported_version()orIPUConfig.supported_upgrade_pathsinstead.leapp.libraries.common.config.version.is_rhel_alt()- The function can return onlyFalsenowadays as RHEL-ALT 7 is EOL for years and future version of leapp-repository will not support RHEL 7 anymore.
Models
InstalledUnsignedRPM- Replaced by the distribution agnosticThirdPartyRPM.
v0.20.0 (till September 2024)
Models
InstalledRedHatSignedRPM- Replaced by the distribution agnosticDistributionSignedRPM.
v0.19.0 (till March 2024)
Models
InstalledTargetKernelVersion- Deprecated as the new solution has been designed to be able to handle new changes in RHEL 9.3+ system. Use theInstalledTargetKernelInfomessage instead.GrubInfo.orig_device_name - The
GrubInfomessage is still valid, but theorig_device_namefield has been deprecated as multiple devices can exist on a system. UseGrubInfo.orig_devicesinstead.
Shared libraries
leapp.libraries.common.config.version.is_rhel_realtime()- The function has been deprecated as the information cannot be easily determined based on the information insideIPUConfig. Use data in theKernelInfomessage instead, the fieldtype.leapp.libraries.common.grub.get_grub_device() - The function has been deprecated as multiple grub devices can exists on a system. Use the
leapp.libraries.common.grub.get_grub_devices()function instead.
v0.16.0 (till September 2022)
Shared libraries
leapp.libraries.common.utils.apply_yum_workaround- Theapply_yum_workaroundfunction has been deprecated, useDNFWorkaroundmessage as used in the successiveRegisterYumAdjustmentactor.
v0.15.0 (till April 2022)
Models
RequiredTargetUserspacePackages- Deprecated because a new solution has been designed. Use theTargetUserspacePreupgradeTasksinstead (see theinstall_rpmsfield).RequiredUpgradeInitramPackages- Deprecated because the new solution around the upgrade initramfs has been designed. Use theTargetUserspaceUpgradeTasksinstead (see theinstall_rpmsfield).UpgradeDracutModule- Replaced byUpgradeInitramfsTasks(see theinclude_dracut_modulesfield).InitrdIncludes- Deprecated because the new solution around the target initramfs (read: initramfs created for the upgraded system) has been designed. Use theTargetInitramfsTasksinstead (see theinclude_filesfield).
v0.12.0 (till April 2021)
Models
GrubDevice- Deprecated because the current implementation is not reliable. GRUB device detection is now in the shared grub library. Use theleapp.libraries.common.grub.get_grub_device()function instead.UpdateGrub- Deprecated because the current implementation is not reliable. GRUB device detection is now in the shared grub library. Use theleapp.libraries.common.grub.get_grub_device()function instead.
Shared libraries
leapp.libraries.common.testutils.logger_mocked.warn()- The logging.warn method has been deprecated in Python since version 3.3. Use the warning method instead.
v0.11.0 (till April 2021)
Models
TMPTargetRepositoriesFacts- Deprecated because this model was not intended for customer use.