Skip to content

Commit 75da01d

Browse files
Update first-party Pulumi dependencies to v3.158.0 (#1741)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/pulumi/pulumi/pkg/v3](https://redirect.github.com/pulumi/pulumi) | require | minor | `v3.157.0` -> `v3.158.0` | | [github.com/pulumi/pulumi/sdk/v3](https://redirect.github.com/pulumi/pulumi) | require | minor | `v3.157.0` -> `v3.158.0` | --- ### Release Notes <details> <summary>pulumi/pulumi (github.com/pulumi/pulumi/pkg/v3)</summary> ### [`v3.158.0`](https://redirect.github.com/pulumi/pulumi/releases/tag/v3.158.0) [Compare Source](https://redirect.github.com/pulumi/pulumi/compare/v3.157.0...v3.158.0) ##### 3.158.0 (2025-03-24) ##### Features - \[sdkgen] Aliases in provider schemas can now be set with just an array of strings for the aliased types [#&#8203;18925](https://redirect.github.com/pulumi/pulumi/pull/18925) - \[cli/engine] Allow targets to be excluded with the `--exclude` flag. `--exclude-dependents` can also be used to exclude all children of an excluded target as well [#&#8203;18828](https://redirect.github.com/pulumi/pulumi/pull/18828) - \[sdk/{go,python}] Add pulumiResourceName and pulumiResourceType to get the runtime name and type token for resources [#&#8203;18959](https://redirect.github.com/pulumi/pulumi/pull/18959) - \[cli/{install,package}] Install package SDKs on `pulumi install` [#&#8203;18940](https://redirect.github.com/pulumi/pulumi/pull/18940) - \[programgen/nodejs] Add tryOutput generation to nodejs [#&#8203;18852](https://redirect.github.com/pulumi/pulumi/pull/18852) - \[sdk/{nodejs,python}] Report an error when no components are found [#&#8203;18988](https://redirect.github.com/pulumi/pulumi/pull/18988) - \[cli/package] Add experimental package publishing command [#&#8203;18818](https://redirect.github.com/pulumi/pulumi/pull/18818) - \[cli/package] Allow overriding name and namespace of plugins in PulumiPlugin.yaml [#&#8203;18990](https://redirect.github.com/pulumi/pulumi/pull/18990) - \[sdk/yaml] Upgrade pulumi-yaml to 1.15.0 [#&#8203;19002](https://redirect.github.com/pulumi/pulumi/pull/19002) ##### Bug Fixes - \[cli/display] Don't print "same" outputs in `--refresh` [#&#8203;18943](https://redirect.github.com/pulumi/pulumi/pull/18943) - \[engine sdk/go] Allow retain on delete to be overridden back to false by child resources that inherit it [#&#8203;18956](https://redirect.github.com/pulumi/pulumi/pull/18956) - \[cli/{install,package}] Avoid duplicate packages in requirements.txt [#&#8203;18972](https://redirect.github.com/pulumi/pulumi/pull/18972) - \[cli/state] State rename no longer overly strictly validates resources names [#&#8203;18938](https://redirect.github.com/pulumi/pulumi/pull/18938) - \[pkg] The `refresh` command now respects `TargetDependents` [#&#8203;18905](https://redirect.github.com/pulumi/pulumi/pull/18905) - \[sdk/python] Report better error messages for various error cases [#&#8203;18983](https://redirect.github.com/pulumi/pulumi/pull/18983) - \[sdk/python] Remove the dev dependency on `pytest-watch` [#&#8203;19008](https://redirect.github.com/pulumi/pulumi/pull/19008) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiaW1wYWN0L25vLWNoYW5nZWxvZy1yZXF1aXJlZCJdfQ==--> --------- Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com> Co-authored-by: Fraser Waters <[email protected]>
1 parent 2906255 commit 75da01d

File tree

6 files changed

+15
-22
lines changed

6 files changed

+15
-22
lines changed

pkg/codegen/java/gen.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -917,15 +917,7 @@ func genAlias(ctx *classFileContext, alias *schema.Alias) {
917917
w := ctx.writer
918918
fprintf(w, "%s.of(", ctx.ref(names.Output))
919919
fprintf(w, "%s.builder()", ctx.ref(names.Alias))
920-
if alias.Name != nil {
921-
fprintf(w, ".name(\"%v\")", *alias.Name)
922-
}
923-
if alias.Project != nil {
924-
fprintf(w, ".project(\"%v\")", *alias.Project)
925-
}
926-
if alias.Type != nil {
927-
fprintf(w, ".type(\"%v\")", *alias.Type)
928-
}
920+
fprintf(w, ".type(\"%v\")", alias.Type)
929921
fprintf(w, ".build()")
930922
fprintf(w, ")")
931923
}

pkg/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ require (
1414
github.com/hashicorp/hcl/v2 v2.23.0
1515
github.com/hexops/autogold/v2 v2.2.1
1616
github.com/pkg/errors v0.9.1
17-
github.com/pulumi/pulumi/pkg/v3 v3.157.0
18-
github.com/pulumi/pulumi/sdk/v3 v3.157.0
17+
github.com/pulumi/pulumi/pkg/v3 v3.158.0
18+
github.com/pulumi/pulumi/sdk/v3 v3.158.0
1919
github.com/spf13/cobra v1.9.1
2020
github.com/stretchr/testify v1.10.0
2121
github.com/zclconf/go-cty v1.16.2

pkg/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE=
449449
github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c=
450450
github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+SobA=
451451
github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY=
452-
github.com/pulumi/pulumi/pkg/v3 v3.157.0 h1:jGfoqnBJkk/zjbsLYwLtZxqmqRa2yVj9747dzyqsJMM=
453-
github.com/pulumi/pulumi/pkg/v3 v3.157.0/go.mod h1:thgbPRQSsJypVuxPSD/ZjD2lO90HBrprpRR9KVdi8ZM=
454-
github.com/pulumi/pulumi/sdk/v3 v3.157.0 h1:wqIN+JM/igzOC+XXdch0UKYr3V3k/hjpgt3sS3GzX84=
455-
github.com/pulumi/pulumi/sdk/v3 v3.157.0/go.mod h1:YEbbl0N7eVsgfsL7h5215dDf8GBSe4AnRon7Ya/KIVc=
452+
github.com/pulumi/pulumi/pkg/v3 v3.158.0 h1:1918lSY8k/jjBSvsY54E2edwruzNiK3mfWO71VcmiOI=
453+
github.com/pulumi/pulumi/pkg/v3 v3.158.0/go.mod h1:7kv+/BACCE65VPH2RNowSgFQOL3EQXLlmQGshTX8qJI=
454+
github.com/pulumi/pulumi/sdk/v3 v3.158.0 h1:4N2WN1fLQiVCulLH+6O+RMUxsqVwb+2ybLV/1FuyeVU=
455+
github.com/pulumi/pulumi/sdk/v3 v3.158.0/go.mod h1:YEbbl0N7eVsgfsL7h5215dDf8GBSe4AnRon7Ya/KIVc=
456456
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
457457
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
458458
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=

tests/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.5.0
99
replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
1010

1111
require (
12-
github.com/pulumi/pulumi/pkg/v3 v3.157.0
13-
github.com/pulumi/pulumi/sdk/v3 v3.157.0
12+
github.com/pulumi/pulumi/pkg/v3 v3.158.0
13+
github.com/pulumi/pulumi/sdk/v3 v3.158.0
1414
github.com/stretchr/testify v1.10.0
1515
)
1616

tests/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435
335335
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
336336
github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE=
337337
github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c=
338-
github.com/pulumi/pulumi/pkg/v3 v3.157.0 h1:jGfoqnBJkk/zjbsLYwLtZxqmqRa2yVj9747dzyqsJMM=
339-
github.com/pulumi/pulumi/pkg/v3 v3.157.0/go.mod h1:thgbPRQSsJypVuxPSD/ZjD2lO90HBrprpRR9KVdi8ZM=
340-
github.com/pulumi/pulumi/sdk/v3 v3.157.0 h1:wqIN+JM/igzOC+XXdch0UKYr3V3k/hjpgt3sS3GzX84=
341-
github.com/pulumi/pulumi/sdk/v3 v3.157.0/go.mod h1:YEbbl0N7eVsgfsL7h5215dDf8GBSe4AnRon7Ya/KIVc=
338+
github.com/pulumi/pulumi/pkg/v3 v3.158.0 h1:1918lSY8k/jjBSvsY54E2edwruzNiK3mfWO71VcmiOI=
339+
github.com/pulumi/pulumi/pkg/v3 v3.158.0/go.mod h1:7kv+/BACCE65VPH2RNowSgFQOL3EQXLlmQGshTX8qJI=
340+
github.com/pulumi/pulumi/sdk/v3 v3.158.0 h1:4N2WN1fLQiVCulLH+6O+RMUxsqVwb+2ybLV/1FuyeVU=
341+
github.com/pulumi/pulumi/sdk/v3 v3.158.0/go.mod h1:YEbbl0N7eVsgfsL7h5215dDf8GBSe4AnRon7Ya/KIVc=
342342
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
343343
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
344344
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=

tests/templates/java_templates_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ func checkTemplate(t *testing.T, templateCfg templateConfig) {
6969
defer fileEdit.Revert()
7070
}
7171

72-
cmdArgs := []string{"new", templateDir(t, templateName), "-f", "--yes", "-s", "template-test"}
72+
projectName := ptesting.RandomStackName()
73+
cmdArgs := []string{"new", templateDir(t, templateName), "-f", "--yes", "-n", projectName, "-s", "template-test"}
7374
e.RunCommand("pulumi", cmdArgs...)
7475
if t.Failed() {
7576
t.FailNow()

0 commit comments

Comments
 (0)