Dependency Conflict
Opened this issue · 3 comments
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
@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
Thank you @chadgates
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