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

chore(rust): Move dependency version info to workspace level #10295

Merged
merged 6 commits into from
Aug 9, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Aug 4, 2023

Following up on #10279

Changes:

  • Dependencies that exist in multiple crates now have their version info defined on the workspace level. This removes some duplication and avoids possible issues due to dependencies being out of sync.
  • Alphabetized dependencies in the workspace definition
  • Drive-by change to re-order some stuff in the py-polars Cargo.toml (missed these before - see linked PR).

I came across some dependencies that are inconsistent across crates (i.e. regex). I'll see if I can improve this in a separate PR.

I left dependencies that exist in a single crate alone for now. Though it's probably nice to have those at workspace level too - I'll leave that for another PR if this one is received well.

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Aug 4, 2023
@stinodego
Copy link
Member Author

@ritchie46 Shall we merge this? I think it should be a nice improvement in our dependency management.

Copy link
Collaborator

@orlp orlp left a comment

Choose a reason for hiding this comment

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

Looks good to me other than this nitpick.

py-polars/Cargo.toml Show resolved Hide resolved
@stinodego stinodego requested a review from orlp August 9, 2023 13:41
@stinodego stinodego merged commit 6ef0cde into main Aug 9, 2023
23 checks passed
@stinodego stinodego deleted the workspace-dep-versions branch August 9, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants