Compare commits

...

10 Commits

5 changed files with 21 additions and 14 deletions

View File

@ -1,5 +1,5 @@
ARG RUNTIME_VERSION="3.11"
ARG DISTRO_VERSION="3.18"
ARG DISTRO_VERSION="3.19"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder
ARG RUNTIME_VERSION="3.11"

View File

@ -444,7 +444,13 @@ def _provision(cb, stacks):
"""Utility function to reuse code between tasks"""
for step in sort_stacks(cb, stacks):
if step:
with ThreadPoolExecutor(max_workers=len(step)) as group:
# Pulumi is still not thread safe
if _anyPulumi(step):
_threads = 1
else
_threads = len(step)
with ThreadPoolExecutor(max_workers=_threads)) as group:
futures = []
for stack in step:
if stack.mode != "pulumi":

View File

@ -146,7 +146,7 @@ def pulumi_ws(func):
try:
_min_version = self._pulumi_code.MIN_CLOUDBENDER_VERSION
if semver.compare(
__version__.strip("v"),
semver.Version.parse(__version__.strip("v")).finalize_version(),
_min_version.strip("v")) < 0:
raise ValueError(
f"Minimal required CloudBender version is {_min_version}, but we are {__version__}!"

View File

@ -13,19 +13,19 @@ readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.9"
dependencies = [
"boto3==1.28.70",
"boto3==1.34.89",
"mock==5.1.0",
"Jinja2==3.1.2",
"Jinja2==3.1.3",
"click==8.1.7",
"pexpect==4.8.0",
"pexpect==4.9.0",
"python-minifier==2.9.0",
"cfn-lint==0.83.0",
"ruamel.yaml==0.18.2",
"pulumi==3.89.0",
"pulumi-aws==6.6.1",
"pulumi-aws-native==0.82.0",
"pulumi-policy==1.7.0",
"pulumi-command==0.9.1",
"cfn-lint==0.86.4",
"ruamel.yaml==0.18.6",
"pulumi==3.113.3",
"pulumi-aws==6.32.0",
"pulumi-aws-native==0.103.0",
"pulumi-policy==1.11.0",
"pulumi-command==0.10.0",
]
classifiers = [

View File

@ -3,7 +3,8 @@
"extends": [
"config:recommended",
":label(renovate)",
":semanticCommits"
":semanticCommits",
"group:allNonMajor"
],
"prHourlyLimit": 0
}