happy-kitchen-89482
08/05/2022, 10:04 PMhundreds-father-404
08/05/2022, 10:10 PM1 │ export PY=python3.9
2 │ export PANTS_PYTHON_INTERPRETER_CONSTRAINTS=[\'==3.9.*\']
3 │ export PANTS_BLACK_INTERPRETER_CONSTRAINTS=[\'==3.9.*\']
4 │ export PANTS_POETRY_INTERPRETER_CONSTRAINTS=[\'==3.9.*\']
5 │
6 │ export PANTS_BUILDSENSE_ENABLE=true
glamorous-knife-59091
08/05/2022, 10:34 PM[python]
interpreter_constraints = ["==3.9.*"]
fast-nail-55400
08/05/2022, 11:10 PMPATH
before any system dirs.ripe-cpu-85141
08/06/2022, 1:26 PMPEX_PYTHON=python3.9
for my project on top of the different interpreter_constraints (btw, I don't think interpreter_constraints exists for flake8). Not sure if it's the right thing to do though 🙂happy-kitchen-89482
08/06/2022, 7:12 PMclean-city-64472
08/16/2022, 10:54 PM$PYTHON="/path/to/python39"
. I’m guessing their Python 39 distribution was not in a discoverable place. The error we got said it could not find any valid distrubtions of pantsbuild.pants=2.12.0
. Just noting this in case it helps anyone else.hundreds-father-404
08/16/2022, 10:54 PM./pants
script we distribute to end users, rather than pantsbuild/pants itself. Totally fine to debug here though! only for clarity)clean-city-64472
08/16/2022, 10:57 PM