fix: make Python3.12 work
Some checks failed
ZeroDownTime/CloudBender/pipeline/head There was a failure building this commit
ZeroDownTime/CloudBender/pipeline/tag There was a failure building this commit

This commit is contained in:
Stefan Reimer 2024-11-27 17:32:45 +00:00
parent 6cd64e54a8
commit 665a2cb09c

View File

@ -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: