Skip to content

Use mise to manage dev tools#2779

Open
blackmwk wants to merge 18 commits into
apache:mainfrom
blackmwk:ir-mise
Open

Use mise to manage dev tools#2779
blackmwk wants to merge 18 commits into
apache:mainfrom
blackmwk:ir-mise

Conversation

@blackmwk

@blackmwk blackmwk commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

Using mise instead of make file to manage dev tools.

Are these changes tested?

Local and ci.

@blackmwk blackmwk marked this pull request as draft July 7, 2026 02:07
@kevinjqliu

Copy link
Copy Markdown
Contributor

thanks @blackmwk! feel free to tag me when this is ready for review 😄

@Kurtiscwright

Copy link
Copy Markdown
Contributor

I am pretty +1 for this approach, thank you @blackmwk for getting a PR out for this!

@blackmwk

Copy link
Copy Markdown
Contributor Author

One concern I have is that from last community's sync, I can feel that mise is not as ubiquitous as make file, and it may break existing contributor's workflow.

@blackmwk

Copy link
Copy Markdown
Contributor Author

#2793 is a good justification for this change.

@Kurtiscwright

Copy link
Copy Markdown
Contributor

@blackmwk is there any remaining changes you are thinking of making before moving this PR out of draft status?

@blackmwk blackmwk marked this pull request as ready for review July 14, 2026 03:27
@blackmwk

Copy link
Copy Markdown
Contributor Author

@blackmwk is there any remaining changes you are thinking of making before moving this PR out of draft status?

Yes, it's ready for review. cc @kevinjqliu @Kurtiscwright

The introduction of mise makes setting up local dev env easier, also it makes consistent env between ci and local easier, so I believe it's the right direction for long term maintaince.

@CTTY CTTY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for adding this! I have some minor comments.

I checked several other PRs and noticed that the CI runs much slower with mise compared to ones without. I assume it's because previously we just pulled a prebuilt binary? Can we use mise to pull cargo-binstall to help with this?

Comment thread README.md Outdated

Iceberg Rust is built and tested with stable rust, and will keep a rolling MSRV (minimum supported rust version).
At least three months from latest rust release is supported. MSRV is updated when we release iceberg-rust.
Iceberg Rust keeps a rolling MSRV (minimum supported Rust version), currently Rust 1.94. The MSRV is updated when we release iceberg-rust and is at least three months behind the latest Rust release.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have a feeling that Rust 1.94 will easily get outdated without notice. Maybe we should just omit the exact version in README?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think putting the exact version in README.md makes our user easier to follow, otherwise we need to ask user to check mise.toml. We could update README.md everytime we upgrade msrv.

uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 2026.7.5

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this a mise version? I saw different mise versions defined elsewhere, should we make them consistent?
In mise.toml

min_version = "2026.6.14"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed all of them.

@blackmwk

Copy link
Copy Markdown
Contributor Author

I checked several other PRs and noticed that the CI runs much slower with mise compared to ones without. I assume it's because previously we just pulled a prebuilt binary? Can we use mise to pull cargo-binstall to help with this?

Good catch, switched to cargo-binstall now

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.

4 participants