Skip to content

Commit

Permalink
Fix: do not over-specify SDK versions (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 authored Oct 1, 2024
1 parent f5c03b5 commit 22ae8bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
6 changes: 0 additions & 6 deletions provider/cmd/pulumi-resource-aws-native/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,6 @@
"workspacesweb": "WorkSpacesWeb",
"xray": "XRay"
},
"packageReferences": {
"Pulumi": "3.*"
},
"respectSchemaVersion": true
},
"go": {
Expand All @@ -260,9 +257,6 @@
"pyproject": {
"enabled": true
},
"requires": {
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
},
"respectSchemaVersion": true
}
},
Expand Down
8 changes: 1 addition & 7 deletions provider/pkg/schema/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,6 @@ func GatherPackage(supportedResourceTypes []string, jsonSchemas []*jsschema.Sche
})
p.Language["python"] = rawMessage(map[string]interface{}{
"respectSchemaVersion": true,
"requires": map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
"pyproject": map[string]bool{
"enabled": true,
},
Expand Down Expand Up @@ -531,10 +528,7 @@ func GatherPackage(supportedResourceTypes []string, jsonSchemas []*jsschema.Sche

p.Language["csharp"] = rawMessage(map[string]interface{}{
"respectSchemaVersion": true,
"packageReferences": map[string]string{
"Pulumi": "3.*",
},
"namespaces": csharpNamespaces,
"namespaces": csharpNamespaces,
})

// Add CFN intrinsics.
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Pulumi.AwsNative.csproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22ae8bc

Please sign in to comment.