abhishek-ram / django-pyas2

AS2 file transfer Server built on Python and Django.
https://django-pyas2.readthedocs.io
GNU General Public License v3.0
78 stars 31 forks source link

Dependency Conflict #113

Open Hammad-1 opened 1 month ago

Hammad-1 commented 1 month ago

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 commented 1 month ago

@Hammad-1 : you can probably resolve the issue with libcrypto by using patch of oscrypto library as discussed in https://github.com/abhishek-ram/django-pyas2/issues/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 commented 3 weeks ago

Thank you @chadgates