-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[BEAM-11205] Update Libraries BOM dependencies to version 25.2.0 #17497
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
Codecov Report
@@ Coverage Diff @@
## master #17497 +/- ##
==========================================
- Coverage 73.83% 73.83% -0.01%
==========================================
Files 690 690
Lines 90829 90843 +14
==========================================
+ Hits 67066 67076 +10
- Misses 22554 22558 +4
Partials 1209 1209
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Run PythonLint PreCommit |
Run Java PostCommit |
Run PostCommit_Java_Hadoop_Versions |
Run Dataflow ValidatesRunner |
Run Java PostCommit |
Run PostCommit_Java_Hadoop_Versions |
Run Dataflow ValidatesRunner |
Run Java PreCommit |
R: @suztomo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also update datastore-v1-proto-client to 2.2.10?
@@ -455,16 +455,16 @@ class BeamModulePlugin implements Plugin<Project> { | |||
def classgraph_version = "4.8.104" | |||
def errorprone_version = "2.10.0" | |||
// Try to keep gax_version consistent with gax-grpc version in google_cloud_platform_libraries_bom | |||
def gax_version = "2.8.1" | |||
def gax_version = "2.16.0" | |||
def google_clients_version = "1.32.1" | |||
def google_cloud_bigdataoss_version = "2.2.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make it 2.2.6?
def google_cloud_spanner_version = "6.20.0" | ||
def google_code_gson_version = "2.8.9" | ||
def google_cloud_spanner_version = "6.23.3" | ||
def google_code_gson_version = "2.9.0" | ||
def google_oauth_clients_version = "1.32.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this to 1.33.3
def google_cloud_spanner_version = "6.20.0" | ||
def google_code_gson_version = "2.8.9" | ||
def google_cloud_spanner_version = "6.23.3" | ||
def google_code_gson_version = "2.9.0" | ||
def google_oauth_clients_version = "1.32.1" | ||
// Try to keep grpc_version consistent with gRPC version in google_cloud_platform_libraries_bom | ||
def grpc_version = "1.44.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this to 1.45.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benWize Can you set datastore-v1-proto-client to 2.2.10 and override proto-google-cloud-datastore-v1 to 0.93.10 (currently no explicit version)? It's consistent with datastore-v1-proto-client to 2.2.10.
C.f. https://search.maven.org/artifact/com.google.cloud/google-cloud-datastore-bom/2.2.10/pom
CC: @kolea2
Run SQL PreCommit |
Run Python_PVR_Flink PreCommit |
Run Java PreCommit |
Run Java PreCommit It failed org.apache.beam.sdk.io.pulsar.PulsarIOTest.classMethod |
@@ -661,10 +661,10 @@ class BeamModulePlugin implements Plugin<Project> { | |||
proto_google_cloud_bigtable_admin_v2 : "com.google.api.grpc:proto-google-cloud-bigtable-admin-v2", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_bigtable_v2 : "com.google.api.grpc:proto-google-cloud-bigtable-v2", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datacatalog_v1beta1 : "com.google.api.grpc:proto-google-cloud-datacatalog-v1beta1", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datastore_v1 : "com.google.api.grpc:proto-google-cloud-datastore-v1", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datastore_v1 : "com.google.api.grpc:proto-google-cloud-datastore-v1:0.93.10", // google_cloud_platform_libraries_bom sets version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My memo: This is in-line with com.google.cloud.datastore:datastore-v1-proto-client:2.2.10
(no action required)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ansh0l For upcoming change by you, remove this version part and let google_cloud_platform_libraries_bom set the version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change suggests changes in the version for proto_google_cloud_datastore_v1
. Can we(Spanner team) make this change or should we let the Datastore team make this change?
CC: @kileys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you (spanner team) take care of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, we'll take care of this.
@benWize The change looks good to me. Anything pending from your perspective? |
Run Java PostCommit |
Run PostCommit_Java_Dataflow |
Run PostCommit_Java_DataflowV2 |
Run Spark ValidatesRunner |
Run SQL Postcommit This failed with
|
Where are Jenkins builds...? |
Run Java Precommit This failed at org.apache.beam.examples.subprocess.ExampleEchoPipelineTest.testExampleEchoPipeline |
Run SQL Postcommit This failed at org.apache.beam.sdk.io.gcp.spanner.SpannerWriteIT.testReportFailures |
Run SQL Postcommit |
Run Java Precommit |
There is nothing pending from my perspective. |
Run PostCommit_Java_Dataflow |
Nice. Let's merge when checks become green. I see "Dataflow Java Post Commit Tests" pending (running). |
All checks are passing now! Thanks, @suztomo |
@benWize Thank you. |
@@ -661,10 +661,10 @@ class BeamModulePlugin implements Plugin<Project> { | |||
proto_google_cloud_bigtable_admin_v2 : "com.google.api.grpc:proto-google-cloud-bigtable-admin-v2", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_bigtable_v2 : "com.google.api.grpc:proto-google-cloud-bigtable-v2", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datacatalog_v1beta1 : "com.google.api.grpc:proto-google-cloud-datacatalog-v1beta1", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datastore_v1 : "com.google.api.grpc:proto-google-cloud-datastore-v1", // google_cloud_platform_libraries_bom sets version | |||
proto_google_cloud_datastore_v1 : "com.google.api.grpc:proto-google-cloud-datastore-v1:0.93.10", // google_cloud_platform_libraries_bom sets version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ansh0l For upcoming change by you, remove this version part and let google_cloud_platform_libraries_bom set the version.
def protobuf_version = "3.19.3" | ||
def protobuf_version = "3.19.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ansh0l For the upcoming change by you, reference this:
https://github.com/googleapis/java-shared-dependencies/blob/v3.0.1/first-party-dependencies/pom.xml#L58
def gax_version = "2.8.1" | ||
def gax_version = "2.16.0" | ||
def google_clients_version = "1.32.1" | ||
def google_cloud_bigdataoss_version = "2.2.4" | ||
def google_cloud_bigdataoss_version = "2.2.6" | ||
// Try to keep google_cloud_spanner_version consistent with google_cloud_spanner_bom in google_cloud_platform_libraries_bom | ||
def google_cloud_spanner_version = "6.20.0" | ||
def google_code_gson_version = "2.8.9" | ||
def google_oauth_clients_version = "1.32.1" | ||
def google_cloud_spanner_version = "6.23.3" | ||
def google_code_gson_version = "2.9.0" | ||
def google_oauth_clients_version = "1.33.3" | ||
// Try to keep grpc_version consistent with gRPC version in google_cloud_platform_libraries_bom | ||
def grpc_version = "1.44.0" | ||
def guava_version = "31.0.1-jre" | ||
def grpc_version = "1.45.1" | ||
def guava_version = "31.1-jre" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ansh0l For the upcoming change by you, reference this
https://github.com/googleapis/java-shared-dependencies/blob/v3.0.1/first-party-dependencies/pom.xml#L58 to update line 458 - line 467.
google_cloud_bigdataoss_version can be unaffected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the google_code_gson_version
be changed here? The above pom file doesn't have any reference to this dependency.
CC: @kileys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating Google Cloud Libraries BOM to the latest version 25.2.0 and associated dependencies to the compatible versions.
Updating dependencies listed in https://storage.googleapis.com/cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/25.2.0/artifact_details.html
Linkage check results
https://gist.github.com/benWize/37f0d34e157974f6c1ff5a8e53f94a9b
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.