You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fromager now supports multiple constraints files with `-c` /
``--constraints-file`` argument. Multiple constraints are merged and
validated.
Example:
```console
$ fromager \
-c constraints.txt \
-c local-constraints.txt \
-c https://company.example/security-constraints.txt \
bootstrap ...
```
Local and remote constraints are loaded in `WorkContext.setup()` and
dumped into a new file `merged-constraints.txt` in `work-dir`. Some
internals of `WorkContext` have changed in an API-incompatible way:
- `constraints_file` argument is now
`constraints_files: tuple[str, ...] = ()`
- `WorkContext` now only accepts keyword arguments
- `input_constraints_uri` is replaced by `input_constraints_files`
Fixes: #1096
Signed-off-by: Christian Heimes <[email protected]>
0 commit comments