Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins: add deps_group plugin #32

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

AlexTereshenkov
Copy link
Owner

@AlexTereshenkov AlexTereshenkov commented Jul 17, 2023

❯ pants dependencies //:deps-group-1
requirements#click
requirements#loguru

Works great.

❯ pants --no-pantsd --no-local-cache dependencies cheeseshop/version.py
23:18:15.67 [INFO] deps_group(address="//:deps-group-1", description=None, source=deps-grouping.json, tags=None)
23:18:15.67 [INFO] <class 'internal_plugins.deps_grouping.target_types.DepsGroupTarget'>
//:deps-group-1

Works great.

What's left is to query the dependencies of "//:deps-group-1" and report in the terminal.

But if uncomment

https://github.com/AlexTereshenkov/cheeseshop-query/pull/32/files#diff-4ad71084fd132de6ce6e5a97ddada00df3664bcf6d4d977463be0d11ef7716a0R97

# deps = await Get(Addresses, InferDepsGroupDependenciesRequest(target.get(Dependencies)))

Pants can't find a matching rule.

@AlexTereshenkov AlexTereshenkov force-pushed the plugins/deps-grouping branch from b88d7a4 to 1b9245e Compare July 17, 2023 22:17
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.

1 participant