Skip to content

Update workflows to latest version#171

Merged
devin-roffman-emerson merged 1 commit intomainfrom
users/droffman/python311
Apr 9, 2026
Merged

Update workflows to latest version#171
devin-roffman-emerson merged 1 commit intomainfrom
users/droffman/python311

Conversation

@devin-roffman-emerson
Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

Updates all GitHub Actions workflows to use modern action versions and Python 3.11 for builds:

  • actions/checkout@v2@v4 (v2 uses a deprecated Node.js runtime)
  • actions/setup-python@v2@v5 (v2 cannot reliably install Python 3.11+)
  • python-version: 3.63.11 in publish-pypi, publish-testpypi, and test-build-install workflows
  • pypa/gh-action-pypi-publish updated from a pinned 2021 commit hash to release/v1
  • lint.yml action versions updated (Python version unchanged at 3.10)

Why should this Pull Request be merged?

  • Python 3.6 reached end-of-life in December 2021 and is no longer available in actions/setup-python@v5, which will cause workflow failures.
  • actions/checkout@v2 and actions/setup-python@v2 use a deprecated Node.js runtime and will stop working on newer GitHub runners.
  • The pinned pypa/gh-action-pypi-publish commit is ~5 years old and missing security fixes.
  • The build produces a pure Python wheel (py3-none-any), so building with 3.11 is fully backwards compatible — the wheel installs on any Python >=3.6 as declared in setup.cfg.

What testing has been done?

  • I have run the automated tests (required if there are code changes)

No code changes — only CI workflow files were modified. Recommend triggering the TestPyPI publish workflow (workflow_dispatch) after merge to verify end-to-end.

@devin-roffman-emerson devin-roffman-emerson merged commit 050c3d6 into main Apr 9, 2026
3 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.

1 participant