Skip to content

pip install should install packages in order to avoid ABI incompatibilities in compiled packages #4182

Closed
@anntzer

Description

@anntzer
  • Pip version: 9.0.1
  • Python version: 3.5
  • Operating System: Arch Linux

Description:

pip install foo bar does not list packages in the listed order.

What I've run:

pip install numpy==1.8.0 matplotlib first installs matplotlib, which pulls the most recent numpy as a dependency, builds matplotlib against it, then downgrades to numpy 1.8.0 which has an incompatible ABI, and the matplotlib build is unusable.

Simimar to #3966 but I think the use case above (ABI compatibility) is yet another reason why the listed order of requirements should be respected: earlier requirements may pin the version of dependencies of later packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions