Skip to content

feat: add python-version input for Python ecosystem#61

Merged
jxom merged 1 commit intowevm:masterfrom
brendanjryan:feat/python-version-input
Feb 17, 2026
Merged

feat: add python-version input for Python ecosystem#61
jxom merged 1 commit intowevm:masterfrom
brendanjryan:feat/python-version-input

Conversation

@brendanjryan
Copy link
Contributor

The action currently hardcodes python-version: '3.11' in the setup-python step. This breaks packages that declare requires-python = ">=3.12" in their pyproject.tomlpython -m build fails silently because hatchling (and other build backends) reject the Python version.

Changes

Adds a python-version input (defaults to 3.11 for backward compatibility) and uses it in the setup-python step:

- uses: wevm/changelogs@master
  with:
    ecosystem: python
    python-version: '3.12'
    pypi-token: ${{ secrets.PYPI_TOKEN }}

Context

We hit this in tempoxyz/pympp where the package requires >=3.12. The changelogs publish command exits with code 1 and no visible error output because python -m build fails under 3.11 and the error gets swallowed by the 2>&1 capture in the publish step.

@vercel
Copy link

vercel bot commented Feb 17, 2026

@brendanjryan is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@jxom jxom merged commit 7c2a31f into wevm:master Feb 17, 2026
5 of 6 checks passed
@brendanjryan brendanjryan deleted the feat/python-version-input branch February 17, 2026 22:34
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