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 — fix: avoid bad version of `opentelemetry-instrumentation` by larkee · Pull Request #429 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@larkee

@larkee larkee commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

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.

Sorry, something went wrong.

Uh oh!

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

All reactions
@larkee
fix: avoid bad version of opentelemetry-instrumentation
e0afd22
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 27, 2021
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner API. label Jul 27, 2021
@larkee
test: pin test dependencies
1f3a4eb
@larkee
larkee marked this pull request as ready for review July 27, 2021 08:36
@larkee
larkee requested review from a team and tseaver July 27, 2021 08:36
@parthea
parthea requested a review from busunkim96 July 27, 2021 14:46
tseaver
tseaver suggested changes Jul 27, 2021
View reviewed changes

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The main change here (in setup.py 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).

Sorry, something went wrong.

Uh oh!

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

All reactions
@larkee
test: revert test constraints
8bb63fd
@larkee

larkee commented Jul 28, 2021

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Jul 28, 2021

Copy link
Copy Markdown
Contributor

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

    session.run("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
Home-page: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation
Author: OpenTelemetry Authors
Author-email: [email protected]
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
All reactions

Sorry, something went wrong.

Uh oh!

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

tseaver
tseaver suggested changes Jul 28, 2021
View reviewed changes
Comment thread setup.py Resolved

Uh oh!

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

@tseaver tseaver mentioned this pull request Jul 28, 2021
chore: release 3.7.0 #398
Merged
@tseaver
chore: pin opentelemetry-instrumentation < 0.23dev
4671eb8
Versions after `0.23b0` are now released, and still break us.
@tseaver tseaver mentioned this pull request Jul 28, 2021
tests: avoid using real credentials unit tests #432
Merged
tseaver
tseaver approved these changes Jul 28, 2021
View reviewed changes
@tseaver
tseaver merged commit 1620c12 into googleapis:master Jul 28, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jul 30, 2021
@release-please
chore: release 3.7.0 (#398)
89fe076
🤖 I have created a release \*beep\* \*boop\*
---
## [3.7.0](https://www.github.com/googleapis/python-spanner/compare/v3.6.0...v3.7.0) (2021-07-29)


### Features

* add always_use_jwt_access ([#381](https://www.github.com/googleapis/python-spanner/issues/381)) ([0f1a5de](https://www.github.com/googleapis/python-spanner/commit/0f1a5ded572685a96d29a60c959cb00a48f7a87f))
* add configurable leader placement support ([#399](https://www.github.com/googleapis/python-spanner/issues/399)) ([7f1b120](https://www.github.com/googleapis/python-spanner/commit/7f1b1209e62062014545cf959d41f04184552eec))
* add sample for low cost instances ([#392](https://www.github.com/googleapis/python-spanner/issues/392)) ([3f4f93f](https://www.github.com/googleapis/python-spanner/commit/3f4f93f75f5585a82047bf8d83a24622ad776ecb))


### Bug Fixes

* avoid bad version of `opentelemetry-instrumentation` ([#429](https://www.github.com/googleapis/python-spanner/issues/429)) ([1620c12](https://www.github.com/googleapis/python-spanner/commit/1620c12a56e0d007cf010690bab303db06d0c914))
* **deps:** pin 'google-{api,cloud}-core' to allow 2.x versions ([#415](https://www.github.com/googleapis/python-spanner/issues/415)) ([b0455d0](https://www.github.com/googleapis/python-spanner/commit/b0455d0ab657cd053a7527e99bdbfadc4de23b30))
* disable always_use_jwt_access ([c37bf21](https://www.github.com/googleapis/python-spanner/commit/c37bf21afdf417757eff67fe8500aa65f49fd5ad))
* disable always_use_jwt_access ([#395](https://www.github.com/googleapis/python-spanner/issues/395)) ([c37bf21](https://www.github.com/googleapis/python-spanner/commit/c37bf21afdf417757eff67fe8500aa65f49fd5ad))
* enable self signed jwt for grpc ([#427](https://www.github.com/googleapis/python-spanner/issues/427)) ([2487800](https://www.github.com/googleapis/python-spanner/commit/2487800e31842a44dcc37937c325e130c8c926b0))
* support merging for NUMERIC values ([#434](https://www.github.com/googleapis/python-spanner/issues/434)) ([06b4215](https://www.github.com/googleapis/python-spanner/commit/06b4215f76ae806eba1d0d07115c8c90b8c7482d)), closes [#433](https://www.github.com/googleapis/python-spanner/issues/433)


### Documentation

* fix docstring for session.py ([#387](https://www.github.com/googleapis/python-spanner/issues/387)) ([3132587](https://www.github.com/googleapis/python-spanner/commit/3132587453f7bd0be72ebc393626b5c8b1bab982))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@busunkim96 busunkim96 Awaiting requested review from busunkim96
1 more reviewer
@tseaver tseaver tseaver approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

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.

2 participants

@larkee @tseaver
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.