openwisp / docker-openwisp

OpenWISP in docker. For production usage we recommend using the ansible-openwisp2 role.
https://openwisp.io/docs/dev/docker/
BSD 3-Clause "New" or "Revised" License
150 stars 75 forks source link

make develop command raises django-reversion dependency conflict issue #358

Closed Dev-Ahlam closed 6 days ago

Dev-Ahlam commented 6 days ago

Describe the bug whenever I run make develop command to build the images and use the new custom OPENWISP_UTILS I'm getting this issue

ERROR: Cannot install openwisp-controller and openwisp-controller==1.1a0 because these package versions have conflicting dependencies.

The conflict is caused by:
    openwisp-controller 1.1a0 depends on django-reversion~=5.0.12
    openwisp-ipam 1.1a0 depends on django-reversion~=5.1.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

Steps To Reproduce I wanted to supply custom python code for openwisp-utils I've created .build.env file in the root of the repository and added OPENWISP_UTILS_SOURCE variable and value running make develop command raises the issue

Expected behavior the images should be built successfully

Screenshots image

System Informatioon:

nemesifier commented 6 days ago

We are working to update the dependencies in preparation for the new release. We'll fix it asap. In the meantime you can use one of the last images which was published on docker hub or gitlab container registry.

nemesifier commented 6 days ago

I couldn't reproduce the issue on the latest master, the instructions provided in "Steps To Reproduce" are not clear. Hence I am closing this.

If you can provide clear step by step instructions that allow us to reproduce the issue on the latest master we can reopen.

Thanks for your understanding :pray:.