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

Snowflake connection is not working #27703

Open
3 tasks done
sivankumar86 opened this issue Mar 27, 2024 · 8 comments
Open
3 tasks done

Snowflake connection is not working #27703

sivankumar86 opened this issue Mar 27, 2024 · 8 comments
Labels
data:connect:snowflake Related to Snowflake

Comments

@sivankumar86
Copy link

Bug description

cryptography version conflict

How to reproduce the bug

  1. add RUN pip install snowflake-sqlalchemy==1.5.0 or latest verion
  2. run a docker build and it failed with cryptography dep error

Screenshots/recordings

#9 51.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
#9 51.15 apache-superset 3.1.1 requires cryptography<41.1.0,>=41.0.2, but you have cryptography 42.0.5 which is incompatible.

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@rusackas rusackas added the data:connect:snowflake Related to Snowflake label Apr 2, 2024
@rusackas
Copy link
Member

rusackas commented Apr 2, 2024

CC @sadpandajoe @john-bodley who might know more about the current state of the cryptography bump saga.

@sadpandajoe
Copy link
Contributor

CC @sadpandajoe @john-bodley who might know more about the current state of the cryptography bump saga.

Looks like from the error message, it's Superset 3.1.1. Superset 4.0 will be using cryptography==42.0.4 once it's out to the public.

@mrn3
Copy link

mrn3 commented May 9, 2024

So do we just have to wait until 4.0 comes out, or what combination of downgraded versions will work?

@sivankumar86
Copy link
Author

sivankumar86 commented May 9, 2024

i installed cryptography==41.0.7 after installing snowflake connector. it works fine but, dirty workaround.

pip install --no-cache snowflake-sqlalchemy==1.5.0 \
  cryptography==41.0.7

@mrn3
Copy link

mrn3 commented May 9, 2024

Okay thanks - what version of superset are you on @sivankumar86 ?

@sivankumar86
Copy link
Author

@mrn3 SUPERSET_VERSION=3.1.1

@rusackas
Copy link
Member

rusackas commented May 9, 2024

wait until 4.0 comes out

It's been out for a while now. In fact 4.0.1rc1 is being voted on already :)

@mrn3
Copy link

mrn3 commented May 12, 2024

Okay, I am installing those versions (superset 3.1.1) with the

pip install --no-cache snowflake-sqlalchemy==1.5.0 \
  cryptography==41.0.7

I am using the helm chart 0.12.7 and still having issues with "cryptography<41.1.0,>=41.0.2" errors.

I will keep trying, but maybe I will try bumping to latest on everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:connect:snowflake Related to Snowflake
Projects
None yet
Development

No branches or pull requests

4 participants