actions / setup-python

Set up your GitHub Actions workflow with a specific version of Python
MIT License
1.68k stars 539 forks source link

Support reading python version from mise config #834

Open dbowring opened 6 months ago

dbowring commented 6 months ago

Description: Adds support for reading .mise.toml (docs) if given as python-version-file.

Supports the short and longs forms, E.g.

[tools]
python = "3.12.2"
[tools]
python = { version="3.12.2", virtualenv=".venv" }
[tools]
# not supported
python = ["3.12.2", "3.11.8", "3.10.14", "3.9.19", "3.8.19"]

Related issue: N/A

Check list: