fix(poly libs): handle third-party dependencies with markers, such as multi-python versions
LatestHandle dependencies with several Python versions, such as:
[tool.poetry.dependencies]
typing_extensions = [
{ version = "<4.14", python = ">=3.8,<3.9" },
{ version = "*", python = ">=3.9" }
]Details in #427