Closed dhellmann closed 1 month ago
Can you please give an example of constraint info that should be included?
One of the inputs to the bootstrap process is a constraints file that looks just like a requirements file. If we have one, the bootstrap process uses a Constraints instance to look up whether a package has a constraint. That information is then included when the package is added to the build order.
The comment should include the contents of the "constraint" field in that build order entry.
The constraints.txt file we produce includes comments about what depends on each package. It should also include constraint details that feed into fromager so a reader can understand if the original requirements were modified.