<#18730 Read Interpreter Constraints from `.python...
# github-notifications
c
#18730 Read Interpreter Constraints from `.python-version` pyenv file Issue created by rhuanbarreto Is your feature request related to a problem? Please describe. Today we set the python version to work with our pants enabled repo by using the pyenv
.python-version
file. Every time we update our python version in the file, we need to remember to update the
[python].interpreter_constraints
to
["==new_version"]
in pants.toml or leave the constraint open like
[">=3.11"]
Describe the solution you'd like Accepting a value like
"<PYENV_LOCAL>"
as pants does in
[python-bootstrap].search_path
would simplify this process. Describe alternatives you've considered Today the process can only be made manually. pantsbuild/pants