lib.pkg_relations(): Beautify exceptions #93
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260910-lib-pkg-relations-beautify-exceptions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Newly introduced checks on dependencies trigger, but deliver somewhat incomprehensible error messages. This PR adds detail to them.
lib.version.Dependency: Beautify exceptions
Add a dependent_package parameter to Dependency's constructor, and use it in exceptions the class raises.
lib.pkg_relations: Beautify exceptions
In pkg_relations(), pass dependent_package to Dependency.parse_deps_spec() for better error reporting.
d2e4d3d240e94437835f