-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Windows: Bazel 0.20.0rc1 won't build Protobuf 3.6.1 #6675
Comments
We're going to do a 3.7 release in the new few weeks, so maybe we can just get the fix into 3.7 instead of doing another 3.6 release. @meteorcloudy How soon do you expect to release Bazel 0.20? |
Apologies for the trouble caused. For some reason I was under the illusion that 3.6.1 was released after my fix, and that I had confirmed that that is the case. Obviously, both are not true. As it happens, the flag flip related to the incompatible change made the cut for 0.20, and the removal of the code didn't. If we could rollback 664e02d for 0.20, we'd preserve the old behavior and 0.20 would be able to build protobuf 3.6.1 on Windows. @dslomov, @meteorcloudy, does that sound good? That will not help with CI downstream projects though. Thank you all |
@scentini Thanks for suggesting the solution, rollback 664e02d only for 0.20 sounds good to me, @dslomov does it make sense to you, you'll have to do the rollback manually on the branch of 0.20. @acozzette 0.20.0 will be released in 1~2 week, I also prefer a protobuf 3.6.2, so that people have more time to upgrade. |
Rolling back 664e02d to fix this sounds good to me. |
I hesitate a bit to do another minor release for 3.6. The problem is just that even releases with tiny changes are a lot of work, because our release process isn't fully automated yet and we usually have to build and publish many artifacts. But in this case is it correct that the only changes we need are just edits to a |
This sounds like a good solution! Because the change in |
@meteorcloudy OK, let me check with the rest of the protobuf team at our meeting on Monday. If no one has any objections to tagging a 3.6.2 release then we can go with that solution. |
@acozzette Thank you! |
Hi @acozzette, any progress on this? Is it OK to tagging a 3.6.2 release? It will help us enabling more projects (including TensorFlow) in downstream. |
@meteorcloudy I'm just waiting on an LGTM to cherry-pick the fixes onto our 3.6.x branch. I am taking the afternoon off today but I'll try to get that merged and tag a release before I head out for the holiday. I'll tag a 3.6.1.1 version for this fix. |
@meteorcloudy I just tagged a 3.6.1.1 release with the fix, so let me know if that works. |
@acozzette Works like a charm! Thank you so much, have a nice holiday! |
Hi there. I am experiencing this exact problem with later versions of bazel (versions 0.23.2 and 0.24.1) when building on Windows. This update to point to protobuf 3.6.1.1 (instead of 3.6.1). Is there a binary that can be dowloaded for Windows or do I have to check out a tag and build it myself? |
To reproduce:
WORKSPACE:
To fix this issue, @scentini has submitted https://github.com/protocolbuffers/protobuf/commits?author=scentini, but they are not in any protobuf release yet.
This means, with Bazel 0.20.0, all projects depends on released protobuf will be broken (TensorFlow, rules_go, rules_typescript, etc) on Windows. Due to this issue, those projects are also removed from Bazel CI's downstream projects currently.
@acozzette Is it possible to cherry pick the fixes and have a protobuf 3.6.2 release?
@dslomov Do you consider this as a release blocker?
The text was updated successfully, but these errors were encountered: