-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pants pyprep fails on setuptools #6468
Comments
The python3 output is a red-herring. Pants bootstraps an interpreter cache with all known pythons before selecting down to one that meets your constraints and then populating that interpreter with setuptools and wheel. If you up
The Your options are:
|
Thanks @jsirois I tried setting the Setting FWIW This worked fine on a different machine that is also on macos 10.13 and using pyenv. There's something about the env that's different but I can't figure out what that is. |
Sorry for the very long delay in replying!
Yes, FYI we recently released Pants 2.0, which overhauls Pants from the ground-up to have more robust/polished Python support, better caching, more concurrency, and a dynamic UI. Check out https://blog.pantsbuild.org/introducing-pants-v2/. |
When I run
PEX_VERBOSE=5 ./pants -ldebug pyprep --pyprep-interpreter-fail-fast
I get a failureI think this must be a problem with my environment, but I'm having a really hard time tracking down what could be causing it. I'm on macos 10.13.6 and using pyenv to set python to 2.7.12. I'll try to provide relevant details below but I can provide more if it would be useful.
There's a lot of output from the command but here is where it seems to start going sideways:
I find these parts to be especially weird but I could be barking up the wrong tree:
How is python3.6 getting involved? Why is it trying to use the 3.6 egg of setuptools?
Note I've isolated this down to an empty directory with nothing other than the pants script and the pants.ini file I posted above.
The text was updated successfully, but these errors were encountered: