Skip to content

Fix MSRV check #1393

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

Merged
merged 2 commits into from
Jun 9, 2025
Merged

Fix MSRV check #1393

merged 2 commits into from
Jun 9, 2025

Conversation

isabelatkinson
Copy link
Contributor

@isabelatkinson isabelatkinson commented Jun 9, 2025

The MSRV task generates a fresh lockfile, which pulls in the latest commit on the bson-rust main branch for the bson-3 dependency, which will break compilation if we haven't yet updated the driver to accommodate any recent breaking changes. This PR updates the MSRV check not to compile with bson-3 enabled so that merging PRs isn't blocked on us making the necessary changes in the driver when the bson API breaks. (I'm not concerned about losing coverage because we already test MSRV compilation for the bson crate, so we know a 1.81-compliant version exists.) If this approach sounds good, I'll file a ticket to revert these changes once the 3.0 API is stabilized and integrated into the driver.

@isabelatkinson isabelatkinson marked this pull request as ready for review June 9, 2025 16:55
@isabelatkinson isabelatkinson requested a review from a team as a code owner June 9, 2025 16:55
@isabelatkinson isabelatkinson requested a review from abr-egn June 9, 2025 16:55
@isabelatkinson
Copy link
Contributor Author

This will be reverted in RUST-2231

@isabelatkinson isabelatkinson merged commit 459fd81 into mongodb:main Jun 9, 2025
4 of 6 checks passed
@isabelatkinson isabelatkinson deleted the fix-msrv branch June 9, 2025 16:59
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