-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[setuptools] [distutils] Python builds failed on master #24028
Comments
Interesting. Whatever changed in
|
Potentially related: pypa/setuptools#2232 |
The discussion seems mainly about the install location. The compilation failure you mentioned is a behavior change in compiler. So, I guess there are still some undiscovered issue. |
It's about whether we're pulling in I don't have full compiler invocations handy from before setuptools 50, but the object that fails to link appears to be an intermediary target used in link-time optimization. I wasn't aware that we were using LTO before, so it's possible that it's a feature of the packaged distutils version that we didn't have before. |
Mentioned in https://github.com/pypa/setuptools/issues/2350 that setting environment variable |
Reopen since the we still need to plan for how to adapt to the new |
I was expecting that maybe
So far, the only difference I've found is the use of LTO. |
Comparison of compilation of single translation unit: My machine:
CI:
|
I saw the Windows issue. It could be introduced by the |
Using It's also worth noting that the maintainer of setuptools called this environment variable "temporary." We may need to track down the underlying issues, but it seems like this is a problem for distro maintainers and the setuptools maintainers, not for us. |
Good finding! I would doubt anyone trying to import our Let's wait for how |
Just tested the |
This plan sounds good. Closing this issue unless there is a need for another patch. |
I think the root cause is that |
I have set Now I'm downgrading setuptools. |
@chongkong Thanks for the suggestion! Giving that a shot here. |
https://fusion.corp.google.com/projectanalysis/summary/KOKORO/prod%3Agrpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_basictests_python
https://source.cloud.google.com/results/invocations/baba7e4f-6421-4b0c-8cb7-b106b252191d/log
https://fusion.corp.google.com/projectanalysis/summary/KOKORO/prod%3Agrpc%2Fcore%2Fmaster%2Fwindows%2Fgrpc_basictests_python
https://source.cloud.google.com/results/invocations/9cd6212f-643a-4c47-9ef6-76b482a60932/targets/github%2Fgrpc%2Ftoplevel_run_tests_invocations%2Frun_tests_python_windows_opt_native/tests
It started failing yesterday, when
setuptools
releases50.0.0
. It's highly likely that their latest build broke us.CC @jtattermusch @gnossen
The text was updated successfully, but these errors were encountered: