Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen googleapis-common-protos requirement in opentelemetry-exporter-otlp-proto-http #3324

Closed
wants to merge 2 commits into from
Closed

Loosen googleapis-common-protos requirement in opentelemetry-exporter-otlp-proto-http #3324

wants to merge 2 commits into from

Conversation

BrendanGraham14
Copy link

Description

Loosen the upper bound on the googleapis-common-protos requirement to avoid unnecessary dependency conflicts with other libraries (e.g. more recent versions of google-api-core).

Fixes # (issue)

Type of change

  • [ x ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated tests

@BrendanGraham14 BrendanGraham14 requested a review from a team as a code owner May 25, 2023 18:10
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 25, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: BrendanGraham14 / name: Brendan Graham (e5293ef)
  • ✅ login: ocelotl / name: Diego Hurtado (4192c2e)

@@ -28,7 +28,7 @@ dependencies = [
"Deprecated >= 1.2.6",
"backoff >= 1.10.0, < 2.0.0; python_version<'3.7'",
"backoff >= 1.10.0, < 3.0.0; python_version>='3.7'",
"googleapis-common-protos ~= 1.52",
"googleapis-common-protos ~= 1.52, < 1.60.0",
Copy link
Member

@aabmass aabmass Jun 23, 2023

Choose a reason for hiding this comment

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

This is not loosening the requirement, this is making it more strict no? googleapis-common-protos ~= 1.52 already allows any 1.x version:

$ python3 -m venv venv 
$ ./venv/bin/pip install 'googleapis-common-protos ~= 1.52'
$ ./venv/bin/pip list googleapis-common-protos
$ ./venv/bin/pip list
Package                  Version
------------------------ -------
googleapis-common-protos 1.59.1
pip                      23.0.1
protobuf                 4.23.3
setuptools               66.1.1

Copy link
Contributor

Choose a reason for hiding this comment

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

Besides that, right now the latest version of googleapis-common-protos is 1.59.1.

What is this change actually trying to prevent? Seems like you expect an issue to happen when 1.60.0 is released?

@BrendanGraham14 BrendanGraham14 deleted the loosen-googleapis-common-protos branch July 9, 2023 17:50
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.

None yet

3 participants