From 790caeb9a7ead41f5c2dbfc0968ac0fc08a7db70 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Tue, 5 Dec 2023 16:40:03 -0700 Subject: [PATCH 2/2] fix(python3.13): Fix import error for passlib on Python 3.13 (#4669) RH-Author: xiachen RH-MergeRequest: 111: Fix metric setting for ifcfg network connections for rhel (#5777) RH-Jira: RHEL-61224 RH-Acked-by: Ani Sinha RH-Acked-by: Emanuele Giuseppe Esposito RH-Commit: [2/2] dc6114a60280bac272bb355f4ea4d4d5d3bc240a (xiachen/cloud-init-centos) (cherry picked from commit 09b70436b3a0aae1fe24fdde6e8cdd7ee98d9c15) Signed-off-by: Amy Chen --- cloudinit/sources/DataSourceAzure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index eb0304c3..93921010 100644 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -58,7 +58,7 @@ try: ) except (ImportError, AttributeError): try: - import passlib + import passlib.hash blowfish_hash = passlib.hash.sha512_crypt.hash except ImportError: -- 2.39.3