Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove NodeJS and Python install scripts #13800

Merged
merged 1 commit into from Aug 30, 2023
Merged

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Aug 27, 2023

Description

Fixes #13754.
Fixes #13709.

This removes the install scripts that we generated as part of NodeJS and Python packages. As we move to Python wheels we'll no longer have an way to run these scripts (see #13709). That would leave NodeJS as the only language which supports this feature.

So for consistency and simplicity just remove it from everywhere.

Users who still want to ensure plugins are installed upfront (before up or similar runs) can run pulumi plugin install to install all the current project plugins.

Checklist

  • I have run make tidy to update any new dependencies
  • I have run make lint to verify my code passes the lint check
    • I have formatted my code using gofumpt
  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version

Fixes #13754.
Fixes #13709.

This removes the install scripts that we generated as part of NodeJS and
Python packages. As we move to Python wheels we'll no longer have an way
to run these scripts (see #13709). That would leave NodeJS as the only
language which supports this feature.

So for consistency and simplicity just remove it from everywhere.

Users who still want to ensure plugins are installed upfront (before
`up` or similar runs) can run `pulumi plugin install` to install all the
current project plugins.
@pulumi-bot
Copy link
Contributor

Changelog

[uncommitted] (2023-08-27)

Features

  • [sdkgen/{nodejs,python}] NodeJS and Python packages no longer running plugin install scripts on package install.
    #13800

@Frassle Frassle requested a review from a team August 27, 2023 10:09
Copy link
Contributor

@Zaid-Ajaj Zaid-Ajaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@Frassle Frassle added this pull request to the merge queue Aug 30, 2023
Merged via the queue into master with commit 423e1b7 Aug 30, 2023
48 checks passed
@Frassle Frassle deleted the fraser/removeInstallScripts branch August 30, 2023 09:35
guineveresaenger added a commit to pulumi/pulumi-package-publisher that referenced this pull request Sep 11, 2023
As per pulumi/pulumi#13800 (Pulumi v3.80.x ff),
we no longer support extra runtime install scripts in the Node SDK.
This pull request removes that logic during publishing.

This change will go into effect when updating this Action in
pulumi/ci-mgmt.

Part of #12 .
@omercnet
Copy link

this is a breaking change to all existing bridged providers, do you have a way to communicate this to the greater community?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants