Skip to content

Pin provider-version-action to v1.6.0 to fix PyPI upload failures#4443

Merged
EronWright merged 2 commits into
masterfrom
copilot/update-provider-version-action
Nov 25, 2025
Merged

Pin provider-version-action to v1.6.0 to fix PyPI upload failures#4443
EronWright merged 2 commits into
masterfrom
copilot/update-provider-version-action

Conversation

Copilot AI commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Regression from #4422 inadvertently downgraded provider-version-action from v1.6 to v1.0, causing versions to be generated with +hash suffix incompatible with PyPI.

Changes

  • Updated .github/workflows/version.yml to use provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 (v1.6.0)

Fixes #4427

Original prompt

Problem

Issue #4427 occurred due to a regression caused by #4422. The root cause has been identified as an inadvertent downgrade of provider-version-action from v1.6 to v1.0, which is causing version generation issues with a +hash suffix (e.g., 3.11.0a1764123456) and subsequent Python SDK upload failures to PyPI.

Solution

Update .github/workflows/version.yml to pin provider-version-action to v1.6.0, which includes the PyPI fix.

Files to Modify

  1. .github/workflows/version.yml

Implementation

Change:

uses: pulumi/provider-version-action@7c54f136703646f7d6eaa3d3b3c877e5a805d6ab # v1

To:

uses: pulumi/provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0

Verification

After the fix:

  1. Push to master will trigger the workflow
  2. Version should be generated WITHOUT the +hash suffix (e.g., 3.11.0a1764123456)
  3. Python SDK should upload successfully to PyPI

References

This pull request was created as a result of the following prompt from Copilot chat.

Problem

Issue #4427 occurred due to a regression caused by #4422. The root cause has been identified as an inadvertent downgrade of provider-version-action from v1.6 to v1.0, which is causing version generation issues with a +hash suffix (e.g., 3.11.0a1764123456) and subsequent Python SDK upload failures to PyPI.

Solution

Update .github/workflows/version.yml to pin provider-version-action to v1.6.0, which includes the PyPI fix.

Files to Modify

  1. .github/workflows/version.yml

Implementation

Change:

uses: pulumi/provider-version-action@7c54f136703646f7d6eaa3d3b3c877e5a805d6ab # v1

To:

uses: pulumi/provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0

Verification

After the fix:

  1. Push to master will trigger the workflow
  2. Version should be generated WITHOUT the +hash suffix (e.g., 3.11.0a1764123456)
  3. Python SDK should upload successfully to PyPI

References


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Fixes #4427

The provider-version-action was inadvertently downgraded from v1.6 to v1.0
in #4422, causing version generation issues with +hash suffix that are
incompatible with PyPI.

Co-authored-by: EronWright <1775518+EronWright@users.noreply.github.com>
Copilot AI changed the title [WIP] Update provider-version-action to fix version generation issues Pin provider-version-action to v1.6.0 to fix PyPI upload failures Nov 25, 2025
Copilot AI requested a review from EronWright November 25, 2025 19:26
@EronWright

Copy link
Copy Markdown
Contributor

@copilot I approve the PR.

@EronWright EronWright marked this pull request as ready for review November 25, 2025 19:31
@EronWright EronWright merged commit 4e81e99 into master Nov 25, 2025
2 checks passed
@EronWright EronWright deleted the copilot/update-provider-version-action branch November 25, 2025 19:31
@EronWright EronWright mentioned this pull request Nov 25, 2025
1 task
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v3.11.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflow failure: master

3 participants