-
Notifications
You must be signed in to change notification settings - Fork 322
chore: Prepare for 2.0 release #278
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
620724e
Remove BQ Storage v1beta1 compatibility code
plamut 94345ae
Adjust code to new BQ Storage 2.0
plamut f5d9403
Remove Python 2/3 compatibility code
plamut c2eb9b7
Bump test coverage to 100%
plamut 13908c3
Update supported Python versions in README
plamut 62fa539
Add UPGRADING guide.
plamut 94c50cf
Regenerate bigquery_v2 code with microgenerator
plamut 68328c3
Adjust hand-written unit tests to regened BQ v2
plamut 9b26cf9
Adjust samples to BQ v2 regenerated code
plamut eb3354c
Adjust system tests to regenerated BQ v2
plamut 40eddb7
Skip failing generated unit test
plamut f490218
Delete Kokoro config for Python 2.7
plamut 755ff95
Fix docs build
plamut 045596e
Undelete failing test, but mark as skipped
plamut ecbf475
Fix namespace name in docstrings and comments
plamut e39fda2
Define minimum dependency versions for Python 3.6
plamut 49b06a4
Exclude autogenerated docs from docs index
plamut 7a4084e
Exclude generated services from the library
plamut 64d6660
Bump minumum proto-plus version to 1.10.0
plamut 73c2da8
Include generated types in the docs and rebuild
plamut c976ce5
Ignore skipped test in coverage check
plamut 2690ec7
Explain moved enums in UPGRADING guide
plamut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Disable system tests. | ||
| env_vars: { | ||
| key: "RUN_SYSTEM_TESTS" | ||
| value: "false" | ||
| } | ||
| # Format: //devtools/kokoro/config/proto/build.proto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| <!-- | ||
| Copyright 2020 Google LLC | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| https://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| --> | ||
|
|
||
|
|
||
| # 2.0.0 Migration Guide | ||
|
|
||
| The 2.0 release of the `google-cloud-bigquery` client drops support for Python | ||
| versions below 3.6. The client surface itself has not changed, but the 1.x series | ||
| will not be receiving any more feature updates or bug fixes. You are thus | ||
| encouraged to upgrade to the 2.x series. | ||
|
|
||
| If you experience issues or have questions, please file an | ||
| [issue](https://github.com/googleapis/python-bigquery/issues). | ||
|
|
||
|
|
||
| ## Supported Python Versions | ||
|
|
||
| > **WARNING**: Breaking change | ||
| The 2.0.0 release requires Python 3.6+. | ||
|
|
||
|
|
||
| ## Supported BigQuery Storage Clients | ||
|
|
||
| The 2.0.0 release requires BigQuery Storage `>= 2.0.0`, which dropped support | ||
| for `v1beta1` and `v1beta2` versions of the BigQuery Storage API. If you want to | ||
| use a BigQuery Storage client, it must be the one supporting the `v1` API version. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../UPGRADING.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| Services for Google Cloud Bigquery v2 API | ||
| ========================================= | ||
|
|
||
| .. automodule:: google.cloud.bigquery_v2.services.model_service | ||
tswast marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| :members: | ||
| :inherited-members: | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Types for Google Cloud Bigquery v2 API | ||
| ====================================== | ||
|
|
||
| .. automodule:: google.cloud.bigquery_v2.types | ||
plamut marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| :members: | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.