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

fix: avoid bad version of opentelemetry-instrumentation #429

merged 4 commits into from Jul 28, 2021


Copy link

@larkee larkee commented Jul 27, 2021

Version 0.23b0 of opentelemetry-instrumentation is causing unit tests failure relating to opentelemetry assertions. This PR updated the google-cloud-spanner dependency to avoid this particular version.

@google-cla google-cla bot added the cla: yes label Jul 27, 2021
@product-auto-label product-auto-label bot added the api: spanner label Jul 27, 2021
@larkee larkee marked this pull request as ready for review Jul 27, 2021
@larkee larkee requested a review from as a code owner Jul 27, 2021
@larkee larkee requested a review from tseaver Jul 27, 2021
@parthea parthea requested a review from busunkim96 Jul 27, 2021
Copy link

@tseaver tseaver left a comment

The main change here (in looks fine).

For the testing/constraints-x.y.txt files, the pattern in other libraries is to have the one associated with the lowest supported Python version (i.e, testing/constraints-3.x.txt) pin all the minimum dependencies, so that the library gets tested against them, but leave them unpinned for the higher supported versions (so that we continue to test against current versions).

Copy link
Contributor Author

@larkee larkee commented Jul 28, 2021

@tseaver The test pass locally with the change but the CI is still failing 😕 Any ideas? This is blocking all PRs

Copy link

@tseaver tseaver commented Jul 28, 2021

@larkee I'm puzzled. Can you tweak noxfile to show the installed version of opentelemetry-instrumenation, e.g.:"pip", "show", "opentelemetry-instrumentation")

I'm seeing this locally, and it fails:

Name: opentelemetry-instrumentation
Version: 0.23b2
Summary: Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python
Author: OpenTelemetry Authors
License: Apache-2.0
Location: /home/tseaver/projects/agendaless/Google/src/python-spanner/.nox/unit-3-9/lib/python3.9/site-packages
Requires: opentelemetry-api, wrapt
Required-by: opentelemetry-sdk Outdated Show resolved Hide resolved
@tseaver tseaver mentioned this pull request Jul 28, 2021
Versions after `0.23b0` are now released, and still break us.
@tseaver tseaver merged commit 1620c12 into googleapis:master Jul 28, 2021
10 checks passed
gcf-merge-on-green bot pushed a commit that referenced this issue Jul 30, 2021
🤖 I have created a release \*beep\* \*boop\*
## [3.7.0]( (2021-07-29)

### Features

* add always_use_jwt_access ([#381]( ([0f1a5de](
* add configurable leader placement support ([#399]( ([7f1b120](
* add sample for low cost instances ([#392]( ([3f4f93f](

### Bug Fixes

* avoid bad version of `opentelemetry-instrumentation` ([#429]( ([1620c12](
* **deps:** pin 'google-{api,cloud}-core' to allow 2.x versions ([#415]( ([b0455d0](
* disable always_use_jwt_access ([c37bf21](
* disable always_use_jwt_access ([#395]( ([c37bf21](
* enable self signed jwt for grpc ([#427]( ([2487800](
* support merging for NUMERIC values ([#434]( ([06b4215](, closes [#433](

### Documentation

* fix docstring for ([#387]( ([3132587](

This PR was generated with [Release Please]( See [documentation](
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
api: spanner cla: yes
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants