fix: make Python3.12 work
This commit is contained in:
parent
6cd64e54a8
commit
665a2cb09c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user