TOSIT-IO / tdp-server

REST API for tdp-lib orchestration
2 stars 2 forks source link

Incompatible python dependencies with dependencies of tdp-lib #125

Open sergkudinov opened 1 year ago

sergkudinov commented 1 year ago

Installing both tdp-server and tdp-lib having the commits in this PR, brings error:

ERROR: Cannot install -r requirements.txt (line 5) because these package versions have conflicting dependencies.

The conflict is caused by:
    tdp-lib 0.0.1 depends on jsonschema==4.10.3
    tdp-server 0.1.0 depends on jsonschema==3.2.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 attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Solution

Update dependencies to

python = ">=3.9.0,<4.0"
jsonschema = "4.10.3"
PaulFarault commented 1 year ago

The lack of support of tdp server for tdp lib goes beyond dependencies versions.

A lot have been done to refactor the lib since the 1.0. The server will be hopefully updated in several month, when we'll be mostly done with the work on the lib (which should be released in 1.1).