Skip to content
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

Bump grpc to 1.48.1 and abseil-cpp to 20220623.1 #18216

Closed
wants to merge 3 commits into from

Conversation

davido
Copy link
Contributor

@davido davido commented Apr 25, 2023

Fixes #18167.

abseil-cpp is missing stdint.h header include, that broke recent compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Apr 25, 2023
@davido
Copy link
Contributor Author

davido commented Apr 25, 2023

@meteorcloudy

Is the test breakage on Darwin is actually unrelated here?

Now we are missing only blzmod for grpc 1.48.1?

@sgowroji sgowroji added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. and removed team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website labels Apr 26, 2023
@meteorcloudy
Copy link
Member

@davido Yes, we are doing some tuning for Bazel CI which caused some test timeouts, sorry about that!

@meteorcloudy
Copy link
Member

Now we are missing only blzmod for grpc 1.48.1?

Yes, unfortunately the grpc team doesn't maintain the BCR module currently, do you mind giving it a try to update it?

@davido
Copy link
Contributor Author

davido commented Apr 26, 2023

@meteorcloudy

Yes, we are doing some tuning for Bazel CI which caused some test timeouts, sorry about that!

Can you restart the verification once the problem fixed?

Yes, unfortunately the grpc team doesn't maintain the BCR module currently, do you mind giving it a try to update it?

You mean to upload a new BCR module version for grpc: 1.48.1? Yes, will do.

@davido
Copy link
Contributor Author

davido commented Apr 27, 2023

@meteorcloudy

Once this PR is merged, should I bump grpc blzmod version to 1.48.1 in this PR as well?

We are also missing bazel mirror for grpc 1.48.1 tarball:

        "urls": [
-           "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.47.0.tar.gz",
-           "https://github.com/grpc/grpc/archive/v1.47.0.tar.gz",
+           "https://github.com/grpc/grpc/archive/v1.48.1.tar.gz",
        ],

Requested the mirror for grpc 1.48.1 here.

davido added 2 commits April 27, 2023 09:15
Fixes bazelbuild#18167.

abseil-cpp is missing stdint.h header include, that broke recent
compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as
well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92
@davido davido force-pushed the bump_grpc_version branch from 718e84b to 5684ce2 Compare April 27, 2023 07:16
@meteorcloudy
Copy link
Member

Once this bazelbuild/bazel-central-registry#595 is merged, should I bump grpc blzmod version to 1.48.1 in this PR as well?

Yes, please do!

@davido
Copy link
Contributor Author

davido commented Apr 27, 2023

Yes, please do!

Done.

Also bump version of bazel_skylib to 1.4.1, because transitive
dependency of grpc: abseil-cpp was updated to 20220623.1, that
requires new vrsion of bazel_skylib.
@davido davido force-pushed the bump_grpc_version branch from 39b2d3e to 7c0c200 Compare April 27, 2023 13:19
@meteorcloudy
Copy link
Member

We'll have to merge the changes in the third_party change separately, can you split this change into three ones:

  • Add grpc patch files for new version
  • Upgrade grpc
  • Delete old grpc patch files.

davido added a commit to davido/bazel that referenced this pull request Apr 27, 2023
PART 1: prepare third_party/grpc files for new version
Composed PR: bazelbuild#18216.

Fixes bazelbuild#18167.

abseil-cpp is missing stdint.h header include, that broke recent
compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as
well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92
davido added a commit to davido/bazel that referenced this pull request Apr 27, 2023
PART 2: switch to v1.48.1
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 27, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
@davido
Copy link
Contributor Author

davido commented Apr 28, 2023

Superseded by #18240, #18241 and #18242.

@davido davido closed this Apr 28, 2023
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
PART 1: prepare third_party/grpc files for new version
Composed PR: bazelbuild#18216.

Fixes bazelbuild#18167.

abseil-cpp is missing stdint.h header include, that broke recent
compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as
well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
PART 2: switch to v1.48.1
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
@meteorcloudy
Copy link
Member

@davido Thanks!

@davido
Copy link
Contributor Author

davido commented Apr 28, 2023

@meteorcloudy thank you for your assistance and fast review, very much appreciated!

copybara-service bot pushed a commit that referenced this pull request Apr 28, 2023
PART 1: prepare third_party/grpc files for new version
Composed PR: #18216.

Fixes #18167.

abseil-cpp is missing stdint.h header include, that broke recent
compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as
well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92

Partial commit for third_party/*, see #18240.

Signed-off-by: Pavan Singh <[email protected]>
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
PART 2: switch to v1.48.1
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
PART 2: switch to v1.48.1
Composed PR: bazelbuild#18216.
davido added a commit to davido/bazel that referenced this pull request Apr 28, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
copybara-service bot pushed a commit that referenced this pull request Apr 29, 2023
PART 2: switch to v1.48.1
Composed PR: #18216.

Partial commit for third_party/*, see #18241.

Signed-off-by: Pavan Singh <[email protected]>
davido added a commit to davido/bazel that referenced this pull request Apr 29, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.
copybara-service bot pushed a commit that referenced this pull request May 2, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: #18216.

Partial commit for third_party/*, see #18242.

Signed-off-by: Pavan Singh <[email protected]>
fweikert pushed a commit to fweikert/bazel that referenced this pull request May 25, 2023
PART 1: prepare third_party/grpc files for new version
Composed PR: bazelbuild#18216.

Fixes bazelbuild#18167.

abseil-cpp is missing stdint.h header include, that broke recent
compiler versions. This problem was fixed in this commit upstream: [1].

Due to another commit: [2] in abseil-cpp, we also have to bump grpc as
well to make them compatible.

[1] abseil/abseil-cpp@36a4b07
[2] abseil/abseil-cpp@b8bbe92

Partial commit for third_party/*, see bazelbuild#18240.

Signed-off-by: Pavan Singh <[email protected]>
fweikert pushed a commit to fweikert/bazel that referenced this pull request May 25, 2023
PART 2: switch to v1.48.1
Composed PR: bazelbuild#18216.

Partial commit for third_party/*, see bazelbuild#18241.

Signed-off-by: Pavan Singh <[email protected]>
fweikert pushed a commit to fweikert/bazel that referenced this pull request May 25, 2023
Part 3: remove 1.47.0 from third_party/grpc
Composed PR: bazelbuild#18216.

Partial commit for third_party/*, see bazelbuild#18242.

Signed-off-by: Pavan Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't bootstrap with clang >= 15 and gcc >= 13
3 participants