Skip to content

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Sep 14, 2025

Convert the DependencyNode and DependencyEdge into data classes. The classes are frozen (immutable) and support comparison, sorting, and hashing.

Extend DependencyNode to get all install dependencies and build requirements. The new method return unique dependencies by recursively walking the dependency graph. The build requirements include all recursive installation requirements of build requirements.

@tiran
Copy link
Collaborator Author

tiran commented Sep 22, 2025

@dhellmann This MR implements the logic to get build and install requirements of a DependencyNode.

Extend `DependencyNode` to get all install dependencies and build
requirements. The new method return unique dependencies by recursively
walking the dependency graph. The build requirements include all
recursive installation requirements of build requirements.

Signed-off-by: Christian Heimes <[email protected]>
@LalatenduMohanty
Copy link
Member

Looking forward to seeing it is used in #796

@mergify mergify bot merged commit b15ad7b into python-wheel-build:main Nov 4, 2025
112 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants