Skip to content

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented May 15, 2023

The pinning is unreliable in Maven and ignored by Gradle. I'm not at all convinced that we are pinning/not pinning in appropriate projects. The pinning also serves less of a purpose since we started encouraging the BOM and grpc-netty-shaded. Netty's HTTP/2 API has also become somewhat stable compared to its earlier history. If we notice an up-tick in version skew, we can reinstate it.

The pinning is annoying in the build.gradle code and causes Maven/Gradle to download the version list once a day, which can be troublesome to users unaware of how to tell the tools to work offline.

It also opens our users to platform issues like seen in #10043 and #10086 where Maven Central's version list was incorrectly generated. Or like #9664 where Gradle Plugin's repository caches packages from JCenter but the version list is not as cachable so exposed us to JCenter instability.

This fixes #8357, by way of "we think we won't worry any more." See 90db93b when it was originally introduced. And issues like #8337, #3634.

The pinning is unreliable in Maven and ignored by Gradle. I'm not at all
convinced that we are pinning/not pinning in appropriate projects. The
pinning also serves less of a purpose since we started encouraging the
BOM and grpc-netty-shaded. Netty's HTTP/2 API has also become somewhat
stable compared to its earlier history. If we notice an up-tick in
version skew, we can reinstate it.

The pinning is annoying in the build.gradle code and causes Maven/Gradle
to download the version list once a day, which can be troublesome to
users unaware of how to tell the tools to work offline.

It also opens our users to platform issues like seen in grpc#10043
and grpc#10086 where Maven Central's version list was incorrectly generated.
Or like grpc#9664 where Gradle Plugin's repository caches packages from
JCenter but the version list is not as cachable so exposed us to JCenter
instability.

This fixes grpc#8357, by way of "we think we won't worry any more." See
90db93b when it was originally introduced. And issues
like grpc#8337, grpc#3634.
@ejona86 ejona86 requested a review from temawi May 15, 2023 15:53
@ejona86 ejona86 merged commit 2cc24a9 into grpc:master May 15, 2023
@ejona86 ejona86 deleted the rm-version-pinning branch May 15, 2023 20:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pin Netty versions for maven_install?
2 participants