edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

feat: improve requirements file structure

Open aht007 opened this issue 2 years ago • 0 comments

Description

This PR updates the structure of requirements file. With the newer approach, dependencies will only appear in corresponding layer file and not repeated in multiple file. Each requirements file will have just the dependencies needed for the packages listed in the file currently being processed, but at versions compatible with the previous layer of dependencies.

What we hope to gain from this change are the following:

  1. Faster make upgrade performance by not having to process as many dependencies for each layer

  2. Better ease of reviewing dependency updates, since most dependency versions will only appear in a single requirements file, whereas many currently appear in 3 or more.

Issue: https://2u-internal.atlassian.net/browse/BOM-2483

aht007 avatar Oct 04 '22 09:10 aht007