python3Packages.pulumi-aws: fix version in pyproject.toml

This commit is contained in:
Kirill Radzikhovskyy
2026-01-03 10:40:08 +11:00
parent 964df80fb9
commit bc85ae629a
@@ -26,6 +26,14 @@ buildPythonPackage rec {
sourceRoot = "${src.name}/sdk/python";
postPatch = ''
# We need the version of pulumi-aws in its package metadata to be accurate
# as this seems to be used to determine which version of the
# pulumi-resource-aws plugin to be dynamically downloaded by the pulumi CLI
substituteInPlace pyproject.toml \
--replace-fail "7.0.0a0+dev" "${version}"
'';
build-system = [ setuptools ];
dependencies = [