Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-spanner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.7.0
Choose a base ref
...
head repository: googleapis/python-spanner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.8.0
Choose a head ref
  • 12 commits
  • 40 files changed
  • 9 contributors

Commits on Aug 2, 2021

  1. chore(deps): update dependency google-cloud-testutils to v1 (#476)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-cloud-testutils](https://togithub.com/googleapis/python-test-utils) | `==0.3.0` -> `==1.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-testutils/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-testutils/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-testutils/1.0.0/compatibility-slim/0.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-testutils/1.0.0/confidence-slim/0.3.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-test-utils</summary>
    
    ### [`v1.0.0`](https://togithub.com/googleapis/python-test-utils/blob/master/CHANGELOG.md#&#8203;100-httpswwwgithubcomgoogleapispython-test-utilscomparev030v100-2021-08-02)
    
    [Compare Source](https://togithub.com/googleapis/python-test-utils/compare/v0.3.0...v1.0.0)
    
    ##### ⚠ BREAKING CHANGES
    
    -   drop support for Python 2.7 ([#&#8203;43](https://www.github.com/googleapis/python-test-utils/issues/43)) ([f5e9c65](https://www.github.com/googleapis/python-test-utils/commit/f5e9c6535481e1ed70fa5e356668e5b0695481e0))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.
    
    ---
    
    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-spanner).
    renovate-bot authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    ea88304 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8de7856 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. samples: add default leader options samples (#428)

    * feat: add configurable leader placement support
    
    * lint
    
    * Create multi-regional instances
    
    * try another print stmt
    
    * try nam3
    
    * variable for config
    
    * samples: add default leader options samples
    
    * fix
    
    * fix
    
    * fix
    
    * use sample instance
    
    * use new default leader instance
    
    * fix
    
    * underscore rather than dashes?
    
    * fix
    
    * add reload
    
    * review changes
    zoercai authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    86293f9 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency google-cloud-spanner to v3.7.0 (#473)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [google-cloud-spanner](https://togithub.com/googleapis/python-spanner) | `==3.6.0` -> `==3.7.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.7.0/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-spanner/3.7.0/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/python-spanner</summary>
    
    ### [`v3.7.0`](https://togithub.com/googleapis/python-spanner/blob/master/CHANGELOG.md#&#8203;370-httpswwwgithubcomgoogleapispython-spannercomparev360v370-2021-07-29)
    
    [Compare Source](https://togithub.com/googleapis/python-spanner/compare/v3.6.0...v3.7.0)
    
    ##### Features
    
    -   add always_use_jwt_access ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;434](https://www.github.com/googleapis/python-spanner/issues/434)) ([06b4215](https://www.github.com/googleapis/python-spanner/commit/06b4215f76ae806eba1d0d07115c8c90b8c7482d)), closes [#&#8203;433](https://www.github.com/googleapis/python-spanner/issues/433)
    
    ##### Documentation
    
    -   fix docstring for session.py ([#&#8203;387](https://www.github.com/googleapis/python-spanner/issues/387)) ([3132587](https://www.github.com/googleapis/python-spanner/commit/3132587453f7bd0be72ebc393626b5c8b1bab982))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **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, check this box.
    
    ---
    
    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-spanner).
    renovate-bot authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    a1c52be View commit details
    Browse the repository at this point in the history
  3. chore: fix kokoro config for samples (#426)

    Source-Link: googleapis/synthtool@dd05f9d
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:aea14a583128771ae8aefa364e1652f3c56070168ef31beb203534222d842b8b
    gcf-owl-bot[bot] authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    a2b81be View commit details
    Browse the repository at this point in the history
  4. feat: use DML batches in executemany() method (#412)

    * feat: use mutations for executemany() inserts
    
    * add unit test and fix parsing
    
    * add use_mutations flag into Connection class
    
    * use three-values flag for use_mutations
    
    * update docstrings
    
    * use batch DMLs for executemany() method
    
    * prepare args before inserting into SQL statement
    
    * erase mutation mentions
    
    * next step
    
    * next step
    
    * next step
    
    * fixes
    
    * add unit tests for UPDATE and DELETE statements
    
    * don't propagate errors to users on retry
    
    * lint fixes
    
    * use run_in_transaction
    
    * refactor the tests code
    
    * fix merge conflict
    
    * fix the unit test
    
    * revert some changes
    
    * use executemany for test data insert
    
    Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
    Ilya Gurov and larkee authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    cbb4ee3 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. tests: move systests into separate modules, refactor using pytest (#474)

    * tests: move instance API systests to own module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup / teardown.
    
    Toward #472.
    
    * tests: move database API systests to own module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup / teardown.
    
    Toward #472.
    
    * tests: move table API systests to own module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup / teardown.
    
    Toward #472.
    
    * tests: move backup API systests to own module [WIP]
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup / teardown.
    
    Toward #472.
    
    * tests: move streaming/chunnking systests to own module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup / teardown.
    
    Toward #472.
    
    * tests: move session API systests to own module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Config'
    setup/ teardown.
    
    Toward #472.
    
    * tests: move dbapi systests to owwn module
    
    Refactor to use pytest fixtures / idioms, rather than old 'Confog'
    setup / teardown.
    
    Toward #472.
    
    * tests: remove legacy systest setup / teardown code
    
    Closes #472.
    
    * tests: don't pre-create datbase before restore attempt
    
    * tests: fix instance config fixtures under emulator
    
    * tests: clean up alt instnce at module scope
    
    Avoids clash with 'test_list_instances' expectatons.
    
    * tests: work around MethodNotImplemented
    
    Raised from 'ListBackups' API on the CI emulator, but not locally.
    
    * chore: drop use of pytz in systests
    
    See #479 for rationale.
    
    * chore: fix fossil in comment
    
    * chore: move '_check_batch_status' to only calling module
    
    Likewise the 'FauxCall' helper class it uses.
    
    * chore: improve testcase name
    
    * tests: replicate dbapi systest changes from #412 into new module
    tseaver authored Aug 11, 2021
    Configuration menu
    Copy the full SHA
    5629bac View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

  1. tests: allow prerelease dependency versions under Python 3.9 (#479)

    Also, drop use of 'pytz', which is no longer depended on by `google-api-core` / `google-cloud-core`.
    
    Instead, use either `datetime.timezone.utc` or `google.cloud._helpers.UTC`, depending on usage.
    tseaver authored Aug 12, 2021
    Configuration menu
    Copy the full SHA
    9746062 View commit details
    Browse the repository at this point in the history
  2. ci: split systests into separate Kokoro session (#481)

    Closes #478.
    
    Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
    tseaver and larkee authored Aug 12, 2021
    Configuration menu
    Copy the full SHA
    d557a8d View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2021

  1. fix(samples): batch_update() results processing error (#484)

    * fix(samples): batch_update() results processing error
    
    * fix the comment
    
    * minor fix
    
    Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
    Ilya Gurov and larkee authored Aug 15, 2021
    Configuration menu
    Copy the full SHA
    bdd5f8b View commit details
    Browse the repository at this point in the history
  2. chore: drop mention of Python 2.7 from templates (#488)

    Source-Link: googleapis/synthtool@facee4c
    Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:9743664022bd63a8084be67f144898314c7ca12f0a03e422ac17c733c129d803
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
    3 people authored Aug 15, 2021
    Configuration menu
    Copy the full SHA
    372b40d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. chore: release 3.8.0 (#480)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
    release-please[bot] and larkee authored Aug 16, 2021
    Configuration menu
    Copy the full SHA
    05a2c37 View commit details
    Browse the repository at this point in the history
Loading