Removing googleapis-common-protos from deps in non-core packages.#4098
Removing googleapis-common-protos from deps in non-core packages.#4098dhermes merged 3 commits intogoogleapis:masterfrom
googleapis-common-protos from deps in non-core packages.#4098Conversation
tseaver
left a comment
There was a problem hiding this comment.
This makes grpcio an unconditional dependency for all APIs, even storage which is otherwise REST-only. Is that what we want?
|
@tseaver It already was, this is the line being removed from |
|
Ahh good call. That was some extra fail copy-pasta by me in #4096. |
|
ISTM that adding unconditional dependencies to an already-GA API should be worth some debate. |
Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`)
b94db82 to
d5a4c51
Compare
|
@tseaver PTAL, I made @jonparrott Does this look like the right approach for packaging? |
d5a4c51 to
60a1798
Compare
| install_requires=( | ||
| 'googleapis-common-protos >= 1.5.3, < 2.0dev', | ||
| 'google-gax >= 0.15.14, < 0.16dev', | ||
| 'grpcio >= 1.2.0, < 1.6dev', |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
tseaver
left a comment
There was a problem hiding this comment.
The grpc extra (and depending on it from the grpc-only API packages) looks right to me.
|
@lukesneeringer Can you follow-up on my question (#4098 (comment)) when you get a chance? |
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
…#4098) * Removing `googleapis-common-protos` from deps in non-`core` packages. Also - removing `grpcio` from non-`core` packages. - manually specifying the `grpcio` dep in core (rather than getting it from `googleapis-common-protos[grpc]`) * Making `grpc` an extra for `core`. * Adding `googleapis-common-protos` back to `videointelligence`.
Also
grpciofrom non-corepackages.grpciodep in core (rather than getting it fromgoogleapis-common-protos[grpc])(NOTE: This is a followup to #4096.)