Skip to content

Commit 5fcca0f

Browse files
authored
Merge pull request #3277 from Azure/hotfix-2.12.0.3
Hotfix 2.12.0.4 to master
2 parents 7065e81 + 8b1f088 commit 5fcca0f

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

azurelinuxagent/common/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def has_logrotate():
209209
#
210210
# When doing a release, be sure to use the actual agent version. Current agent version: 2.4.0.0
211211
#
212-
AGENT_VERSION = '2.12.0.2'
212+
AGENT_VERSION = '2.12.0.4'
213213
AGENT_LONG_VERSION = "{0}-{1}".format(AGENT_NAME, AGENT_VERSION)
214214
AGENT_DESCRIPTION = """
215215
The Azure Linux Agent supports the provisioning and running of Linux

setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,11 @@ def run(self):
320320
# will be removed from Python 3.
321321
# * In version 3.13 of Python, the crypt module was removed and legacycrypt is
322322
# required instead.
323-
requires = [
324-
"distro;python_version>='3.8'",
325-
"legacycrypt;python_version>='3.13'",
326-
]
323+
requires = []
324+
if sys.version_info[0] >= 3 and sys.version_info[1] >= 8:
325+
requires.append('distro')
326+
if sys.version_info[0] >= 3 and sys.version_info[1] >= 13:
327+
requires.append('legacycrypt')
327328

328329
modules = [] # pylint: disable=invalid-name
329330

tests_e2e/orchestrator/lib/agent_test_suite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ def read_file(path: str) -> str:
938938
template: Dict[str, Any] = json.loads(read_file(str(self._test_source_directory/"orchestrator"/"templates/vmss.json")))
939939

940940
# Scale sets for some images need to be deployed with 'plan' property
941-
plan_required_images = ["almalinux", "kinvolk", "erockyenterprisesoftwarefoundationinc1653071250513"]
941+
plan_required_images = ["almalinux", "kinvolk", "resf"]
942942
if publisher in plan_required_images:
943943
resources: List[Dict[str, Any]] = template.get('resources')
944944
for resource in resources:

tests_e2e/test_suites/images.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ images:
191191
AzureChinaCloud: []
192192
AzureUSGovernment: []
193193
rocky_9:
194-
urn: "erockyenterprisesoftwarefoundationinc1653071250513 rockylinux-9 rockylinux-9 latest"
194+
urn: "resf rockylinux-x86_64 9-base latest"
195195
locations:
196196
AzureChinaCloud: []
197197
AzureUSGovernment: []

0 commit comments

Comments
 (0)