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

Use generated subtargets internally #10312

Merged

Conversation

Eric-Arellano
Copy link
Contributor

Without generated subtargets, these changes would result in target-level cycles. But file-level dependencies means that we have no cycles.

[ci skip-rust-tests]

# Rust tests will be skipped. Delete if not intended.
[ci skip-rust-tests]
Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome stuff =)

tests/python/pants_test/build_graph/BUILD Outdated Show resolved Hide resolved
# Rust tests will be skipped. Delete if not intended.
[ci skip-rust-tests]
We can delete it very soon, but not yet

# Rust tests will be skipped. Delete if not intended.
[ci skip-rust-tests]
@Eric-Arellano Eric-Arellano mentioned this pull request Jul 10, 2020
Eric-Arellano added a commit that referenced this pull request Jul 11, 2020
This is only being used in one test now to determine a skip condition, and that skip condition is unnecessary.

While this is generally useful code, we're not using it anymore (in favor of `packaging.Version`) and this causes #10312 because there is no owner in the `pantsbuild.pants` dist for the generated subtarget `base:revision.py`.

[ci skip-rust-tests]
@Eric-Arellano Eric-Arellano merged commit 2b93211 into pantsbuild:master Jul 11, 2020
@Eric-Arellano Eric-Arellano deleted the use-generated-subtargets branch July 11, 2020 14:33
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.

None yet

2 participants