Skip to content

🐛 fix(cli): show full dependency chain in missing deps error#1019

Merged
gaborbernat merged 2 commits intomainfrom
fix/dep-chain-display
Apr 9, 2026
Merged

🐛 fix(cli): show full dependency chain in missing deps error#1019
gaborbernat merged 2 commits intomainfrom
fix/dep-chain-display

Conversation

@gaborbernat
Copy link
Copy Markdown
Collaborator

@gaborbernat gaborbernat commented Apr 9, 2026

When running --no-isolation builds with unsatisfied transitive dependencies, the error message was misleading. 🐛 A chain like pyvex>=9.2.123 -> bitstring -> bitarray<3.1 was split across two lines: pyvex>=9.2.123 appeared standalone (as if missing itself), then bitstring -> bitarray<3.1,>=3.0.0 on a separate line. Users spent significant time debugging because the output suggested the top-level package was the problem.

The formatting logic now renders each unmet dependency as a single line showing the full chain from the declared build dependency down to the actual unsatisfied requirement. A direct missing dependency still shows as a single name, while transitive failures display as parent -> child -> failing_dep.

Fixes #875

The dependency chain was split across two lines: the top-level
package appeared standalone (suggesting it was missing), followed
by the transitive chain on a separate line. Now the full chain
displays as a single line (e.g. "pyvex -> bitstring -> bitarray").

Fixes #875
@gaborbernat gaborbernat changed the title Fix misleading missing dependency error display 🐛 fix(cli): show full dependency chain in missing deps error Apr 9, 2026
@gaborbernat gaborbernat enabled auto-merge (squash) April 9, 2026 21:51
@gaborbernat gaborbernat merged commit cfeb0a9 into main Apr 9, 2026
65 checks passed
@gaborbernat gaborbernat deleted the fix/dep-chain-display branch April 9, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature-request] Make Missing dependencies errors more clear

2 participants