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

Add six to install_requires. #302

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

masamitsu-murase
Copy link

@masamitsu-murase masamitsu-murase commented Jun 4, 2022

install_requires in setup.py should include dependency to six library because snowdialect.py in this library uses six.

I added six>=1.4.0 to install_requires in setup.py because snowdialect.py uses six.moves.urllib_parse.unquote_plus, which was introduced in six 1.4.0.

snowflake-connector-python, which is one of the dependent libraries, v2.7.7 or older depends on six library indirectly, but v2.7.8 does not.
As a result, this issue occurs after snowflake-connector-python v2.7.8 was released recently because six is not installed automatically when a user runs pip install snowflake-sqlalchemy.

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    It seems that any issue has not been submitted yet.

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding new credentials
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Add "six>=1.4.0" to install_requires in setup.py.

@github-actions
Copy link

github-actions bot commented Jun 4, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@masamitsu-murase
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@masamitsu-murase
Copy link
Author

recheck

snowdialect.py requires six 1.4.0 or later because it uses six.moves.urllib_parse.unquote_plus.
@masamitsu-murase
Copy link
Author

I rebased this pull request to resolve conflict with 2bde522.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant