Skip to content

Update GitHub workflows to Python 3.10#194

Merged
mishushakov merged 5 commits intomainfrom
mishushakov/py313-workflows
Mar 11, 2026
Merged

Update GitHub workflows to Python 3.10#194
mishushakov merged 5 commits intomainfrom
mishushakov/py313-workflows

Conversation

@mishushakov
Copy link
Member

@mishushakov mishushakov commented Feb 9, 2026

Summary

  • Upgrade all Python workflow jobs from Python 3.12 (and 3.10 for linting) to Python 3.13
  • Update setup-python action from v4 to v6 to support Python 3.13

Affected Workflows

  • charts_tests.yml
  • lint.yml
  • performance_tests.yml
  • python_tests.yml
  • release.yml (multiple jobs)
  • release_candidates.yml

🤖 Generated with Claude Code


Note

Medium Risk
CI behavior changes across multiple workflows by switching Python/Poetry versions and upgrading setup-python usage, which can surface runtime or dependency incompatibilities. No production code paths are modified.

Overview
Standardizes GitHub Actions workflows to source tool versions from a new .tool-versions file by adding a Parse .tool-versions step and using ${{ env.TOOL_VERSION_PYTHON }} / ${{ env.TOOL_VERSION_POETRY }} instead of hardcoded versions.

Updates multiple CI/release workflows to actions/setup-python@v6 and aligns Python/Poetry setup (including template build jobs), reducing version drift between jobs.

Written by Cursor Bugbot for commit 0f92090. This will update automatically on new commits. Configure here.

Upgrade all Python workflow jobs from Python 3.12 (and 3.10 for linting) to Python 3.13, and update setup-python action from v4 to v6 to support the new version.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Copy link
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

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

can we use .tool-versions?

Add a .tool-versions file (python 3.13, poetry 1.8.1) and use
wistia/parse-tool-versions to read versions in all workflows,
replacing hardcoded version strings with env var references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mishushakov mishushakov requested a review from jakubno February 16, 2026 19:33
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Update build_prod_template.yml to use TOOL_VERSION_PYTHON from .tool-versions
instead of hardcoded '3.13', matching the pattern used in build_test_template.yml.
This ensures consistency between test and production template builds.

Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com>
@jakubno jakubno changed the title Update GitHub workflows to Python 3.13 Update GitHub workflows to Python 3.10 Mar 11, 2026
@mishushakov mishushakov enabled auto-merge (squash) March 11, 2026 18:27
@mishushakov mishushakov merged commit 08b73a4 into main Mar 11, 2026
14 checks passed
@mishushakov mishushakov deleted the mishushakov/py313-workflows branch March 11, 2026 18:27
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.

3 participants