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

Dependency Conflict #113

Open
Hammad-1 opened this issue May 22, 2024 · 3 comments
Open

Dependency Conflict #113

Hammad-1 opened this issue May 22, 2024 · 3 comments

Comments

@Hammad-1
Copy link

Hammad-1 commented May 22, 2024

Hello,

I encountered an error during deployment, which states:
"ERROR: Cannot install cryptography~=37.0.4 and pyas2lib because these package versions have conflicting dependencies"

I attempted to resolve this issue by updating the version of cryptography to 38.0.4. Although this change allowed the build to pass, migrations for django-pyas2 library did not apply. Upon reviewing the logs, I found the following error:
"oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto"

Do you have any suggestions on how to address this issue?

Thanks,
Hammad

@chadgates
Copy link
Contributor

chadgates commented May 23, 2024

@Hammad-1 : you can probably resolve the issue with libcrypto by using patch of oscrypto library as discussed in #109

For the earlier one, you can probably do this by applying current master branch of pyas2-lib:
pip install -U git+https://github.com/abhishek-ram/pyas2-lib@master

@Hammad-1
Copy link
Author

Hammad-1 commented Jun 3, 2024

Thank you @chadgates

@gertcuykens
Copy link

maybe update this in your docker example as wel
https://django-pyas2.readthedocs.io/en/latest/detailed-guide/docker.html
because this will currently fail to build cryptography

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

No branches or pull requests

3 participants