I'd like to have broader `[python].interpreter_con...
# general
h
I'd like to have broader
[python].interpreter_constraints
and install a very specific version when I run
export
for a venv. How can I achieve this with the pyenv provider?
e
You can pass the interpreter constraints on the cli. Would something like
pants export --python-interpreter-constraints="[<specific_version>]"
work for your case?
(and keep the broad version in your
pants.toml
)
h
Oh yeah, I'll try that out
I guess my broader question is "how can I be flexible about what my code is run with when exported" and "specific about the version I use in testing"
I get in theory it "shouldn't matter", but I'd like to not have any variance between developers/CI
Would like to not have to specify a custom config or that setting in the command line each time.