Skip to content

ci: bump GitHub actions to v7 and move CI to Python 3.10 - #725

Merged
crungehottman merged 1 commit into
release-engineering:masterfrom
crungehottman:ci-bump-actions-python310
Nov 4, 2026
Merged

crungehottman merged 1 commit into
release-engineering:masterfrom
crungehottman:ci-bump-actions-python310

Conversation

@crungehottman

Copy link
Copy Markdown
Member

CI jobs were failing at the "Setup Python" step with "Version 3.9 with arch x64 not found": the ubuntu-latest runner image rolled (~2026-10-27) and dropped Python 3.9 from its tool cache, and actions/setup-python@v2 is too old to download it from the version manifest. Every tox job (static, coverage, docs, bandit, bandit-exitzero) aborted during setup before running.

  • Bump actions/checkout and actions/setup-python to v7 across all workflows, including release.yml (which would otherwise break the next PyPI publish).
  • Move the test/static/docs/bandit jobs and the tox envlist off EOL Python 3.9 to 3.10; release builds on 3.13.

CI jobs were failing at the "Setup Python" step with "Version 3.9 with
arch x64 not found": the ubuntu-latest runner image rolled (~2026-10-27)
and dropped Python 3.9 from its tool cache, and actions/setup-python@v2
is too old to download it from the version manifest. Every tox job
(static, coverage, docs, bandit, bandit-exitzero) aborted during setup
before running.

- Bump actions/checkout and actions/setup-python to v7 across all
  workflows, including release.yml (which would otherwise break the next
  PyPI publish).
- Move the test/static/docs/bandit jobs and the tox envlist off EOL
  Python 3.9 to 3.10; release builds on 3.13.
- Regenerate requirements.txt and test-requirements.txt under Python 3.10
  (tox -e pip-compile). The 3.9-pinned lockfile did not resolve under
  3.10: virtualenv requires filelock>=3.24.2 for python_version >= "3.10",
  conflicting with the previously pinned filelock==3.19.1.
- Move the "pragma: no cover" on the entry_points import shim to the
  <3.10 branch so coverage stays at 100% when measured on Python 3.10.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crungehottman
crungehottman force-pushed the ci-bump-actions-python310 branch from 7f31644 to d7f58ff Compare November 2, 2026 22:13
@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e4bbe71) to head (d7f58ff).

Additional details and impacted files
@@            Coverage Diff             @@
##            master      #725    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           59        59            
  Lines         2736      2875   +139     
==========================================
+ Hits          2736      2875   +139     
Flag Coverage Δ
unit-tests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@crungehottman
crungehottman merged commit 2ee6ccd into release-engineering:master Nov 4, 2026
8 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