Skip to content

Add MSRV check as a GA job - #7123

Merged
alamb merged 2 commits into
apache:mainfrom
sarutak:msrv-check-in-ci
Jul 30, 2023
Merged

alamb merged 2 commits into
apache:mainfrom
sarutak:msrv-check-in-ci

Conversation

@sarutak

@sarutak sarutak commented Jul 28, 2023

Copy link
Copy Markdown
Member

Closes #7122

Rationale for this change

Sometimes, rust-version in Cargo.toml tends to be out of sync with the actual MSRV.
So, it's nice to have a MSRV check as a CI process.

What changes are included in this PR?

Added a MSRV check job to GA for some packages datafusion, datafusion-substrait, datafusion-proto and datafusion-cli which are intended to be published.

The following packages are also intended to be published but datafusion depends on them. So, this PR doesn't include MSRV check for them.

  • datafusion-expr
  • datafusion-optimizer
  • datafusion-physical-expr
  • datafusion-sql
  • datafusion-execution

Are these changes tested?

GA.

Are there any user-facing changes?

No

@github-actions github-actions Bot added core Core DataFusion crate substrait Changes to the substrait crate labels Jul 28, 2023

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you very much @sarutak - this looks great

Can you possibly also:

  1. Add datafusion-cli

  2. Add a comment in Cargo.toml saying why these three (four with datafusion-cli) are picked? Namely that they are the crates that are directly used by other projects?

However, I think these changes could be done as a follow on PR as well and this one could be merged as is.

@sarutak

sarutak commented Jul 28, 2023

Copy link
Copy Markdown
Member Author

@alamb
Thank you for the feedback.
datafusion-cli has been already added, so I'll add comment in Cargo.toml.

@alamb

alamb commented Jul 30, 2023

Copy link
Copy Markdown
Contributor

Thanks again @sarutak

@alamb
alamb merged commit 164ec9d into apache:main Jul 30, 2023
@alamb alamb mentioned this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate substrait Changes to the substrait crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MSRV check as a GA job

2 participants