Closed szobov closed 1 year ago
I'm wondering how I can restart ci checks since they're failed due to a timeout error (most likely a network hiccup)
I've restarted failed jobs.
Thanks, @atugushev, for your help and patience! I think PR can now be merged since the only failing job is docs build, which you'll probably fix soon by merging https://github.com/jazzband/pip-tools/pull/1983 But now it's your turn to take an action! :)
rebased on the fresh main branch
Fixes #1711.
Before the changes implemented in this PR, the execution of
pip-compile
was silent about an error inpyproject.toml
file. If the user made a mistake in the configuration file, the output of the command was:Now, the output is the following (the error is in the "licence" field for demonstration):
There are several issues already mentioned on GitHub: https://github.com/jazzband/pip-tools/issues/1711 https://github.com/jazzband/pip-tools/issues/1794
The changes implemented in this PR are possible only because of the new
build
version release: https://github.com/pypa/build/issues/615#issuecomment-1703239433 The particular change is this: https://github.com/pypa/build/pull/566.Please pay attention that in case of an error, the traceback is huge, but unfortunately, the error is captured and printed inside
build.ProjectBuilder
, and it's currently impossible to capture it and show only a short error description. On the other hand, the traceback gives the user an extra debug information.Contributor checklist
Maintainer checklist
backwards incompatible
,feature
,enhancement
,deprecation
,bug
,dependency
,docs
orskip-changelog
as they determine changelog listing.