-
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
Release 4.0 - December 2020 #12455
Comments
If this release includes breaking change e379ece, then please ensure that the release has a relnote for it. |
Bazel 4.0.0rc1 created and pushed via: scripts/release/release.sh create 4.0.0 cd3480e4d53160d20c634134d3917c4e53ac1c49
scripts/release/release.sh push |
aaaaand it failed:
I've seen this recently when building / testing Bazel locally and I think it's just a dangling reference somewhere in our BUILD files that we didn't clean up. Investigating. |
|
scripts/release/release.sh create --force_rc=2 4.0.0 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
scripts/release/release.sh push |
Release builds succeeded on:
Next step pushing to GCS. |
Pushed and announcement for 4.0.0rc2 sent to bazel-discuss! 🎉 |
List of proposed cherry-picks for 4.0.0rc3: |
Just to make you aware, #12574 is still under investigation but may make another cherry pick necessary. |
Java_tools 10.4 is already in baseline, so no cherry pick is necessary. |
Jacoco crash reported in #12619 for rc2 |
@philwo in the context of LTS, is it already know what will happen with the bug fixes that should go to the next 4.x release without having to wait for 5.0? I would like to request a cherry-pick for 4.x LTS, I do not think is needed for release 4.0 because has been broken for a long time. |
Another issue was discovered in Turbine, which affects Java 15 compilations (potentially also other versions) #12605. The fix is more tricky, because we are already at java_tools v11.0, and I need to backport a fix to java_tools v10 and release v10.5. (and v11.1). |
We've seen an issue on Windows on 4.0.0rc2 Seen both triggered from a genrule and a regular rule. We're still unsure exactly what is triggering this issue but it's currently stopping our migration to 4.0.0. Investigation ongoing but wanted to give you a heads up. |
v10.5 release is in 4e5d0fd, which should also be cherry-picked |
@Gormo Thanks for pointing that out. I checked with @meteorcloudy but it doesn't ring a bell.. we'll have to investigate further. If you find out anything, please let us know! In the meantime I'll go ahead with 4.0.0rc3 so that the new cherry-picks get some exposure. |
Would it be possible to cherry-pick 8555789 into v4.0 ? If not, could it be queued up for the first v4.x patch release? |
@jmillikin I'm currently not picky when it comes to cherry picks. 😏 Happy to add it. |
I'm guessing it's too late to cherry-pick the @platforms update (e03cb63)? The one packaged in rc10 is over a year old at this point. |
@philsc that was too late indeed - we may want to consider this for the next release of the 4.x release track. |
We have released: https://github.com/bazelbuild/bazel/releases/tag/4.0.0 🥳 @vbatts @petemounce @excitoon please update your respective packages |
Cool! Regarding the release bazel toolchains for 4.0, is it automatic or someone has to trigger it? |
@smukherj1 Do we have to do anything to get bazel-toolchains 4.0 or is the process automated? 😊 |
Published to chocolatey |
Some manual work involved. I'll take a look |
@philwo unfortunately looks like this'll be delayed. #8380 broke the config generation pipeline and from the error it's not immediately obvious where the invalid escape sequence is coming from. Going to have to trace through a bunch of dependencies to figure it out :( |
i've kicked off the fedora/centos build
https://copr.fedorainfracloud.org/coprs/build/1902291
…On Thu, Jan 21, 2021 at 2:11 PM Suvanjan Mukherjee ***@***.***> wrote:
@smukherj1 <https://github.com/smukherj1> Do we have to do anything to
get bazel-toolchains 4.0 or is the process automated? 😊
Some manual work involved. I'll take a look
@philwo <https://github.com/philwo> unfortunately looks like this'll be
delayed. #8380 <#8380> broke
the config generation pipeline and from the error it's not immediately
obvious where the invalid escape sequence is coming from. Going to have to
trace through a bunch of dependencies to figure it out :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12455 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQL2LSTWCIKE37SIGHD43S3B34XANCNFSM4TRY7ORQ>
.
|
while the packages are still building for the actively released versions of fedora/centos, meanwhile the "rawhide" (devel branch) builds have failed on x86_64 and aarch64.
using package versions:
|
Related to #12702 |
Bazel 4 is going to be a long term support release. Latest version in NixPkgs so far was 3.3.1 There's a need for more recent version NixOS#97497 All versions from 3.5.0 to 3.7.1 had some reproducibility issues as noted in issue above, but there also seems to be a working PR for 3.7.1 now at NixOS#105439 Notable changes from bazel_3 setup: - put python to default bash path For autodetecting python toolchain with strict action_env on and without this change bazel would fail to autodetect host python. There are some repos that define hermetic python toolchains, but they aren't easy to use yet. Also telling python paths to bazel isn't a 1-liner it seems: - action_env=PATH would affect cache - declaring toolchain via BUILD&WORKSPACE files is not per-user but more like per-repo and affects cache too Using python from nixpkgs shouldn't be too bad in the lack of simpler hermetic python toolchain options - bazel_4.updater is bazel on `bazel query` to support new constructs in WORKSPACE (load of vars, transitive load etc). This is more robust but requires bazel to run the updater, using bazel_3 for now. This is only needed to bump package version, doesn't introduce bazel_4 build dependency on bazel_3 https://blog.bazel.build/2020/11/10/bazel-4.0-announce.html https://blog.bazel.build/2020/11/10/long-term-support-release.html bazelbuild/bazel#12455 https://github.com/bazelbuild/bazel/releases/tag/4.0.0 https://blog.bazel.build/2021/01/19/bazel-4-0.html
If there's a 4.0.1 it should probably include #12882 |
Bazel 4 is going to be a long term support release. Latest version in NixPkgs so far was 3.3.1 There's a need for more recent version NixOS#97497 All versions from 3.5.0 to 3.7.1 had some reproducibility issues as noted in issue above, but there also seems to be a working PR for 3.7.1 now at NixOS#105439 Notable changes from bazel_3 setup: - put python to default bash path For autodetecting python toolchain with strict action_env on and without this change bazel would fail to autodetect host python. There are some repos that define hermetic python toolchains, but they aren't easy to use yet. Also telling python paths to bazel isn't a 1-liner it seems: - action_env=PATH would affect cache - declaring toolchain via BUILD&WORKSPACE files is not per-user but more like per-repo and affects cache too Using python from nixpkgs shouldn't be too bad in the lack of simpler hermetic python toolchain options - bazel_4.updater is bazel on `bazel query` to support new constructs in WORKSPACE (load of vars, transitive load etc). This is more robust but requires bazel to run the updater, using bazel_3 for now. This is only needed to bump package version, doesn't introduce bazel_4 build dependency on bazel_3 https://blog.bazel.build/2020/11/10/bazel-4.0-announce.html https://blog.bazel.build/2020/11/10/long-term-support-release.html bazelbuild/bazel#12455 https://github.com/bazelbuild/bazel/releases/tag/4.0.0 https://blog.bazel.build/2021/01/19/bazel-4-0.html
#12983 on |
any timeline of releasing #12882 soon (this in fact makes the buildifier and buildozer PRs got disabled in the homebrew side) |
Xcode 11.2 and macOS 10.14 are not supported and tested by us. We can probably cherry-pick this in the next patch release, but I wonder - isn't there a way in Bazel to disable the problematic CFLAGS flag manually if you want to build on an older platform like this? (@keith @oquenchil ?) |
in this specific case folks can disable this feature with |
FYI - #12927 is preventing our upgrade to 4.0. If there is a 4.0.x, would be nice to get it fixed there, too. |
Hi everyone, we're tracking the next minor release Bazel 4.1 that will incorporate requested bug fixes in this issue: #13099 I've copied over all requested cherry-picks into the new issue - please check whether I forgot any and please comment there if you would like to request any other. |
Status of Bazel 4.0
To report a release-blocking bug, please file a bug using the
Release blocker
label, and cc me.Task list:
The text was updated successfully, but these errors were encountered: