Open AlexGherardelli opened 8 months ago
@ValerioGiuffrida
I ran into this too. In my pyproject.toml, to have this library be an optional dependency, I had to include it like this:
[project.optional-dependencies]
wfp = ["data-bridges-client@git+https://github.com/WFP-VAM/DataBridgesAPI@dev#egg=data-bridges-client"]
In a requirements.txt file, it looks like this:
data-bridges-client@git+https://github.com/WFP-VAM/DataBridgesAPI@dev
Hi @mcarans, please note that the former dev
branch has now been merged and tagged here https://github.com/WFP-VAM/DataBridgesAPI/releases/tag/v2.0.0. This will require some minor changes to your pyproject.toml
and requirements.txt
.
@AlexGherardelli the release link details installation instructions. This should fix the issues you reported, and we should be able to close this issue.
@paololucchino Please can you make a release to pypi as it is not possible to use GitHub dependencies in libraries.
Installing it with command
pip install pip@git+https://github.com/WFP-VAM/DataBridgesAPI
result in error (see log):