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 branch with main #1175

Merged
merged 34 commits into from
Mar 29, 2022
Merged

chore: sync v3 branch with main #1175

merged 34 commits into from
Mar 29, 2022

Commits on Jan 22, 2022

  1. chore(python): exclude templated GH action workflows (#1116)

    * ci(python): run lint / unit tests / docs as GH actions
    
    Source-Link: googleapis/synthtool@57be0cd
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ed1f9983d5a935a89fe8085e8bb97d94e41015252c5b6c9771257cf8624367e6
    
    * exclude templated GH action workflows
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored Jan 22, 2022
    Configuration menu
    Copy the full SHA
    970c2a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    aee4e61 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. chore: use gapic-generator-python 0.62.1 (#1127)

    committer: parthea
    PiperOrigin-RevId: 425964861
    
    Source-Link: googleapis/googleapis@84b1a5a
    
    Source-Link: googleapis/googleapis-gen@4fb761b
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGZiNzYxYmJkODUwNmFjMTU2ZjQ5YmFjNWYxODMwNmFhOGViM2FhOCJ9
    
    * 🦉 Updates from OwlBot
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    8712b6f View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. docs: show common job properties in get_job and cancel_job samples (

    #1137)
    
    * docs: show common job properties in `get_job` and `cancel_job` samples
    
    * flake8
    tswast authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    8edc10d View commit details
    Browse the repository at this point in the history
  2. docs: reference BigQuery REST API defaults in LoadJobConfig descrip… (

    #1132)
    
    …tion
    
    Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
    - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) 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)
    
    Fixes internal issue 213442215 🦕
    tswast authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    18d9580 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    1c7dbdd View commit details
    Browse the repository at this point in the history
  2. fix: return 403 when VPC-SC violation happens (#1131)

    This is fixing the issue where VPC-SC violation is not returning 403. Error message map does not recognize VPCSC policy violation error and will default to return an internal server error.
    
    Co-authored-by: Tim Swast <swast@google.com>
    Erroration2022 and tswast authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    f5daa9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7dd30af View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. chore(main): release 2.33.0 (#1138)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    39ade39 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. feat: support BI Engine statistics in query job (#1144)

    * chore: Add support for accessing BI Engine statistics
    
    The REST API returns BiEngineStatistics for a query which denotes if the
    query was accelerated by BI Engine or not. This commit adds the
    necessary function to access this information for executed queries.
    
    * fix: Removed enums and replaced with string constants
    
    * fix: Fixed logic for creating BIEngineStats and added test case
    
    * Attempt at mypy fix
    
    Co-authored-by: Tim Swast <swast@google.com>
    anmolsahoo25 and tswast authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    7482549 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 2.34.0 (#1145)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    358f91e View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. deps: add "extra" for IPython, exclude bad IPython release (#1151)

    * deps: add "extra" for IPython, exclude bad IPython release
    
    * skip magics tests when IPython not installed
    
    * sort importorskips
    
    * add 3.10 prerelease session
    
    * add continuous session
    tswast authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    0fbe12d View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency ipython to v8.0.1 [security] (#1126)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [ipython](https://ipython.org) ([source](https://github.com/ipython/ipython)) | `==8.0.0` -> `==8.0.1` | [![age](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/compatibility-slim/8.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/confidence-slim/8.0.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ### GitHub Vulnerability Alerts
    
    #### [CVE-2022-21699](https://github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x)
    
    We’d like to disclose an arbitrary code execution vulnerability in IPython that stems from IPython executing untrusted files in CWD. This vulnerability allows one user to run code as another.
     
    Proof of concept
    
    User1:
    ```
    mkdir -m 777 /tmp/profile_default
    mkdir -m 777 /tmp/profile_default/startup
    echo 'print("stealing your private secrets")' > /tmp/profile_default/startup/foo.py
    ```
    
    User2:
    ```
    cd /tmp
    ipython
    ```
    
     
    
    User2 will see:
    ```
    Python 3.9.7 (default, Oct 25 2021, 01:04:21)
    Type 'copyright', 'credits' or 'license' for more information
    IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help.
    stealing your private secrets
    ```
    
    ## Patched release and documentation
    
    See https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699, 
    
    Version 8.0.1, 7.31.1 for current Python version are recommended. 
    Version 7.16.3 has also been published for Python 3.6 users, 
    Version 5.11 (source only, 5.x branch on github) for older Python versions.
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>ipython/ipython</summary>
    
    ### [`v8.0.1`](https://github.com/ipython/ipython/compare/8.0.0...8.0.1)
    
    [Compare Source](https://github.com/ipython/ipython/compare/8.0.0...8.0.1)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: "" (UTC).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
    renovate-bot authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    70ab0b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. Configuration menu
    Copy the full SHA
    0019c18 View commit details
    Browse the repository at this point in the history
  2. chore: update copyright year to 2022 (#1150)

    * chore: update copyright year to 2022
    
    PiperOrigin-RevId: 431037888
    
    Source-Link: googleapis/googleapis@b3397f5
    
    Source-Link: googleapis/googleapis-gen@510b54e
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTEwYjU0ZTFjZGVmZDUzMTczOTg0ZGYxNjY0NTA4MTMwOGZlODk3ZSJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Tim Swast <swast@google.com>
    3 people authored Mar 2, 2022
    Configuration menu
    Copy the full SHA
    6762d13 View commit details
    Browse the repository at this point in the history
  3. samples: remove browser option from user credentials sample (#1147)

    * samples: remove run_console from user credentials sample
    
    * Update samples/snippets/user_credentials.py
    
    Co-authored-by: Tim Swast <swast@google.com>
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: Tim Swast <swast@google.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    3 people authored Mar 2, 2022
    Configuration menu
    Copy the full SHA
    eea935c View commit details
    Browse the repository at this point in the history
  4. deps: allow pyarrow 7.0 (#1112)

    * chore(deps): update all dependencies
    
    * Apply suggestions from code review
    
    * Apply suggestions from code review
    
    Co-authored-by: Tim Swast <swast@google.com>
    renovate-bot and tswast authored Mar 2, 2022
    Configuration menu
    Copy the full SHA
    57f8ea9 View commit details
    Browse the repository at this point in the history
  5. chore(main): release 2.34.1 (#1153)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ### [2.34.1](v2.34.0...v2.34.1) (2022-03-02)
    
    
    ### Dependencies
    
    * add "extra" for IPython, exclude bad IPython release ([#1151](#1151)) ([0fbe12d](0fbe12d))
    * allow pyarrow 7.0 ([#1112](#1112)) ([57f8ea9](57f8ea9))
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Mar 2, 2022
    Configuration menu
    Copy the full SHA
    26daa66 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#1157)

    fix(deps): require proto-plus>=1.15.0
    parthea authored Mar 3, 2022
    Configuration menu
    Copy the full SHA
    0c15790 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. chore: Adding support for pytest-xdist and pytest-parallel (#1160)

    Source-Link: googleapis/synthtool@82f5cb2
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5d8da01438ece4021d135433f2cf3227aa39ef0eaccc941d62aa35e6902832ae
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    bf37ba4 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. chore(deps): update all dependencies (#1156)

    * chore(deps): update all dependencies
    
    * revert ipython changes for python_version < 3.9
    
    * revert changes
    
    * revert ipython changes for python < 3.9
    
    * revert changes
    
    * revert changes
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    renovate-bot and parthea authored Mar 5, 2022
    Configuration menu
    Copy the full SHA
    39cf14c View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. chore(main): release 2.34.2 (#1158)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    6054e2c View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. chore(deps): update all dependencies (#1162)

    * chore(deps): update all dependencies
    
    * remove py36 pin
    
    * remove py36 pin
    
    * remove py36 pin
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    renovate-bot and parthea authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    0588262 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update all dependencies (#1163)

    * chore(deps): update all dependencies
    
    * revert
    
    * revert
    
    * fix typo
    
    * revert
    
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    renovate-bot and parthea authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    dfa3102 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. fix: update content-type header (#1171)

    * update content-type header
    
    * fix: update content-type header
    steffnay authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    921b440 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. test: Move tests/unit/helpers to tests/unit/_helpers (#1169)

    Remove ambiguity between importing tests/unit/helpers and tests/unit/helpers.py
    which can lead to import errors.
    
    Renamed directory _helpers matches the google.cloud.bigquery._helpers module
    being tested.
    
    Fixes #1168 🦕
    waltaskew authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    d7f3e8d View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Configuration menu
    Copy the full SHA
    fec1ae6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4f4847 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dedb2ea View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. fix: upgrade black (#1177)

    * fix: upgrade black
    
    * upgrade black
    steffnay authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    8fd7c95 View commit details
    Browse the repository at this point in the history
  2. chore(python): use black==22.3.0 (#1176)

    Source-Link: googleapis/synthtool@6fab84a
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    bb21353 View commit details
    Browse the repository at this point in the history
  3. chore(main): release 2.34.3 (#1172)

    * chore(main): release 2.34.3
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anthonios Partheniou <partheniou@google.com>
    3 people authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    35aeaa6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0279fa9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35d2d70 View commit details
    Browse the repository at this point in the history