Skip to content

Commit

Permalink
Bump the minimal required pulumi version for Python to 3.134.1 (#3611)
Browse files Browse the repository at this point in the history
3.134.0 of pu/pu shipped the codegen version that relies on
functionality present in the same 3.134.1 version of the SDK. We need to
set a minimal requirement to this version to make invokes work again.

Related: pulumi/pulumi#17275

Fix #3610
  • Loading branch information
mikhailshilkov authored Oct 1, 2024
1 parent fe9c8a8 commit 6929491
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-azure-native/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@
},
"readme": "The native Azure provider package offers support for all Azure Resource Manager (ARM)\nresources and their properties. Resources are exposed as types from modules based on Azure Resource\nProviders such as 'compute', 'network', 'storage', and 'web', among many others. Using this package\nallows you to programmatically declare instances of any Azure resource and any supported resource\nversion using infrastructure as code, which Pulumi then uses to drive the ARM API.",
"requires": {
"pulumi": "\u003e=3.35.0,\u003c4.0.0"
"pulumi": "\u003e=3.134.1,\u003c4.0.0"
},
"respectSchemaVersion": true,
"usesIOClasses": true
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/gen/__snapshots__/gen_vnet_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10991,7 +10991,7 @@
},
"readme": "The native Azure provider package offers support for all Azure Resource Manager (ARM)\nresources and their properties. Resources are exposed as types from modules based on Azure Resource\nProviders such as 'compute', 'network', 'storage', and 'web', among many others. Using this package\nallows you to programmatically declare instances of any Azure resource and any supported resource\nversion using infrastructure as code, which Pulumi then uses to drive the ARM API.",
"requires": {
"pulumi": "\u003e=3.35.0,\u003c4.0.0"
"pulumi": "\u003e=3.134.1,\u003c4.0.0"
},
"respectSchemaVersion": true,
"usesIOClasses": true
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/gen/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ version using infrastructure as code, which Pulumi then uses to drive the ARM AP
pkg.Language["python"] = rawMessage(map[string]interface{}{
"moduleNameOverrides": pythonModuleNames,
"requires": map[string]string{
"pulumi": ">=3.35.0,<4.0.0",
"pulumi": ">=3.134.1,<4.0.0",
},
"usesIOClasses": true,
"inputTypes": "classes-and-dicts",
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "pulumi_azure_native"
description = "A native Pulumi package for creating and managing Azure resources."
dependencies = ["parver>=0.2.1", "pulumi>=3.35.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]
dependencies = ["parver>=0.2.1", "pulumi>=3.134.1,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]
keywords = ["pulumi", "azure", "azure-native", "category/cloud", "kind/native"]
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit 6929491

Please sign in to comment.