-
Notifications
You must be signed in to change notification settings - Fork 1
rv does not properly solve dependency constraint for explicitly selected package in alternate repo, and still installs pkgs from binary #204
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
Comments
its worth noting, that when installing from src, this fails to install during compilation since gt fails during the check step, however with binaries since we just untar and don't do any check this slips through for pure binary installs |
@wes-a2ai can we make a smaller scale version of this for an e2e test that doesn't use such heavy packages. Like a github pages hosted multi-"repo" setup where we stick a package or two in, we'll need it to be binary only as to not have the failure on src, so likely in CI will need to gate what its run on. something like pkgA v2 and pkgB v2 in repo 1, pkgB v1 in repo 2, then force pkgB v1 from the old repo in the rproject.toml |
Created the CRAN-repos. Has both jammy and mac binaries for 4.4. The below config resolves/sync's:
The following command errors:
|
Looks like it's time to cross that bridge https://github.com/A2-ai/rv/blob/main/src/resolver/mod.rs#L398-L401 |
Given the following lockfile where we get an old version of dplyr:
in this case, the gt package has an explicit version of dplyr >= 1.1.4, we can point to an old cran mirror version with dplyr 1.1.2 to show:
the summary thinks its ok
however when going to load gt at runtime:
The text was updated successfully, but these errors were encountered: