Open NeolithEra opened 5 years ago
Fix your direct dependency to be djangorestframework-gis==0.14, as djangorestframework-gis==0.14 requires djangorestframework>=3.3,<3.10.
Remove your direct dependency djangorestframework, and use the djangorestframework transitively introduced by djangorestframework-gis.
Which solution do you prefer, 1 or 2?
@oliverroick Please let me know your choice. I can submit a PR to solve this issue.
Hi @NeolithEra,
thanks for the report and the research to resolve the issue. It's not my call to decide on the appropriate solution, though, as I'm not working at Cadasta any more. @asafevenpaz might be able to help.
Also, bear in mind, the Cadasta platform is not actively maintained any longer.
@NeolithEra thank you for your comments. As @oliverroick has mentioned we are in the stages of phasing out this platform but we will look into your recommendations. @clash99
Hi, users are unable to run cadasta-platform due to dependency conflict with djangorestframework package. As shown in the following full dependency graph of cadasta-platform, cadasta-platform requires djangorestframework==3.8.2,while djangorestframework-gis==0.12 requires djangorestframework>=3.3,<3.8.
According to pip’s “first found wins” installation strategy, djangorestframework==3.8.2 is the actually installed version. However, djangorestframework==3.8.2 does not satisfy djangorestframework>=3.3,<3.8.
Dependency tree
Thanks for your help. Best, Neolith