pip install does not recognize missing extras in transitive dependecies #6698
Labels
auto-locked
Outdated issues that have been locked by automation
C: dependency resolution
About choosing which dependencies to install
type: bug
A confirmed bug or unintended behavior
Uh oh!
There was an error while loading. Please reload this page.
Environment
Description
When one of the shared transitive dependency have an extra that depends on something and it is later in the installation order, the extra dependency is not installed. See how to reproduce for example.
Expected behavior
All transitive dependencies including extras should be install not depending on the installation order.
How to Reproduce
Sorry, my working example uses internal libraries and I do not know how to reproduce the bug using only public ones.
Lets say, I have four libraries libA, libB, libC and libD. The dependecies goes:
Now when I run
pip install libA liB
, only libraries libA, libB and libC will be installed, as if the libC[extra] dependency was lost.Both
pip install libB libA
andpip install libA && pip install libB
produces correct result and all four libraries will be installed.Maybe related issue #4086
The text was updated successfully, but these errors were encountered: