Limit Python versions to precompiled binaries
Precompiled binaries are really nice but because the latest versions are not available right away, it would be nice to have mise use [email protected] install 3.12.1 quickly rather than build 3.12.2 (.2 is not available at the time of writing).
Because not everyone would like this behaviour, it probably should be an opt-in setting.
we could probably turn python_compile into a 3-way switch so an explicit "false" would mean to always use precompiled but "null" would be the current logic
As in #1970, maybe this could use these values (instead of using a null) :
-
never: never use python-build, install available precompiled binairies. -
avoid(default) : if the requested version is available as a precompiled package, install it, else use python-build (same behavior asfalsecurrently). -
always: always use python-build (same behavior astruecurrently).
By the way, what happen if python-build is not available ?
Mise downloads python-build. I think I prefer the current logic where nothing means use precompiled or not but "false" will always use precompiled. I think that will be more easily understood without referencing the docs.