Skip to content

Commit c86de9a

Browse files
committed
Release 0.23.0
## Packaging - Require leapp-framework > 6.1 (#1350) - Introduced leapp-upgrade-*-fapolicyd subpackage with config file for fapolicyd (#1410) ## Upgrade handling ### Fixes - Disable localpkg_gpgcheck during the upgrade if set to allow installation of bundled leapp and leapp-repository deps packages (#1401) - Fix in-place upgrades on systems using fapolicyd (#1410) - Fix parsing of the kernel cmdline (#1372) - Load DNF configuration in the `module.py` shared library to prevent errors when downloading remote content and proxy is required (#1398) - Minor fixes in reports (#1355, #1371, #1370, #1402) - Prevent a crash during the Application phase when no custom SELinux modules needs to be handled post-upgrade (#1352) - Sanitize the device driver deprecation data and the scan of deprecated PCI devices (#1362, #1376) - Skip checking ownership of files in the /etc/pki/ca-trust/extracted/pem/directory-hash directory (#1405) - [IPU 8 -> 9] Fix broken bootloader on Azure hybrid images for systems previously upgraded from RHEL 7 (#1284) - [IPU 9 -> 10] Create proper error message when the swap of RHUI clients fails (#1353) - [IPU 9 -> 10] Exclude the leapp-upgrade-el9toel10 RPM from the upgrade transaction (#1351) - [IPU 9 -> 10] Inhibit the upgrade on systems using deprecated network-legacy dracut module to prevent kernel panic (#1412) ### Enhancements - Add IPU paths 8.10 -> 9.7 and 9.7 -> 10 (#1411, #1415) - Add RHEL 9.7 and 10.1 product certificates (#1374) - Requires data with provided_data_streams 4.0+ (#1375) - Generalize the solution to make it more distribution agnostic - Skip RHSM-related actions on non-RHEL distros (#1407, #1414) - Manage RPM GPG keys during the upgrade respecting used linux distributions (#1378) - Respect the release_id of the OS when processing DNF repositories (#1375) - Enable upgrades of CentOS Stream - Adjust the DNF `stream` variable during CentOS upgrades (#1406) - Gracefully handle CentOS OS versions that do not provide a minor version number (#1363, #1396) - [IPU 9 -> 10] Remove obsoleted RPM GPG key when upgrading to CentOS 10 (#1408) - Enable upgrades of AlmaLinux (#1391) - Introduced the --enable-experimental-feature to simplify use of experimental features (#1350) - Simplified use of the LiveMode experimental feature with additional enhancements (#1350) - Unify definition and processing of defined upgrade paths (#1359) - Update leapp upgrade data files, start to provide data stream 4.0 (#1358, #1380, #1375, #1388, #1409, #1418) - [IPU 8 -> 9] Add actor with recommendations for upgrade of MySQL (#1335) - [IPU 9 -> 10] Add actors to migrate SSSD configuration (#1397) - [IPU 9 -> 10] Enable upgrades on systems using RHUI on AWS, Azure, and Alibaba (#1387, #1383, #1420) - [IPU 9 -> 10] Inhibit the upgrade if cgroups v1 are enabled on the system (#1392) ## Additional changes interesting for devels - Documented more technical details about the LiveMode (#1357, #1366) - Makefile: Return non-zero exit code on failed tests in container (#1382) - New deprecations introduced: - The `HybridImage` model has been replaced by `ConvertGrubenvTask`. (#1284) - The `InstalledUnsignedRPM` model has been deprecated and replaced by `ThirdPartyRPM` (#1402) - The `leapp.libraries.common.config.version.SUPPORTED_VERSIONS` variable is deprecated (#1359) - the is_rhel_alt function from shared libraries has been deprecated (#1377) - The rhui field in PESIDRepositoryEntry model is now plain string type instead of enumeration (#1375) - Cleaning: - The el7toel8 repository has been removed (#1385) - Removal of some deprecated models: InstalledRedHatSignedRPM, IPUPaths (#1359, #1402) - The `LEAPP_DEVEL_ENABLE_LIVE_MODE` envar has been dropped (#1350)
1 parent 7a3e2f6 commit c86de9a

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
project = 'leapp-repository'
1212
copyright = '2025, Leapp team'
1313
author = 'Leapp team'
14-
release = '0.22.0'
14+
release = '0.23.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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ 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>
1616

17+
- Note: nothing new deprecated yet
18+
19+
## v0.23.0 <span style="font-size:0.5em; font-weight:normal">(till March 2026)</span>
20+
1721
- Shared libraries
1822
- **`leapp.libraries.common.config.version.SUPPORTED_VERSIONS`** - The `SUPPORTED_VERSIONS` dict has been deprecated as it is problematic with the new design. Use `leapp.libraries.common.config.version.is_supported_version()` or `IPUConfig.supported_upgrade_paths` instead.
1923
- **`leapp.libraries.common.config.version.is_rhel_alt()`** - The function can return only `False` nowadays as RHEL-ALT 7 is EOL for years and future version of leapp-repository will not support RHEL 7 anymore.

packaging/leapp-repository.spec

Lines changed: 3 additions & 2 deletions
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.22.0
54+
Version: 0.23.0
5555
Release: 1%{?dist}
5656
Summary: Repositories for leapp
5757

@@ -85,7 +85,7 @@ Obsoletes: leapp-repository-data <= 0.6.1
8585
Provides: leapp-repository-data <= 0.6.1
8686

8787
# Former leapp subpackage that is part of the sos package since RHEL 7.8
88-
Obsoletes: leapp-repository-sos-plugin <= 0.9.0
88+
Obsoletes: leapp-repository-sos-plugin <= 0.10.0
8989

9090
# Set the conflict to be sure this RPM is not upgraded automatically to
9191
# the one from the target (upgraded) RHEL. The RPM has to stay untouched
@@ -287,6 +287,7 @@ rm -rf %{buildroot}%{repositorydir}/common/actors/testactor
287287
find %{buildroot}%{repositorydir}/common -name "test.py" -delete
288288
rm -rf `find %{buildroot}%{repositorydir} -name "tests" -type d`
289289
find %{buildroot}%{repositorydir} -name "Makefile" -delete
290+
find %{buildroot} -name "*.py.orig" -delete
290291
# .gitkeep file is used to have a directory in the repo. but we do not want these
291292
# files in the resulting RPM
292293
find %{buildroot} -name .gitkeep -delete

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def is_sap_hana_flavour():
314314
return api.current_actor().configuration.flavour == 'saphana'
315315

316316

317-
@deprecated(since='2025-05-31', message=(
317+
@deprecated(since='2025-08-14', message=(
318318
'RHEL-ALT reached EOL years ago and it is connected just to RHEL 7 systems.'
319319
'As such the function is useless nowadays and will return always False.'
320320
'The function is going to be removed in the next leapp-repository release.'

repos/system_upgrade/common/models/installedrpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ class ThirdPartyRPM(InstalledRPM):
4747
pass
4848

4949

50-
@deprecated(since='2025-07-09', message='Replaced by ThirdPartyRPM')
50+
@deprecated(since='2025-08-14', message='Replaced by ThirdPartyRPM')
5151
class InstalledUnsignedRPM(InstalledRPM):
5252
pass

0 commit comments

Comments
 (0)