Skip to content

Commit

Permalink
Set range in python codegen default SDK version
Browse files Browse the repository at this point in the history
If the schema doesn't set any specific dependencies, we should be defaulting to requiring pulumi within the current major version rather than completely unconstrained.

Discussion: https://github.com/pulumi/pulumi-kafka/pull/410/files#r1594324390
  • Loading branch information
danielrbradley committed May 8, 2024
1 parent 82c546d commit d24d812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/codegen/python/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -3165,7 +3165,7 @@ func ensureValidPulumiVersion(requires map[string]string) (map[string]string, er
// This is just legacy functionality; there's no obvious reason this should be the case.
if len(requires) == 0 {
result := map[string]string{
"pulumi": "",
"pulumi": ">=3.0.0,<4.0.0",
}
return result, nil
}
Expand Down

0 comments on commit d24d812

Please sign in to comment.