GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Expand `google-api-core pin` to `>1, <3` by busunkim96 · Pull Request #473 · googleads/google-ads-python

Conversation

@busunkim96

@busunkim96 busunkim96 commented Jul 28, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

To avoid diamond dependency conflicts with Cloud libraries, the Ads library should keep a >1, <3 pin on google-api-core until googleapis/google-cloud-python#10566 is closed.

See discussion in doc.

CC @BenRKarl

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@busunkim96
Expand google-api-core pin to >1, <3
8243b9a
To avoid diamond dependency conflicts with Cloud libraries, the Ads library should keep a `>1, <3` pin on google-api-core until googleapis/google-cloud-python#10566 is closed.

See discussion in [doc](https://docs.google.com/document/d/1euAvUsia_4zf98lNvpwA3K0o2b4y5Xr9xAkyzCnIMzQ/edit#).
@busunkim96
busunkim96 requested a review from a team as a code owner July 28, 2021 21:49
@busunkim96
busunkim96 requested review from laurachevalier4 and wihl July 28, 2021 21:49
@AnashOommen

AnashOommen commented Jul 28, 2021 via email

Copy link
Copy Markdown
Member
I see the doc, but it is unclear what the consequences of expanding this to 3.0.0 is.
…
On Wed, Jul 28, 2021, 5:50 PM Bu Sun Kim ***@***.***> wrote: @busunkim96 <https://github.com/busunkim96> requested review from @googleads/google-ads-python-codereview on: #473 <#473> Expand google-api-core pin to &gt;1, &lt;3 as a code owner. — You are receiving this because your review was requested. Reply to this email directly, view it on GitHub <#473 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABCOJCGMLP2HJK5WY3PKBR3T2B3RHANCNFSM5BFGL6WA> .
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96 busunkim96 mentioned this pull request Jul 28, 2021
Please publish a built distribution (wheel) #474
Closed
@busunkim96

busunkim96 commented Jul 28, 2021

Copy link
Copy Markdown
Author

Ah sorry, here's some more context:

google-api-core is planning on officially dropping 2.7 in a new major release (2.0.0).

The particular situation this PR is looking to prevent is one where some customer who uses bothgoogle-ads and a Google Cloud library sees a diamond dependency conflict. As an example, if some recent release of google-ads wants google-api-core>1.x.x, <2.0.0dev and some recent release of google-cloud-bigquery wants google-api-core>2.x.x, <3.0.0dev pip will not be able to find a version of google-api-core that satisfies both and raise an error.

On the Cloud side, we're doing this range expansion before the google-api-core release to increase the amount of time / # of versions published with compatible pins. The hope is that this decreases the likelihood end users of these libraries see dependency conflicts.

If you all would be more comfortable waiting until google-api-core 2.0.0 is released to take this change that is also OK.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AnashOommen

AnashOommen commented Jul 29, 2021 via email

Copy link
Copy Markdown
Member
Hi Bu, I read the document and understood the diamond dependency issue. That LGTM in terms of the proposed approach. We have a very large scale migration going on right now. Any bugs / performance regressions introduced in google-api-core 2.0.0 will have a much worse outcome than the diamond dependency issue we are talking about here. Happy to share details offline. Out of abundance of caution, our recommendation is to kindly pause your release until we run this new library version internally against our internal benchmarks and tests to ensure that nothing blows up. Kindly start an internal email thread with me, and Ben Karl, feel free to cc Dan/Justin. We will loop in more folks as needed and will try to unblock you ASAP.
…
On Wed, Jul 28, 2021, 7:32 PM Bu Sun Kim ***@***.***> wrote: Ah sorry, here's some more context: google-api-core is planning on officially dropping 2.7 in a new major release (2.0.0). The particular situation this PR is looking to prevent is one where some customer who uses bothgoogle-ads and a Google Cloud library sees a diamond dependency conflict. As an example, if some recent release of google-ads wants google-api-core>1.x.x, <2.0.0dev and some recent release of google-cloud-bigquery wants google-api-core>2.x.x, <3.0.0dev pip will not be able to find a version of google-api-core that satisfies both and raise an error. On the Cloud side, we're doing this range expansion before the google-api-core release to increase the amount of time / # of versions published with compatible pins. The hope is that this decreases the likelihood end users of these libraries see dependency conflicts. If you all would be more comfortable waiting until google-api-core 2.0.0 is released to take this change that is also OK. — You are receiving this because your review was requested. Reply to this email directly, view it on GitHub <#473 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABCOJCG756B42SUCOTMT26TT2CHQFANCNFSM5BFGL6WA> .
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96

busunkim96 commented Jul 29, 2021

Copy link
Copy Markdown
Author

Hi Anash!

One more important note: there are no major bug fixes/ performance changes planned for google-api-core 2.0.0, it is intended to just be a removal of python 2.7. You can review the currently open PR: googleapis/python-api-core#212.

I've also started an email thread to go into details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BenRKarl

BenRKarl commented Aug 12, 2021

Copy link
Copy Markdown
Contributor

Closing this because we're going to submit it via our internal code review process.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BenRKarl BenRKarl closed this Aug 12, 2021
@andrewkisel andrewkisel mentioned this pull request Nov 30, 2021
google-api-core dependency version #535
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wihl wihl Awaiting requested review from wihl
@laurachevalier4 laurachevalier4 Awaiting requested review from laurachevalier4

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@busunkim96 @AnashOommen @BenRKarl
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.