uv/docs/reference
konsti ebc6d20d9d
Better build error messages (#9660)
Build failures are one of the most common user facing failures that
aren't "obivous" errors (such as typos) or resolver errors. Currently,
they show more technical details than being focussed on this being an
error in a subprocess that is either on the side of the package or -
more likely - in the build environment, e.g. the user needs to install a
dev package or their python version is incompatible.

The new error message clearly delineates the part that's important (this
is a build backend problem) from the internals (we called this hook) and
is consistent about which part of the dist building stage failed. We
have to calibrate the exact wording of the error message some more. Most
of the implementation is working around the orphan rule, (this)error
rules and trait rules, so it came out more of a refactoring than
intended.

Example:


![image](https://github.com/user-attachments/assets/2bc12992-db79-4362-a444-fd0d94594b77)
2024-12-17 09:44:32 -06:00
..
policies Add policies reference section and license document (#9367) 2024-12-03 10:56:32 -06:00
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
build_failures.md Better build error messages (#9660) 2024-12-17 09:44:32 -06:00
cli.md Introduce a --fork-strategy preference mode (#9868) 2024-12-13 16:05:07 -05:00
index.md Add policies reference section and license document (#9367) 2024-12-03 10:56:32 -06:00
resolver-internals.md Change backtracking when packages conflict too much (#9843) 2024-12-16 11:39:50 +01:00
settings.md Correctly document default value of fork-strategy setting (#9931) 2024-12-16 18:41:22 +00:00