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
Piping pantsd stdout doesn't work when running in Python 3.8 #10438
Comments
I can't reproduce this in the example repo. What demonstrates this? |
I think that that might mean it is specific to our own repo then. Thanks for confirming! |
We should still get to the bottom of this, no? In our repo I can see
hanging forever, but it works if pantsd was already running, and it doesn't hang without the redirect. I see the same phenomenon if I pipe to Is that the phenomenon this ticket was opened for? |
Yes, that. |
OK, so I can repro this on Python 3.8 but not Python 3.7. Interesting. |
I can repro this on Python 3.8 (but not 3.6 or 3.7) in the example repo. So I think we have to say that 3.8 just isn't supported yet for running Pants? |
Note that we don't yet test 3.8 in CI. |
Mmm... I think that this also extends to integration tests that attempt to run |
I can't reproduce this in the example repo:
Is it possible that the bug only manifests itself with a specific patch version of 3.8? |
|
I explicitly set the |
Huh, I can no longer reproduce this on a mac either. I think we can close this for now, and reopen if we see more reports of this in the wild. |
The relevant env var is pants/build-support/virtualenv Lines 14 to 19 in 8f4e398
The repro also seems to have changed a little bit: the following hangs:
|
Ok, false alarm... the |
./pants --pantsd list :: > $file
works in 3.6/3.7 but not 3.8, in the example repo and at least one consumer repo.The text was updated successfully, but these errors were encountered: