Skip to content

SNOW-2350569: snowflake-connector-python can't be installed with the latest version of cryptography #2541

@gibsondan

Description

@gibsondan

Python version

Python 3.12.11 (main, Sep 8 2025, 21:45:14) [GCC 14.2.0]

Operating system and processor architecture

Linux-5.10.240-238.966.amzn2.x86_64-x86_64-with-glibc2.41

Installed packages

snowflake-connector-python==3.17.3
cryptography==46.0.0

What did you do?

pip install cryptography==46.0.1 snowflake-connector-python==3.17.3

ERROR: Cannot install cryptography==46.0.1 and snowflake-connector-python==3.17.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    cryptography 46.0.1 depends on cffi>=2.0.0; python_full_version >= "3.9" and platform_python_implementation != "PyPy"
    snowflake-connector-python 3.17.3 depends on cffi<2.0.0 and >=1.9

Is it possible to relax the cffi pin so that users can use the latest version of cryptography?

What did you expect to see?

an installed package

Can you set logging to DEBUG and collect the logs?

Metadata

Metadata

Labels

bugstatus-pr_pending_mergeA PR is made and is under reviewstatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions