I'm a little confused with how the version selecti...
# general
c
I'm a little confused with how the version selection works with the pyenv provider. In the rule I see we call
python_to_use = request.interpreter_constraints.minimum_python_version
, but empirical a constraint like
CPython==3.10.*"
results in
3.10.10
showing up in
named_caches
. Which is... the maximum version?
b
Usually, you want the maximum bugfix version of the lowest compatible major/minor. There's a bug in the pyenv backend for the latter part, but the former part is true and works
c
As in if my interpreter constraint was >=3.8.0,<3.10 I "should" get 3.8.latest, but will get 3.9.latest?
b
I think so yeah, you SHOULD get 3.8.latest