feat: make Cloudbender work with Python 3.12
Some checks failed
ZeroDownTime/CloudBender/pipeline/head There was a failure building this commit

This commit is contained in:
Stefan Reimer 2024-10-23 12:17:25 +00:00
parent 5f4758228f
commit dbaa1412a9
2 changed files with 4 additions and 4 deletions

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
@ -1313,7 +1312,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:

View File

@ -11,14 +11,14 @@ authors = [
description = "Deploy and maintain infrastructure in automated and trackable manner"
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.11"
requires-python = ">=3.12"
dependencies = [
"boto3==1.35.15",
"mock==5.1.0",
"Jinja2==3.1.4",
"click==8.1.7",
"pexpect==4.9.0",
"python-minifier==2.9.0",
"python-minifier==2.11.2",
"cfn-lint==1.12.4",
"ruamel.yaml==0.18.6",
"pulumi==3.131.0",
@ -26,6 +26,7 @@ dependencies = [
"pulumi-aws-native==0.121.0",
"pulumi-policy==1.12.0",
"pulumi-command==1.0.1",
"pulumi_random==4.16.6",
]
classifiers = [