From 665a2cb09ce5f93a9ed56376b1fe5926ebca6854 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 27 Nov 2024 17:32:45 +0000 Subject: [PATCH] fix: make Python3.12 work --- cloudbender/stack.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudbender/stack.py b/cloudbender/stack.py index 966de34..4e65b0b 100644 --- a/cloudbender/stack.py +++ b/cloudbender/stack.py @@ -8,7 +8,6 @@ import pathlib import pprint import pulumi import importlib -import pkg_resources from datetime import datetime, timedelta from dateutil.tz import tzutc @@ -1321,7 +1320,7 @@ class Stack(object): opts=self.pulumi_ws_opts, ) pulumi_stack.workspace.install_plugin( - "aws", pkg_resources.get_distribution("pulumi_aws").version + "aws", importlib.metadata.distribution("pulumi_aws").version ) else: