feat: make Cloudbender work with Python 3.12
This commit is contained in:
parent
5f4758228f
commit
dbaa1412a9
@ -8,7 +8,6 @@ import pathlib
|
|||||||
import pprint
|
import pprint
|
||||||
import pulumi
|
import pulumi
|
||||||
import importlib
|
import importlib
|
||||||
import pkg_resources
|
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from dateutil.tz import tzutc
|
from dateutil.tz import tzutc
|
||||||
@ -1313,7 +1312,7 @@ class Stack(object):
|
|||||||
opts=self.pulumi_ws_opts,
|
opts=self.pulumi_ws_opts,
|
||||||
)
|
)
|
||||||
pulumi_stack.workspace.install_plugin(
|
pulumi_stack.workspace.install_plugin(
|
||||||
"aws", pkg_resources.get_distribution("pulumi_aws").version
|
"aws", importlib.metadata.Distribution("pulumi_aws").version
|
||||||
)
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -11,14 +11,14 @@ authors = [
|
|||||||
description = "Deploy and maintain infrastructure in automated and trackable manner"
|
description = "Deploy and maintain infrastructure in automated and trackable manner"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"boto3==1.35.15",
|
"boto3==1.35.15",
|
||||||
"mock==5.1.0",
|
"mock==5.1.0",
|
||||||
"Jinja2==3.1.4",
|
"Jinja2==3.1.4",
|
||||||
"click==8.1.7",
|
"click==8.1.7",
|
||||||
"pexpect==4.9.0",
|
"pexpect==4.9.0",
|
||||||
"python-minifier==2.9.0",
|
"python-minifier==2.11.2",
|
||||||
"cfn-lint==1.12.4",
|
"cfn-lint==1.12.4",
|
||||||
"ruamel.yaml==0.18.6",
|
"ruamel.yaml==0.18.6",
|
||||||
"pulumi==3.131.0",
|
"pulumi==3.131.0",
|
||||||
@ -26,6 +26,7 @@ dependencies = [
|
|||||||
"pulumi-aws-native==0.121.0",
|
"pulumi-aws-native==0.121.0",
|
||||||
"pulumi-policy==1.12.0",
|
"pulumi-policy==1.12.0",
|
||||||
"pulumi-command==1.0.1",
|
"pulumi-command==1.0.1",
|
||||||
|
"pulumi_random==4.16.6",
|
||||||
]
|
]
|
||||||
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user