Skip to content

Pnpm upgrade to 10.x and prevent script execution#59466

Merged
pierrejeambrun merged 1 commit into
apache:mainfrom
astronomer:upgrade-pnpm-and-prevent-script-execution
Dec 15, 2025
Merged

Pnpm upgrade to 10.x and prevent script execution#59466
pierrejeambrun merged 1 commit into
apache:mainfrom
astronomer:upgrade-pnpm-and-prevent-script-execution

Conversation

@pierrejeambrun
Copy link
Copy Markdown
Member

Upgrade pnpm to 10.x version.

By default pnpm 10.x blocks install scripts:
https://pnpm.io/supply-chain-security#block-risky-postinstall-scripts

For people still developing locally and using 9.x, install scripts 'almost' disables everywhere via the onlyBuiltDependencies, allowing scripts only for certain specific packages. It was missing in the fab provider one, added an empty attribute that will virtually disable scripts by defaults:
https://pnpm.io/9.x/package_json#pnpmonlybuiltdependencies

@pierrejeambrun pierrejeambrun force-pushed the upgrade-pnpm-and-prevent-script-execution branch from f3a7359 to aedddb3 Compare December 15, 2025 15:07
@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.6 milestone Dec 15, 2025
@pierrejeambrun pierrejeambrun merged commit 75e2225 into apache:main Dec 15, 2025
124 of 125 checks passed
@pierrejeambrun pierrejeambrun deleted the upgrade-pnpm-and-prevent-script-execution branch December 15, 2025 17:05
@github-actions
Copy link
Copy Markdown
Contributor

Backport failed to create: v3-1-test. View the failure log Run details

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 75e2225 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

@jscheffl
Copy link
Copy Markdown
Contributor

Cool!

pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Dec 16, 2025
@pierrejeambrun
Copy link
Copy Markdown
Member Author

pierrejeambrun commented Dec 16, 2025

Manual backport #59512

pierrejeambrun added a commit that referenced this pull request Dec 16, 2025
TempestShaw pushed a commit to TempestShaw/airflow that referenced this pull request Dec 24, 2025
ephraimbuddy pushed a commit that referenced this pull request Jan 6, 2026
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants