Skip to content

Update GitHub Actions to fix deprecation warnings and security alert#152

Merged
marchhare09 merged 1 commit into
dell:masterfrom
marchhare09:fix-deprecated-github-actions
May 21, 2026
Merged

Update GitHub Actions to fix deprecation warnings and security alert#152
marchhare09 merged 1 commit into
dell:masterfrom
marchhare09:fix-deprecated-github-actions

Conversation

@marchhare09
Copy link
Copy Markdown
Collaborator

@marchhare09 marchhare09 commented May 21, 2026

Summary

Update GitHub Actions to fix deprecation warnings and security alerts, and drop support for EOL Python versions.

GitHub Actions Updates

  • Upgrade actions/upload-artifact from v3 to v4
  • Upgrade actions/download-artifact from v3 to v4
  • Upgrade pypa/gh-action-pypi-publish from v1.5.0 to v1.14.0
  • Update runners from ubuntu-20.04 to ubuntu-22.04
  • Standardize copyright headers across workflow files

The v4 artifact actions require unique names for each upload and explicit merging when downloading multiple artifacts.Added unique artifact names (wheels-py3, sdist) and merge-multiple: true flag to maintain existing behavior.

The pypi-publish upgrade addresses Dependabot security alerts.

Python Version Updates

  • Dropped support for Python 2.7 (EOL since 2020), 3.6, and 3.7
  • Test matrix: 3.8, 3.9, 3.10, 3.11
  • Removed build_legacy and build_wheels_py27 jobs
  • Updated tox.ini envlist and gh-actions mappings
  • Updated setup.cfg: removed Python 2.7 dependencies (enum34, pathlib2), updated classifiers and python_requires to >=3.8

Future Work

Python 3.12+ support is deferred to a future PR. The pike/path.py module relies on private pathlib internals (_WindowsFlavour) that were removed in Python 3.12, requiring a more substantial refactor.

@marchhare09 marchhare09 force-pushed the fix-deprecated-github-actions branch 11 times, most recently from f81cd4f to 2f2f230 Compare May 21, 2026 16:35
GitHub Actions updates:
- Upgrade actions/upload-artifact from v3 to v4
- Upgrade actions/download-artifact from v3 to v4
- Upgrade pypa/gh-action-pypi-publish from v1.5.0 to v1.14.0
- Update runners from ubuntu-20.04 to ubuntu-22.04
- Standardize copyright headers

The v4 artifact actions require unique names for each upload and
explicit merging when downloading multiple artifacts. Added unique
names (wheels-py3, sdist) and merge-multiple flag to maintain
existing behavior.

Python version updates:
- Drop Python 2.7 support (EOL since 2020)
- Drop Python 3.6 and 3.7 support (EOL)
- Update test matrix to: 3.8, 3.9, 3.10, 3.11
- Remove build_legacy and build_wheels_py27 jobs
- Update tox.ini envlist and gh-actions mappings
- Update setup.cfg: removed Python 2.7 dependencies (enum34,
  pathlib2), updated classifiers and python_requires to >=3.8

Note: Python 3.12+ support is deferred to a future PR. The pike/path.py
module relies on private pathlib internals (_WindowsFlavour) that were
removed in Python 3.12, requiring a more substantial refactor.

The pypi-publish upgrade addresses Dependabot security alerts.
@marchhare09 marchhare09 force-pushed the fix-deprecated-github-actions branch from 2f2f230 to 7b65b80 Compare May 21, 2026 16:40
@marchhare09 marchhare09 merged commit 3188674 into dell:master May 21, 2026
7 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