Skip to content

Conversation

@eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Jun 18, 2025

Related to #2739

Verify on CI that the MSRV specification for each package is correct using the command based on the cargo-msrv (copied from the arrow-rs repo).

@eitsupi eitsupi marked this pull request as ready for review June 18, 2025 22:26
@github-actions github-actions bot modified the milestone: ADBC Libraries 19 Jun 18, 2025
Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

Thanks! Just a question on how it's installed

if: matrix.os == 'ubuntu-latest'
working-directory: rust
run: |
curl -L "https://github.com/foresterre/cargo-msrv/releases/download/v0.18.4/cargo-msrv-x86_64-unknown-linux-gnu-v0.18.4.tgz" |
Copy link
Member

Choose a reason for hiding this comment

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

(1) Could we perhaps validate the SHA so that upstream can't change it unexpectedly?
(2) Does it make sense to use cargo install instead (with a specific commit), or a specific version of their Docker image? (With Docker, we could even set this up so that it's run by docker-compose)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your comment. I too wondered if we needed to check hash.
(The protoc installed within this workflow does not seem to be checked, so I did not too)

How about 38e1223?

  • I considered a source install (similar to arrow-rs) first, but decided that a binary download would be better since it takes longer to build without a cache.
  • I had not noticed this about Docker images, but it seemed difficult to choose which images to use because images are tagged and pushed at a higher frequency than releases.

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

Thanks!

@lidavidm lidavidm merged commit de79fa9 into apache:main Jun 19, 2025
5 checks passed
@eitsupi eitsupi deleted the check-msrv branch June 19, 2025 15:48
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.

2 participants