Mise automatically infers Python version from Poetry pyproject.toml file #4258
JasiekChomiak
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
are you talking about using requires-python? if so I don't think that should be used for detecting the version since that should just provide a range of compatible versions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think a great feature for
mise
would be to be more plug-and-play when it comes to the Python + Poetry combo.I feel like Poetry is a quite common use case as a package manager for Python, however
mise
does not seem to "understand" thepyproject.toml
file (like it does, for example,.nvmrc
fornode
).It'd be great if upon entering a directory with a
pyproject.toml
but without amise.toml
file,mise
would automatically switch to an existing install that matches the project Python version, or issue a warning if it's not installed. This would allow developers to seamlessly work on projects that don't supportmise
explicitly.Beta Was this translation helpful? Give feedback.
All reactions