-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Spanner Samples updated to v6 com.google.cloud:libraries-bom #3182
Comments
These failures are surprising because we haven't removed any of these packages or methods that the logs say it can't find. So it's likely some issue with the dependency management. Unfortunately, I don't really understand the dependency management setup we have. @olavloite would you please be able to take a look? |
This is the same problem as in #3139 and is caused by a missing dependency that should be included for all builds for Java 9 and higher. The base cause is mojohaus/flatten-maven-plugin#145, and a workaround was added in googleapis/java-spanner#261, but that is pending the release of Spanner client 1.55.2. What does surprise me, however, is that this was not already picked up by the Samples test that are executed for each PR for the Spanner client. I'll add an issue to the Spanner repository to investigate why that is, to prevent this kind of error from happening again. |
Thanks - It also fails in V7. We are using the libraries-bom 5.4.0 and haven't updated since then due to this error. |
@elharo @stephaniewang526 PTAL - The problem that @olavloite is talking about is that a bad client was released and put into the libraries-bom - the exact opposite of what we want - we probably want to figure out a process where when that happens, we signal the bom to revert the version so users aren't given bad things. |
The reason this did not fail the client library build is that the Spanner client library only tested the Samples using Java 8, while the dependency error that occurred was related to a dependency that should only be included in Java 9 and higher. |
I'm trying to get googleapis/java-spanner#259 merged which is v1.56.0 that has googleapis/java-spanner#261. |
googleapis/java-spanner#259 is finally merged. Sorry for the delay. |
It seems like this issue is still happening since I'm seeing the same errors in googleapis/java-spanner#298. |
It seems that Spanner 1.56.0 is not included in libraries-bom 7.0.2. libraries-bom 7.0.2 defines google.cloud.java.version 0.129.0, which again includes Spanner 1.55.1. |
I’m preparing Libraries-bom 8.0.0 that includes the latest google-cloud-bom. |
Thanks @suztomo |
Yep - thanks everyone! |
Found in #3179 logs
Looks like methods changed in a big way.
@elharo FYI
The text was updated successfully, but these errors were encountered: