Skip to content

Add auto-upgrade workflow for embedded dependencies#3057

Merged
gaborbernat merged 3 commits into
pypa:mainfrom
rahuldevikar:users/rahuldevikar/auto-upgrade-workflow
Feb 23, 2026
Merged

Add auto-upgrade workflow for embedded dependencies#3057
gaborbernat merged 3 commits into
pypa:mainfrom
rahuldevikar:users/rahuldevikar/auto-upgrade-workflow

Conversation

@rahuldevikar

Copy link
Copy Markdown
Contributor

Add a daily GitHub Actions workflow that:

  • Runs tox -e upgrade to check for new pip/setuptools/wheel releases
  • Automatically creates a PR with updated embedded wheels when new versions are detected
  • Includes a job summary showing what changed
  • Restricted to pypa org to avoid running on forks

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

@rahuldevikar rahuldevikar force-pushed the users/rahuldevikar/auto-upgrade-workflow branch 2 times, most recently from d7f5464 to e59afaf Compare February 19, 2026 17:14
@rahuldevikar rahuldevikar force-pushed the users/rahuldevikar/auto-upgrade-workflow branch from e59afaf to f371ee9 Compare February 19, 2026 17:49
@rahuldevikar rahuldevikar marked this pull request as ready for review February 19, 2026 18:19

@gaborbernat gaborbernat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We need to implement a slight delay window here by default to follow our delay policy: https://virtualenv.pypa.io/en/latest/explanation.html#periodic-update-mechanism

Generally we wait at least a week before we pull in a new wheel as embedded.

Comment thread .github/workflows/upgrade.yaml Outdated

This PR was created automatically by the [upgrade workflow](https://github.com/${{ github.repository }}/actions/workflows/upgrade.yaml).

> [!NOTE]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could setup a PAT to allow it to run and go through 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I thought, it might be a security concern, but whose PAT we would use?

@gaborbernat gaborbernat Feb 19, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably mine for now 🤔 We could make it optional, and hopefully at some point can setup a fine grained PAT https://discuss.python.org/t/fine-grained-pat-approvals-and-release-automation-in-pypa-projects/106197 so only has rights to this repo and not otherwise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@gaborbernat gaborbernat marked this pull request as draft February 19, 2026 23:32
@rahuldevikar rahuldevikar marked this pull request as ready for review February 23, 2026 16:32
@gaborbernat gaborbernat merged commit ae90556 into pypa:main Feb 23, 2026
109 of 110 checks passed
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.

2 participants