Skip to content

Removing googleapis-common-protos from deps in non-core packages. - #4098

Merged
dhermes merged 3 commits into
googleapis:masterfrom
dhermes:update-grpcio-deps
Oct 4, 2017
Merged

Removing googleapis-common-protos from deps in non-core packages.#4098
dhermes merged 3 commits into
googleapis:masterfrom
dhermes:update-grpcio-deps

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

Also

  • removing grpcio from non-core packages.
  • manually specifying the grpcio dep in core (rather than getting it from googleapis-common-protos[grpc])

(NOTE: This is a followup to #4096.)

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 2, 2017

@tseavertseaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This makes grpcio an unconditional dependency for all APIs, even storage which is otherwise REST-only. Is that what we want?

@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver It already was, this is the line being removed from core/setup.py:

'googleapis-common-protos[grpc] >= 1.5.3, < 2.0dev', 

@tseaver

Copy link
Copy Markdown
Contributor

@dhermes Yeah, but literally just now in #4096, right?

@dhermes

Copy link
Copy Markdown
ContributorAuthor

Ahh good call. That was some extra fail copy-pasta by me in #4096.

@tseaver

Copy link
Copy Markdown
Contributor

ISTM that adding unconditional dependencies to an already-GA API should be worth some debate.

@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver Yes I did it by mistake in #4096, will undo here.

Also
- removing `grpcio` from non-`core` packages.
- manually specifying the `grpcio` dep in core (rather than getting
it from `googleapis-common-protos[grpc]`)
@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver PTAL, I made grpc an extra in core.

@jonparrott Does this look like the right approach for packaging?

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.

@tseavertseaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The grpc extra (and depending on it from the grpc-only API packages) looks right to me.

@dhermes
dhermes merged commit d3ef455 into googleapis:masterOct 4, 2017
@dhermes
dhermes deleted the update-grpcio-deps branch October 4, 2017 19:45
@dhermes

Copy link
Copy Markdown
ContributorAuthor

@lukesneeringer Can you follow-up on my question (#4098 (comment)) when you get a chance?

@theacodestheacodes mentioned this pull request Oct 16, 2017
atulep pushed a commit that referenced this pull request Apr 3, 2023
…#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`.
atulep pushed a commit that referenced this pull request Apr 18, 2023
…#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`.
parthea pushed a commit that referenced this pull request Jul 6, 2023
…#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`.
parthea pushed a commit that referenced this pull request Sep 22, 2023
…#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`.
parthea pushed a commit that referenced this pull request Oct 21, 2023
…#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`.
parthea pushed a commit that referenced this pull request Oct 22, 2023
…#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`.
parthea pushed a commit that referenced this pull request Oct 22, 2023
…#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`.
parthea pushed a commit that referenced this pull request Nov 24, 2025
…#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`.
parthea pushed a commit that referenced this pull request Nov 24, 2025
…#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`.
parthea pushed a commit that referenced this pull request Mar 2, 2026
…#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`.
parthea pushed a commit that referenced this pull request Mar 9, 2026
…#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`.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@dhermes@tseaver@theacodes@lukesneeringer@googlebot