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

SNOW-452575: Replace pyopenssl with python's default ssl implementation #857

Closed
thomasaarholt opened this issue Sep 8, 2021 · 6 comments
Assignees
Labels
enhancement The issue is a request for improvement or a new feature

Comments

@thomasaarholt
Copy link
Contributor

What is the current behavior?

snowflake-connector-python will not run on M1 Macs (Silicon, Arm processor): See #799 and dbt-labs/dbt#3722.
That error is due to pyca/pyopenssl#873. This comment implies that a fix will not be forthcoming, and that it would be better to swap out the relevant pyopenssl functionality for Python's built-in SSL library. Would this be possible?

What is the desired behavior?

A functioning snowflake-connector-python on M1 macs.

How would this improve snowflake-connector-python?

Macs are heavily used in the data science world. At the moment, one has to run dbt through the rosetta emulator in order to run it on Mac, which makes it very difficult for non-technical users to use snowflake-connector-python or one of its dependants. One currently either has to install brew in rosetta and then dbt in that, or miniconda in rosetta and dbt in that).

@github-actions github-actions bot changed the title Replace pyopenssl with python's default ssl implementation SNOW-452575: Replace pyopenssl with python's default ssl implementation Sep 8, 2021
@sfc-gh-kterada sfc-gh-kterada added the enhancement The issue is a request for improvement or a new feature label Sep 9, 2021
@sfc-gh-hkapre
Copy link

@thomasaarholt This is not currently possible due to our use of OCSP. We are starting to look into what will be needed to support M1 and will provide an update once we have completed our analysis.

@sfc-gh-hkapre sfc-gh-hkapre self-assigned this Sep 23, 2021
@sfc-gh-mkeller
Copy link
Collaborator

Same thing as in #799 (comment)
Please reach out if the issue still persists for some reason!

@sucre1990
Copy link

this issue still exists and anyone has a solution yet? It is a blocker for me.

@jpzhangvincent
Copy link

Ya using "snowflake-connector" on Mac M1 is really challenging . Is it possible to remove the "pyopenssl" dependencies?

@leifericf
Copy link

leifericf commented Sep 8, 2022

This is a blocker for me (on behalf of Elkjøp Nordic's data science team, a large enterprise Snowflake customer), and I would appreciate a solution sooner rather than later. Can someone at Snowflake give us an update, please?

@sfc-gh-mkeller, please reopen this issue.

@sfc-gh-achandrasekaran
Copy link
Contributor

Please follow this workaround on M1 machines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is a request for improvement or a new feature
Projects
None yet
Development

No branches or pull requests

8 participants