Skip to content
Discussion options

You must be logged in to vote

In Python, two dependencies that expose the same top-level module name are not compatible (except for namespace packages, i.e. packages without an __init__.py and non-conflicting submodules). I am not aware of any tool that can work around this limitation. As far as I know, you can only avoid conflicting dependencies. Another case is when these are not real dependencies, but only tools that are used during development. Then, you can separate them into their own virtualenvs - not with Poetry but with pipx for example.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants