pip install - pip documentation v22.0.4
https://pip.pypa.io/en/stable/cli/pip_installThis section is only about installation order of runtime dependencies, and does not apply to build dependencies (those are specified using PEP 518). As of v6.1.0, pip installs dependencies before their dependents, i.e. in “topological order.”. This is the only commitment pip currently makes related to order. While it may be coincidentally ...