Issue
If there are path dependencies and an entry point present as poetry plugin, the entry point is unable to be loaded.
poetry new aa
poetry new bb
poetry new cc
cd cc
sed -i '/\python*/a aa = {path = "../aa"} \nbb = {path = "../bb"}' pyproject.toml
echo '
[tool.poetry.plugins."service"]
"cc" = "cc.service:CCService"' >> pyproject.toml
poetry install
In python:
import pkg_resources
for entry_point in pkg_resources.iter_entry_points("service"):
service = entry_point.load()
results in pkg_resources.extern.packaging.requirements.InvalidRequirement: Invalid URL: ../aa
Please look into the issue.