+ pep-594-drop-pipes.patch, gh#canonical/cloud-init#4392 + cloud-init-fix-python313.patch, gh#canonical/cloud-init#4669 + cloud-init-dont-assume-ordering-of-ThreadPoolExecutor.patch gh#canonical/cloud-init#5052 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=241
23 lines
794 B
Diff
23 lines
794 B
Diff
From bed5ae7f777e0e4bcb5609622385ee94751c03ce Mon Sep 17 00:00:00 2001
|
|
From: Brett Holman <brett.holman@canonical.com>
|
|
Date: Tue, 5 Dec 2023 13:41:13 -0700
|
|
Subject: [PATCH] fix(python3.13): Fix import error for passlib on Python 3.13
|
|
|
|
---
|
|
cloudinit/sources/DataSourceAzure.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: cloud-init-23.3/cloudinit/sources/DataSourceAzure.py
|
|
===================================================================
|
|
--- cloud-init-23.3.orig/cloudinit/sources/DataSourceAzure.py
|
|
+++ cloud-init-23.3/cloudinit/sources/DataSourceAzure.py
|
|
@@ -55,7 +55,7 @@ try:
|
|
)
|
|
except (ImportError, AttributeError):
|
|
try:
|
|
- import passlib
|
|
+ import passlib.hash
|
|
|
|
blowfish_hash = passlib.hash.sha512_crypt.hash
|
|
except ImportError:
|