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

Fix MSRV CI #4671

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Fix MSRV CI #4671

merged 1 commit into from
Aug 9, 2023

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Aug 9, 2023

Which issue does this PR close?

Closes #.

Rationale for this change

#4653 (comment)

Bumping the MSRV because the most recent version of a crate has bumped their MSRV does not improve user UX, but prevents users on older versions from compiling. This PR tweaks the CI to avoid this

Unfortunately there does not appear to be anything like consensus in the community on how best to handle this, rust-lang/libs-team#72, but perhaps once that consensus emerges we'll be able to follow that

What changes are included in this PR?

Are there any user-facing changes?

- name: Downgrade object_store dependencies
working-directory: object_store
# Necessary because 1.30.0 updates MSRV to 1.63
run: cargo update -p tokio --precise 1.29.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Other options would be to:

  • Add a maximum version constraint
  • Check in a lockfile

But both of these have obvious drawbacks, this seemed relatively unintrusive. Hopefully at some point cargo will add MSRV aware resolution so these sort of shenanigans will be handled automatically - rust-lang/cargo#9930

Copy link
Member

@viirya viirya left a comment

Choose a reason for hiding this comment

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

Pending CI

@tustvold tustvold merged commit 5023ea8 into apache:master Aug 9, 2023
31 checks passed
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.

None yet

2 participants