Skip to content

[Repo Assist] ci: fix Python version from 3.10 to 3.12 in build-and-test workflow #249

@github-actions

Description

@github-actions

🤖 This is an automated pull request from Repo Assist.

Problem

The build-and-test.yml CI workflow was running tests with Python 3.10, but pyproject.toml declares requires-python = ">= 3.12, < 4". This means CI was validating the project against an unsupported Python version, and could silently miss regressions or syntax issues that only affect Python 3.12+.

Fix

Bumped the python-version in actions/setup-python from '3.10' to '3.12' — the minimum supported version per the project's own metadata.

Trade-offs

  • Choosing the minimum supported version (3.12) rather than the latest (3.13) ensures we're testing the lower bound of the compatibility range. If the project wants to also test the latest Python, a matrix build could be added in a follow-up.
  • No functional code changes; CI-only.

Checklist

  • Changed python-version in .github/workflows/build-and-test.yml
  • Updated CHANGELOG.md under ## Unreleased

Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 24486771064 -n agent -D /tmp/agent-24486771064

# Create a new branch
git checkout -b repo-assist/eng-fix-ci-python-version-2026-04-16-a83b578c31605715 main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-24486771064/aw-repo-assist-eng-fix-ci-python-version-2026-04-16.patch

# Push the branch and create the pull request
git push origin repo-assist/eng-fix-ci-python-version-2026-04-16-a83b578c31605715
gh pr create --title '[Repo Assist] ci: fix Python version from 3.10 to 3.12 in build-and-test workflow' --base main --head repo-assist/eng-fix-ci-python-version-2026-04-16-a83b578c31605715 --repo fable-compiler/Fable.Python

Note

🔒 Integrity filter blocked 20 items

The following items were blocked because they don't meet the GitHub integrity level.

  • support for asynchronous context managers #134 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • allow TextIOWrapper to be enumerated #131 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • auto pip installation of dependencies during compilation of scripts #117 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • typeshed: generate bindings automatically ~ python glutinum? #115 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Pandas binding #65 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Support for Attributes? #48 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • string format specifier '{i:X4}' not working #36 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Create Pyi parser #22 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • Roadmap #15 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • How does it generate the python source from AST? #5 list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #15 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #22 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #36 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #48 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #134 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 4 more items

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Repo Assist · ● 1.2M ·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions