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

chore: sync v3 with main branch #1055

Merged
merged 4 commits into from
Nov 10, 2021
Merged

Conversation

plamut
Copy link
Contributor

@plamut plamut commented Nov 9, 2021

Another sync merge after merging type annotations into the main branch. This is to reach as clean a state as possible before adding new features and bugfixes to the v3 branch.

PR checklist:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

plamut and others added 4 commits November 8, 2021 10:21
* process: add mypy types check to nox sessions

* Ignore type errors for not annotated modules

Several dependencies lack type annotations, or they don't advertise
themselves as type-annotated. We do not want `mypy` to complain about
these.

* Fix mypy complaints (batch 1)

* Fix mypy complaints (batch 2)

* Fix mypy complaints (batch 3)

* Fix mypy false positive errors

* Simplify external config options instantiation

* Do not ignore api-core in type checks

More recent releases of google-api-core have typing enabled.

* Remove unneeded __hash__ = None lines

* Use an alias for timeout type in client.py

* Fix PathLike subscription error in pre-Python 3.9

* Fix a typo in docstring

Co-authored-by: Tim Swast <swast@google.com>

* Add mypy to the list of nox sessions to run

* Fix opentelemetry type error

The Opentelemetry APi has changed from the minimum version the
BigQuery client currently uses, we thus need to bound the maximum
Opentelemetry version.

In addition, that maximum version does not yet support type checks, thus
it is ignored.

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Exclude type-checking code from coverage

* Fix patching opentelemetry tracer pvoider

* Adjust get_job() return type, ignore opentelemetry

Co-authored-by: Tim Swast <swast@google.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@plamut plamut requested review from tswast and a team November 9, 2021 20:09
@plamut plamut requested a review from a team as a code owner November 9, 2021 20:09
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Nov 9, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2021
@plamut
Copy link
Contributor Author

plamut commented Nov 9, 2021

The do not merge label is a reminder to use a merge commit when merging (without squashing!).

@plamut plamut added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 9, 2021
@tswast tswast removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 10, 2021
@tswast tswast merged commit 42d3db6 into googleapis:v3 Nov 10, 2021
@plamut plamut deleted the sync-v3-with-main branch November 10, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants