You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "kevinjqliu (via GitHub)" <gi...@apache.org> on 2025/09/10 15:41:55 UTC

[I] infra: improve MSRV check [iceberg-rust]

kevinjqliu opened a new issue, #1667:
URL: https://github.com/apache/iceberg-rust/issues/1667

   ### Apache Iceberg Rust version
   
   None
   
   ### Describe the bug
   
   Context: 
   
   MSRV check is currently only done in CI 
   https://github.com/apache/iceberg-rust/blob/66ba909b35fb2ce413112c0936a4b3a93677f152/.github/workflows/ci.yml#L164-L173
   
   This would require multiple roundtrips and checking against CI, which is costly. 
   I propose that we add a new Makefile command to run this MSRV check. 
   ```
   check-msrv:
       cargo generate-lockfile -Z direct-minimal-versions
       cargo check --locked --workspace
   ```
   
   We have to ensure the use of the MSRV version from Cargo.toml's `rust-version` field here somehow...
   https://github.com/apache/iceberg-rust/blob/66ba909b35fb2ce413112c0936a4b3a93677f152/Cargo.toml#L39
   
   The check itself, mainly the `cargo generate-lockfile` command, also generates a new `Cargo.lock` file which should not be checked in. This can be a potential footgun when upgrading libraries, as we've seen in #1501. Perhaps in the make command, we can also restore any Cargo.lock file changes to prevent footgun. 
   
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Willingness to contribute
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] infra: improve MSRV check [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 closed issue #1667: infra: improve MSRV check
URL: https://github.com/apache/iceberg-rust/issues/1667


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] infra: improve MSRV check [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on issue #1667:
URL: https://github.com/apache/iceberg-rust/issues/1667#issuecomment-3291400959

   +1, this improves developer experience. I love everything locally reproducable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org