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

Bump snowflake-connector-python[secure-local-storage] from 2.3.6 to 2.4.1 in /plugins/snowflake #3148

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2021

Bumps snowflake-connector-python[secure-local-storage] from 2.3.6 to 2.4.1.

Commits
  • 77ad07f Snow 295621 python connector version bump (#643) (#644)
  • 159064e SNOW-294263 logging update (#642)
  • c546c56 SNOW-294266 make connection object exit autocommit aware (#641)
  • 2dc8f4a SNOW-294004: Bumped up PythonConnector MINOR version from 2.3.10 to 2.4.0 (#6...
  • dee5734 SNOW-270946: added percentage unit test to skip old driver (#640)
  • 74da1c5 SNOW-270946 Progress percentage computation to handle the case when file size...
  • 23d8207 Add pytest-xdist dependency and -n auto option (#637)
  • 1d9f513 SNOW-136583 add a test for threshold number parsing (#636)
  • fbf519e SNOW-281305 implement bulk array binding (#633)
  • 2b41eaa SNOW-136583 adding multipart PUT threshold support (#627)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

@dependabot dependabot bot added dependencies Changes to the version of dbt dependencies python Pull requests that update Python code labels Mar 5, 2021
@cla-bot cla-bot bot added the cla:yes label Mar 5, 2021
@kwigley kwigley force-pushed the dependabot/pip/plugins/snowflake/snowflake-connector-python-secure-local-storage--2.4.1 branch from 9f00292 to 8680b81 Compare March 26, 2021 16:50
@kwigley kwigley force-pushed the dependabot/pip/plugins/snowflake/snowflake-connector-python-secure-local-storage--2.4.1 branch from 8680b81 to fefaf7b Compare March 26, 2021 20:04
@kwigley
Copy link
Contributor

kwigley commented Mar 26, 2021

after this is merged, we should turn on python 3.9 unit testing

'azure-storage-blob>=12.0.0,<13.0.0',
'urllib3>=1.20,<1.26.0',
# this seems sufficiently broad
'snowflake-connector-python[secure-local-storage]~=2.4.1',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How bad of an idea is this?

This is the equivalent to >=2.4.1, ==2.4.* (https://www.python.org/dev/peps/pep-0440/#compatible-release)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my clarity: This is effectively the same as >=2.4.1, <2.5.0, right?

I'm in favor of giving it a go. The SCP folks seem like they've gotten their act together, and the connector is in much better order than it was just a few months ago. Let's do this now, and keep a close eye on SCP releases between now and v0.20.0 final release :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! Cool, my thinking exactly 👍

Comment on lines -51 to -52
'azure-common<2.0.0',
'azure-storage-blob>=12.0.0,<13.0.0',
Copy link
Contributor

@kwigley kwigley Mar 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think these are needed. We don't directly use these packages in the codebase to my knowledge and the same constraints exist in snowflake-connector-python
https:/snowflakedb/snowflake-connector-python/blob/77ad07f9a07991719258d6b6c6ebfb48691e51de/setup.py#L197-L198

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we initially pinned these back in Nov 2019 (#1878), when we started being much stricter with SCP

I agree, we don't need them, and we wouldn't want to have them if we're loosening SCP from a tight pin

@kwigley kwigley requested review from jtcohen6, a team and gshank and removed request for a team March 26, 2021 21:04
Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

after this is merged, we should turn on python 3.9 unit testing

And also Snowflake + py39 integration tests, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes dependencies Changes to the version of dbt dependencies python Pull requests that update Python code
Projects
None yet
3 participants