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

opencensus-ext-stackdriver should relax or upgrade dependendency pinning of google-cloud-trace #1073

Open
frehov opened this issue Sep 9, 2021 · 2 comments
Assignees
Labels

Comments

@frehov
Copy link

frehov commented Sep 9, 2021

Describe your environment. Describe any aspect of your environment relevant to the problem, including your Python version, platform, version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on master.

Steps to reproduce.

Create a project with google-cloud-core 2.0.0, and add opencensus and opencensus-ext-stackdriver.

What is the expected behavior?
Dependency resolution should finish.

What is the actual behavior?
Dependency resolution times out due to opencensus-ext-stackdriver pinning an older version of google-cloud-trace that dissallows the usage of google-cloud-core 2.x

Additional context.
We use dependabot in our project as an automatic dependency management tool, and upon receiving the update to google-cloud-core all of the builds/checks for the project started timing out, using more than 15 minutes for dependency resolution.
Upon researching what were holding us back, we identified opencensus-ext-stackdriver as the culprit, because it was pinning an alfa/beta-release of the google-cloud-trace library. The google-cloud-trace library went GA with version 1.1.0 on Oct 13, 2020.
This breakage caused us to reexamine our use of tracing, and we found that OpenTelemetry with opentelemetry-exporter-gcp-trace was now the preferred option according to the documentation. However, both libraries depend on the pre-GA version of google-cloud-trace and as such we can't upgrade to google-cloud-core 2.0.0.

@henrik-caroe-bylling
Copy link

henrik-caroe-bylling commented Dec 17, 2021

We're having this issue as well. We're using opencensus-ext-stackdriver and we're not able to migrate to opentelemetry currently because of other dependencies. However, we need to upgrade to google-cloud-core 2.0.0 but are unable to at the moment due to this issue.

@laz-
Copy link

laz- commented Mar 30, 2023

the google-cloud-trace pin also logjams any upgrade of protobuf above 3.x, which is a major version bump that happened last year: https://protobuf.dev/news/2022-05-06/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants