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

Uplift keys/dependencies to use more workspace inheritance #9293

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

Jefffrey
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

Try use workspace inheritance more, for both regular package keys, and also dependencies

Note that due to rust-lang/cargo#11329 we need to specify default-features = false for the workspace dependency then override to default-features = true where we need, as the reverse does not work. If this isn't preferable we can revert back to the previous way of manually specifying these dependencies again without workspace inheritance.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added documentation Improvements or additions to documentation sql SQL Planner logical-expr Logical plan and expressions physical-expr Physical Expressions optimizer Optimizer rules core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) substrait labels Feb 20, 2024
@Jefffrey Jefffrey marked this pull request as ready for review February 21, 2024 07:34
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

This makes sense to me -- thank you @Jefffrey

I wonder if there are any other tests we should run here to make sure it doesn't interfere with releases? @andygrove any thoughts?

Otherwise I think we should merge up from main and then this PR would be good to go.

Cargo.toml Show resolved Hide resolved
@@ -51,6 +51,11 @@ rust-version = "1.72"
version = "36.0.0"

[workspace.dependencies]
# We turn off default-features for some dependencies here so the workspaces which inherit them can
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb alamb merged commit f4c7797 into apache:main Feb 29, 2024
25 checks passed
@alamb
Copy link
Contributor

alamb commented Feb 29, 2024

Thanks again @Jefffrey

@Jefffrey Jefffrey deleted the uplift_workspace_inheritance branch March 1, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate documentation Improvements or additions to documentation logical-expr Logical plan and expressions optimizer Optimizer rules physical-expr Physical Expressions sql SQL Planner sqllogictest SQL Logic Tests (.slt) substrait
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants