Skip to content

INF-1484/fix: Lower requires-python to 3.10 to unbreak consumers#23

Merged
brtkwr merged 1 commit into
mainfrom
inf-1484/requires-python-310
Jun 3, 2026
Merged

INF-1484/fix: Lower requires-python to 3.10 to unbreak consumers#23
brtkwr merged 1 commit into
mainfrom
inf-1484/requires-python-310

Conversation

@brtkwr
Copy link
Copy Markdown
Member

@brtkwr brtkwr commented Jun 3, 2026

Context

INF-1484 (#21) added pyproject.toml with requires-python = ">=3.11". The action pip-installs itself with the consumer-supplied python-version input, and 12 repos pin "3.10" in their style workflow (admin-portal, airflow-integration, buyer-portal, checkout-page, e2e-tests, mock-proxy, portals, repay, shop, two-logger, woocommerce-plugin, woocommerce-abn-plugin), so every pre-commit check in those repos now fails with:

ERROR: Package 'pre-commit-action' requires a different Python: 3.10.20 not in '>=3.11'

First seen on e2e-tests PR #413.

Changes

  • Lower requires-python to ">=3.10" with a comment explaining the coupling to consumer pins

Scope / Non-goals

  • No decoupling of the action's own interpreter from the consumer python-version input (a separate interpreter for the action scripts would be the structural fix, but this unbreaks CI now)

Validation

  • uv run --python 3.10 --with pytest --with . pytest -q19 passed
  • All five modules compile under 3.10 (py_compile)

Ticket

🤖 Generated with Claude Code

The action pip-installs itself with the consumer-supplied python-version
input, and 12 repos pin 3.10, so requiring >=3.11 broke their pre-commit
checks. The modules are 3.10 compatible (19 tests pass under 3.10).
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the minimum Python version requirement in pyproject.toml from >=3.11 to >=3.10 to accommodate consumers who pin to Python 3.10. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@brtkwr brtkwr merged commit b9b11a8 into main Jun 3, 2026
1 check passed
@brtkwr brtkwr deleted the inf-1484/requires-python-310 branch June 3, 2026 07:17
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