acoustic-garden-40182
09/07/2023, 12:14 PMpants package
goal against either Dockerfiles or Python packages. I'm on version 2.17. My system Python is 3.10.12, but my project uses pyenv (Python 3.10.13). I am able to pants generate-lockfiles ::
with no problems.
Whenever I run the package
or run
goals it gets stuck on ⠲ 377.49s Find interpreter for constraints: CPython<3.11,>=3.10.0
The time keeps going up and nothing is happening. Annoyingly, this stuff all works with the same repo on my other laptop. How can I go about debugging and fixing this issue?acoustic-garden-40182
09/07/2023, 12:27 PM$PATH
I updated my pants.toml
to use Pyenv instead of looking in $PATH
https://www.pantsbuild.org/docs/python-interpreter-compatibility#changing-the-interpreter-search-pathhappy-kitchen-89482
09/07/2023, 12:34 PMhappy-kitchen-89482
09/07/2023, 12:36 PMhappy-kitchen-89482
09/07/2023, 12:49 PMpants.backend.python.providers.experimental.pyenv
to your backend_packages
.acoustic-garden-40182
09/07/2023, 12:51 PM