bland-megabyte-12121
04/19/2024, 4:05 AMsquare-psychiatrist-19087
04/19/2024, 10:08 AMwide-midnight-78598
04/19/2024, 12:24 PMcareful-address-89803
04/20/2024, 3:18 AMpants fix lint check test :: is all you need, and pants export --resolve python-default will set up a dev env. We don't have to fuss about whether our version of the linter matches the one in CI or whether someone is using a polluted dev env.bland-megabyte-12121
04/25/2024, 2:12 AMWrote mutable virtualenv for python-default (using Python 3.10.14) to dist/export/python/virtualenvs/python-default/3.10.14
what is your dev workflow after this? so you source bin/activate? what happens if your dev dependencies changes, do you have to re-export and re-source? can it manage python version as well?careful-address-89803
04/25/2024, 4:50 PMpython binary in that folder. When we change dev dependencies we re-export.
We have an "onboarding installer" that configures a whole dev environment, including the python version. But I think https://www.pantsbuild.org/2.20/reference/subsystems/pyenv-python-provider can also install python versions for your code with pyenv. I haven't used it though