Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reading python version from mise config #834

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dbowring
Copy link

@dbowring dbowring commented Mar 26, 2024

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" }

Note that this does not support the array form, E.g.,

[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:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@dbowring dbowring requested a review from a team as a code owner March 26, 2024 00:54
@dbowring dbowring marked this pull request as draft March 26, 2024 00:54
@dbowring dbowring marked this pull request as ready for review March 26, 2024 01:00
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.

None yet

1 participant