Skip to content

Update the version of the protobuffer 3 libraries - #215

Merged
alecgrieser merged 1 commit into
masterfrom
proto3Update
Dec 12, 2018
Merged

alecgrieser merged 1 commit into
masterfrom
proto3Update

Conversation

@coufo

@coufo coufo commented Dec 11, 2018

Copy link
Copy Markdown

No description provided.

@coufo
coufo requested a review from alecgrieser December 11, 2018 18:36
@alecgrieser

Copy link
Copy Markdown
Collaborator

I think my preference would be to combine this with #216 and #87 so that we break all of those dependencies at once. This should also bump the minor version as it's breaking in some sense.

@coufo
coufo force-pushed the proto3Update branch 2 times, most recently from 544d147 to 147ea2b Compare December 11, 2018 19:13
@coufo
coufo force-pushed the master branch 2 times, most recently from 0df98e9 to 3be9fe5 Compare December 11, 2018 19:29

@alecgrieser alecgrieser left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is also worth bumping the "version" of the project to 2.4 (because of this potentially breaking people).

Comment thread gradle.properties Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to choose 23 (over something newer)? Do things break with 27?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest version of Guava for some reason does not work with our code. I do not have access to the failures to see whey we fail.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, that sounds fine. If it's going to be a bigger project than just bumping a version number, we can hold off for now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that this is the failure, which seems to indicate some disagreement about whether version 27 actually exists yet:

11:12:23 * What went wrong:
11:12:23 Could not determine the dependencies of task ':fdb-record-layer-core-pb3-shaded:shadowJar'.
11:12:23 > Could not resolve all dependencies for configuration ':fdb-record-layer-core-pb3-shaded:runtimeClasspath'.
11:12:23    > Could not find com.google.guava:guava:27.0.1.
11:12:23      Searched in the following locations:
11:12:23        - https://repo.maven.apache.org/maven2/com/google/guava/guava/27.0.1/guava-27.0.1.pom
11:12:23        - https://repo.maven.apache.org/maven2/com/google/guava/guava/27.0.1/guava-27.0.1.jar
11:12:23        - https://jcenter.bintray.com/com/google/guava/guava/27.0.1/guava-27.0.1.pom
11:12:23        - https://jcenter.bintray.com/com/google/guava/guava/27.0.1/guava-27.0.1.jar
11:12:23      Required by:
11:12:23          project :fdb-record-layer-core-pb3-shaded > project :fdb-record-layer-core-pb3
11:12:23          project :fdb-record-layer-core-pb3-shaded > project :fdb-record-layer-core-pb3 > project :fdb-extensions

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use 27.0.1-jre we probably get a different error.

From https://mvnrepository.com/artifact/com.google.guava/guava there is no 27.0.1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using 27.0.1-jre seemed to work for me when I did a local compile.

@coufo

coufo commented Dec 12, 2018

Copy link
Copy Markdown
Author

Bumped the project version to 2.4, updated the proto buffer libraries to the latest version, but left Guava alone.

I will follow with a separate PR to update Guava, after we fix the downstream consumers of the project.

@alecgrieser
alecgrieser merged commit d89d578 into master Dec 12, 2018
@alecgrieser

alecgrieser commented Dec 12, 2018 •

Copy link
Copy Markdown
Collaborator

Resolves #87.

@alecgrieser

Copy link
Copy Markdown
Collaborator

Well, that was worth a shot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants