Skip to content

setup.py: Fix foris-client dependency url

Martin Matějek requested to merge setup-another-dependencies-cleanup into master

Modify repo url to avoid conflicting dependencies during pip install

INFO: pip is looking at multiple versions of foris-client to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of reforis-data-collection[devel] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install reforis-data-collection and reforis-data-collection[devel]==0.2.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    reforis-data-collection[devel] 0.2.5 depends on foris-client 1.0.3 (from git+https://gitlab.nic.cz/turris/foris-controller/foris-client@master#egg=foris-client)
    reforis 1.0.4 depends on foris-client 1.0.3 (from git+https://gitlab.nic.cz/turris/foris-controller/foris-client.git)

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

See https://gitlab.nic.cz/turris/reforis/reforis-data-collection/-/jobs/501490

cc: @agumroian, @msasek

Merge request reports