Skip to content

Unused requirements are still installed #47

Description

@hwright

We have a collection of federated repositories which share a reference to a canonical set of third-party dependencies. There is a single requirements.txt which is imported by every repository, and not every repository uses all the entries in that requirements file.

I'm discovering that the pip_import rules install everything in the requirements file, regardless of whether it is needed in the dependencies of the target currently begin built. This is suboptimal, particularly since some packages may have errors which prevent them from being built on the given system.

Instead, we should only install the package set required to satisfy the required build targets.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions