pyenv
backend does not respect patch version constraints
#20175
Labels
pyenv
backend does not respect patch version constraints
#20175
Describe the bug
When using the hermetic python install tooling, the python provided does not respect patch version constraints.
One can place
interpreter_constraints = ["CPython>=3.8,<=3.8.10"]
inpants.toml
, but the installed version will pick the latest of3.8
which is3.8.16
.Pants version
2.18.0
OS
Ubuntu 20.04
Additional info
I believe this is due to the use of minimum_python_version returning the
{major}.{minor}
result instead of a complete picture.The text was updated successfully, but these errors were encountered: