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
conda install --force implies --no-deps #2928
Comments
Take it up with Aaron: 45b3cbd#diff-34bb8d01f991a5ffabae5e80b987c83fR142 |
I don't have time to dig it up, but this has caught me out and I think I've reported some of the PLS-violating implications of this policy. |
Found it: #1878 |
While we're talking about PLS and installation of dependencies, can anyone think up a good reason why installing from a tarball doesn't also install dependencies? I get that you may need to supply some channels, but that is better than installing things that don't work. |
I was wrong. It's not 2.5 years old. It's over 3 years old, and it has been there ever since |
Because we don't have information about a tarball's dependencies until after we fetch & extract. That doesn't mean we can't do it, but it requires two "plan" passes. |
My suggestions:
|
What I'd really like to do is reduce the number of reasons to use If we're recommending the use of On the flip-side, the fact that we can install tarballs without checking dependencies, and without using |
From #1878
@ilanschnell, @ijstokes: I know this has come up many times, that somehow For instance, But let's set that aside, and say the rule is: pretend the environment is empty. What if the packages I ask for are still internally inconsistent? Should conda cough up an Perhaps the rule is: if it's satisfiable, make it so; but if not, just do the "best you can" in some sense. What exactly is that sense? Perhaps it should just pick the latest versions of the requested packages, and the latest versions of their dependencies, and so on. There will be a lot of tiebreaking to do, I'm guessing. I think |
Thanks for the detailed explanations @mcg1969. |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
From
conda install -h
(version 4.1.5):I don't know when it was added that
--force
also implies--no-deps
, but this is not how it used to be. Whatconda install -f
used to do is simply install the package (with it's dependencies) but re-extract and possibly re-download the package.The text was updated successfully, but these errors were encountered: