proud-dentist-22844
12/03/2022, 7:27 PMpants.toml
.
• Can I export the same resolve multiple times, each with a different python interpreter?
Background: For st2 CI, I need one virtualenv for python 3.8 and another for python 3.6 (3.6 is ancient I know. updating that is a separate effort). I will use the exported virtualenvs instead of a Makefile managed venv for processes that have not yet been configured in pants. Eventually, I'll be able to stop using the exported virtualenv and just use pants for everything, but this should help to bridge that gap.proud-dentist-22844
12/04/2022, 1:35 AMproud-dentist-22844
12/04/2022, 1:38 AM./pants export --resolve=
in 2.15. That means it is so much closer to me being able to use it. I will probably wait for the first rc. But I'm glad this didn't wait till 2.16.proud-dentist-22844
12/04/2022, 1:39 AMvirtualenv
)...proud-dentist-22844
12/04/2022, 1:50 AMexport --python-bootstrap-search-path=...
in pants.ci.toml
...proud-dentist-22844
12/04/2022, 2:19 AMvirtualenv -p
or `virtualenv --python`:
https://virtualenv.pypa.io/en/latest/cli_interface.html#p