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

Cryptography dependency conflict #2950

Closed
amin-nejad opened this issue Dec 14, 2020 · 1 comment
Closed

Cryptography dependency conflict #2950

amin-nejad opened this issue Dec 14, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@amin-nejad
Copy link

Describe the bug

Running pip-compile from pip-tools on dbt (alone) fails due to a a dependency conflict with the cryptography library.

Steps To Reproduce

pip install pip-tools && echo dbt > requirements.in && pip-compile requirements.in

Expected behavior

A requirements.txt file generated with the pinned dependencies.

Screenshots and log output

Screenshot 2020-12-14 at 22 03 51

System information

The operating system you're using: macOS Big Sur 11.0.1

The output of python --version: 3.8.5

pip-tools version: 5.4.0

Additional context

Appears related to #2896

@amin-nejad amin-nejad added bug Something isn't working triage labels Dec 14, 2020
@jtcohen6 jtcohen6 removed the triage label Dec 14, 2020
@jtcohen6
Copy link
Contributor

Right on @amin-nejad, I believe this will be resolved in the next version of dbt, which upgrades both the snowflake-connector-python and cryptography dependencies of dbt-snowflake (#2922).

In the meantime, we don't have any commitments around officially supporting pip-tools or pip-compile (#2674, #2676). Our assurances are just around your ability to run pip install dbt.

From looking quickly at the error message, it appears that pip-compile is picking up pyOpenSSL==20.0.0, which requires cryptography>=3.2, whereas [email protected] requires pyOpenSSL anywhere between 16.2.0 and 21.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants