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
* 🤖 Add ResolveResult to preserve dependency graph from resolution
resolve() previously returned a plain dict, discarding the dependency
graph that resolvelib computed. Callers like _create_library_filelist()
had to rebuild the graph by re-reading manifests from disk.
ResolveResult now wraps the mapping with a graph (dict[str, set[str]])
and the set of direct dependencies, while providing dict-like
convenience methods for backward compatibility.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🤖 Add topological_order() method to ResolveResult
Move topological sort logic into ResolveResult so users can get
dependency-ordered package names directly. Remove the private
_topological_sort from install.py in favor of the new public method.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* 🤖 Add tests for ResolveResult and fix topological_order()
Add 14 tests covering the dict-like interface and topological ordering.
The tests caught a bug in topological_order() which was producing
dependents-first instead of dependencies-first order. Fixed by
reversing the traversal direction in Kahn's algorithm.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fixed warnings from document generation which cause tox to fail
---------
Co-authored-by: Ben Davis <b-davis1@ti.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments