Multiple constraints dependencies
does not consider the python version
#5858
Labels
Multiple constraints dependencies
does not consider the python version
#5858
-vvv
option).Issue
I am developing a project which compacts with py2 and py3. But py3 depends on a package, which also depends on a package I need. So I use
multiple constraints dependencies
to specify this package. But poetry will solve failed.This is a little confusing, let me show you an example.
Here is my external package dependency
Here is my project dependency
So dependencies of
my_project
should be likeHowever, poetry thinks
requests
should depend on ^1.0, even though I have specified py2 use ^1.0 and py3 use ^2.0The text was updated successfully, but these errors were encountered: