Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot constrain a dependency without requesting it be installed #2731
In OpenStack we have a script called devstack which installs 20 odd different services using pip. Its configurable by users to install only some. We've shied away from trying to use pip -r because with so many services, and dependencies evolving all the time, we'd be maintaining the permutations of the pip freezes for the 20 services.
If we had a way of saying 'here are our top level constraints' without triggering the install of the dependencies, such that when pip decides it needs a dependency X, the constraints get applied, that would make it possible for us to build a single unified set of constraints, and combine that with devstack installing each service (or not) as the user requested.