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
Replaces SEXPTYPE
and Rboolean
to the new enum
-versions
#742
Conversation
MSRV fails, before there is a package called
And here's the packages that relies on
Update: Actually, it is the |
Since Rust on CRAN is not scheduled to be 1.70, packages that depend on extendr will not be accepted by CRAN if MSRV is set to 1.70. |
new enum-versions from latest `libR-sys`.
What are you gonna do about MSRV issue? |
I don't know. It is not caused by the code checked in here. So I wanted to merge these.. And then figure out what we do about |
You then need to bump MSRV, at least temporarily. But yeah, this sucks |
in bindgen, which uses `which`, and which uses `home` which silently updated their msrv to 1.70.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't read n check them all, but looks good & checks pass so definitely a step in the right direction
You're absolutely right, I should have bumped the MSRV. Will wait for CI and merge. Thanks @Ilia-Kosenkov. |
Does choosing MSRV 1.70 mean extendr decided to stop supporting CRAN? |
No, but I cannot do anything about this MSRV change. Even if I choose an older version of bindgen, I'm stuck with this. I believe @JosiahParry will attempt a dialogue at increasing the available rust version on CRAN machine. In the mean time, I'm going to try to find a solution for this. But we need to upgrade at some point, because I'd like to use GATS at some point in extendr. Are you still of the opinion we should drop CRAN support? Because I'm personally getting very close to that opinion. |
Of course? I actually take the drop as a good news :) |
Perhaps the CI error here was due to the lack of the Cargo.lock file and the bumping patch version of the dependency crate? |
I don't know how the MSRV changed, but even if I locally, lower the which-crate has this as repository: https://github.com/harryfei/which-rs Somehow, somewhere, the coupling has been disabled between SemVer, and |
Since there is no lock file, you can only get the latest patch version, and as a result, you can't get the older version of the home crate? |
I've been testing this locally. I believe locally, I've got a Cargo.lock. And I'm running Please, if you've got a hint as to how this is supposed to be interpreted, I'm all ears. The recommendation is always, if you're making a CLI, then check-in |
This relies on extendr/libR-sys#233