Hi all! I browsed the docs but could not find if i...
# general
c
Hi all! I browsed the docs but could not find if it is explicitly said if any Python version can be used for the projects. The examples in the "python interpreter compatibility" might be old and not updated. So can I use 3.6 for one of the apps? I just found the mixed_interpreter_constraints backend, which will allow having 3.8 or 3.10 for the rest, very nice!
c
the example constraints here certainly suggests you may use any version of Python: https://www.pantsbuild.org/docs/python-interpreter-compatibility#setting-the-default-python-version
c
I wanted to make sure 🙂 I suppose it would be safest to have a separate resolve. I will test it out tomorrow. Thanks Andreas!
e
You can use any version Pex supports I think, see the Python requires metadata here: https://pypi.org/project/pex/#data Pants likely uses an older version though without 3.12 support, but you can always upgrade your Pex version with the
[pex-cli]
subsystem options if needed.
👍🏽 1