cloud-init/SOURCES/ci-Fix-import-error-for-passlib-on-Python-3.13.patch
eabdullin 8e36dd5e7f - Fix import error for passlib on Python 3.13
(#4669)
- Fix metric setting for ifcfg network connections for rhel
 (#5777)
- fix: Render bridges correctly for v2 on sysconfig with
 set-name (#5674)
- fix: Render v2 bridges correctly on network-manager with
 set-name (#5740)
- Prevent NM from handling DNS when network interfaces have DNS
 config (#5846)
- refactor: Ensure internal DNS state same for v1 and v2
 (#4756)
2024-12-23 12:00:37 +03:00

24 lines
764 B
Diff

From 09b70436b3a0aae1fe24fdde6e8cdd7ee98d9c15 Mon Sep 17 00:00:00 2001
From: Brett Holman <brett.holman@canonical.com>
Date: Tue, 5 Dec 2023 16:40:03 -0700
Subject: [PATCH] fix(python3.13): Fix import error for passlib on Python 3.13
(#4669)
---
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 11c14e2001f..4c5780f767d 100644
--- a/cloudinit/sources/DataSourceAzure.py
+++ b/cloudinit/sources/DataSourceAzure.py
@@ -58,7 +58,7 @@
)
except (ImportError, AttributeError):
try:
- import passlib
+ import passlib.hash
blowfish_hash = passlib.hash.sha512_crypt.hash
except ImportError: