From 0904dc337b330c5352f62655fe1d2d7014629ebc Mon Sep 17 00:00:00 2001 From: john feng Date: Tue, 4 Mar 2025 15:48:43 -0800 Subject: [PATCH 1/2] update lpe to support pro client ubuntu 20 --- src/core/src/bootstrap/Constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/bootstrap/Constants.py b/src/core/src/bootstrap/Constants.py index c742495f..b98fe1c6 100644 --- a/src/core/src/bootstrap/Constants.py +++ b/src/core/src/bootstrap/Constants.py @@ -375,7 +375,7 @@ class EnvLayer(EnumBackport): class UbuntuProClientSettings(EnumBackport): FEATURE_ENABLED = True MINIMUM_PYTHON_VERSION_REQUIRED = (3, 5) # using tuple as we can compare this with sys.version_info. The comparison will happen in the same order. Major version checked first. Followed by Minor version. - MAX_OS_MAJOR_VERSION_SUPPORTED = 18 + MAX_OS_MAJOR_VERSION_SUPPORTED = 20 MINIMUM_CLIENT_VERSION = "27.14.4" class BufferMessage(EnumBackport): From dc11e00bd0823f4e18a0c1a9b03b1513d2145a2c Mon Sep 17 00:00:00 2001 From: john feng Date: Tue, 4 Mar 2025 16:42:03 -0800 Subject: [PATCH 2/2] modify the pro client unit to set mock Os to 24.04 --- src/core/tests/Test_AptitudePackageManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tests/Test_AptitudePackageManager.py b/src/core/tests/Test_AptitudePackageManager.py index 667732c5..e26cd862 100644 --- a/src/core/tests/Test_AptitudePackageManager.py +++ b/src/core/tests/Test_AptitudePackageManager.py @@ -42,7 +42,7 @@ def mock_write_with_retry_raise_exception(self, file_path_or_handle, data, mode= raise Exception def mock_linux_distribution_to_return_ubuntu_focal(self): - return ['Ubuntu', '20.04', 'focal'] + return ['Ubuntu', '24.04', 'focal'] def mock_is_pro_working_return_true(self): return True