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

Adjust MSRV, fix VDR Proxy Build #1324

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

JamesKEbert
Copy link
Contributor

Missed version updates from #1320 that are breaking some CI checks

Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@JamesKEbert
Copy link
Contributor Author

Note that the failing build-docker-vdrproxy check is expected

@gmulhearn
Copy link
Contributor

Ahhh I think the vdr proxy build might work if you bump the checkout version to match our new Indy-vdr version/commit that we use around the codebase.

I.e. changing this:

RUN git checkout c143268

@gmulhearn
Copy link
Contributor

Now we're on vdr commit b4dc08b instead

@gmulhearn
Copy link
Contributor

Also, if possible, I'd avoid raising the MSRV for our crates - which I believe the rust-version in cargo.toml enforces

Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@JamesKEbert
Copy link
Contributor Author

Ahhh I think the vdr proxy build might work if you bump the checkout version to match our new Indy-vdr version/commit that we use around the codebase.

Ah that'd make sense--trying now 👍

Also, if possible, I'd avoid raising the MSRV for our crates - which I believe the rust-version in cargo.toml enforces

Do we know that our MSRV is 0.79 given the last PR? Meaning, will VCX continue to work on 0.79, even though we're targeting 0.84.1 now? Do we need to in some way validate this via testing, or is that overkill at this stage?

@gmulhearn
Copy link
Contributor

Do we know that our MSRV is 0.79 given the last PR?

@JamesKEbert hmm yeah it's a good question, we probably need a reliable way to check what our MSRV actually is.. And then ideally our CI will test compilation of the project at the MSRV, and at the target version as well (which should be pretty close to the latest rust version)

I just ran this on vcx: https://github.com/foresterre/cargo-msrv?tab=readme-ov-file

1.81 came out as our MSRV, i believe bcus our transitive dependencies have MSRVs of 1.81+ (which i think we were seeing issues for). So ye i'd recommend 1.81 become our MSRV - apologies for the muck around.

But in terms of future proofing, i think the answer is to run cargo check --all-features (or just check-workspace perhaps?) on VCX in the CI, once for with our MSRV toolchain (1.81) and once with our target (1.84.1). If you agree, maybe we need a ticket for this?

@JamesKEbert
Copy link
Contributor Author

1.81 came out as our MSRV, i believe bcus our transitive dependencies have MSRVs of 1.81+ (which i think we were seeing issues for). So ye i'd recommend 1.81 become our MSRV - apologies for the muck around.

Thanks for figuring it out! I'll get it updated on this branch 👍

But in terms of future proofing, i think the answer is to run cargo check --all-features (or just check-workspace perhaps?) on VCX in the CI, once for with our MSRV toolchain (1.81) and once with our target (1.84.1). If you agree, maybe we need a ticket for this?

Agreed!

Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@JamesKEbert JamesKEbert changed the title fix missed 1.79 -> 1.84.1 rust version update Adjust MSRV, fix VDR Proxy Build Feb 28, 2025
@JamesKEbert
Copy link
Contributor Author

Also adjusted the README to reflect the MSRV, please critique as you see fit

Copy link
Contributor

@gmulhearn gmulhearn left a comment

Choose a reason for hiding this comment

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

awesome, thanks for the iterations

@JamesKEbert JamesKEbert merged commit 57b22b6 into openwallet-foundation:main Feb 28, 2025
16 checks passed
@JamesKEbert JamesKEbert deleted the fix/rust-1.84.1 branch February 28, 2025 06:13
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