Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2023

Bumps snowflake-connector-python[pandas] from 2.4.3 to 3.0.1.

Release notes

Sourced from snowflake-connector-python[pandas]'s releases.

Release

New Features

  • Improved the robustness of OCSP response caching to handle errors in cases of serialization and deserialization.
  • Replaced the dependency on setuptools in favor of packaging.
  • Updated async_executes method's doc-string.
  • Errors raised now have a query field that contains the SQL query that caused them when available.

Bug Fixes

  • Fixed a bug where AuthByKeyPair.handle_timeout should pass keyword arguments instead of positional arguments when calling AuthByKeyPair.prepare.
  • Fixed a bug where MFA token caching would refuse to work until restarted instead of reauthenticating. Please check our community page for release notes.

Release

Behavior Changes

  • Fixed a bug where write_pandas did not use user-specified schemas and databases to create intermediate objects

New Features and Updates

  • Bumped pyarrow dependency from >=8.0.0,=10.0.1,<10.1.0
  • Bumped pyOpenSSL dependency from <23.0.0 to <24.0.0
  • During browser-based authentication, the SSO url is now printed before opening it in the browser
  • Increased the level of a log for when ArrowResult cannot be imported
  • Added a minimum MacOS version check when compiling C-extensions

Bug Fixes

  • Fixed a bug where the HTTP 429 response code was not retried
  • Fixed a bug where MFA token caching was not working

Please check our community page for release notes.

Release

New Features

  • Reworked authentication internals to allow users to plug custom key-pair authenticators.
  • Multi-statement query execution is now supported through cursor.execute and cursor.executemany.
    • The Snowflake parameter MULTI_STATEMENT_COUNT can be altered at the account, session, or statement level. An additional argument, num_statements, can be provided to execute to use this parameter at the statement level. It must be provided to executemany to submit a multi-statement query through the method. Note that bulk insert optimizations available through executemany are not available when submitting multi-statement queries.
      • By default the parameter is 1, meaning only a single query can be submitted at a time.
      • Set to 0 to submit any number of statements in a multi-statement query.
      • Set to >1 to submit the specified exact number of statements in a multi-statement query.
    • Bindings are accepted in the same way for multi-statements as they are for single statement queries.
    • Asynchronous multi-statement query execution is supported. Users should still use get_results_from_sfqid to retrieve results.
    • To access the results of each query, users can call SnowflakeCursor.nextset() as specified in the DB 2.0 API (PEP-249), to iterate through each statements results.
      • The first statement's results are accessible immediately after calling execute (or get_results_from_sfqid if asynchronous) through the existing fetch*() methods.

Bug Fixes

... (truncated)

Commits
  • ec95c56 SNOW-751214 pin tox<4 temporarily (#1458)
  • be500a0 3.0.1 release (#1446)
  • 7b00025 Replace runtime dependency on setuptools with modern libraries (#1448)
  • 12f7d03 SNOW-733835 fix AuthByIdToken expired token auth (#1444)
  • 28fa609 SNOW-744534: add test and change log for pr1440
  • 97de8e6 Update keypair.py (#1440)
  • ea7fc66 SNOW-701257: add query attribute to Error class (#1437)
  • 533f782 SNOW-647590: update execute_async's desc to not support PUT/GET (#1394)
  • 10f7940 SNOW-743465: fix snowcli test failure by reverting test util change (#1438)
  • 1d3d87e SNOW-743465: update mypy import (#1435)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [snowflake-connector-python[pandas]](https://github.com/snowflakedb/snowflake-connector-python) from 2.4.3 to 3.0.1.
- [Release notes](https://github.com/snowflakedb/snowflake-connector-python/releases)
- [Commits](snowflakedb/snowflake-connector-python@v2.4.3...v3.0.1)

---
updated-dependencies:
- dependency-name: snowflake-connector-python[pandas]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants