-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 update failing on git bash (libmamba-solver issue) #12161
Comments
This appears to be a Windows + Git Bash specific issue. Two possible workarounds have been identified:
|
Note that in https://github.com/conda/conda/actions/runs/3643394459/jobs/6154412333 from #12156 |
It sounds a bit like I think things were changed a bit with the activation logic, but not sure if that really is the problem. |
@wolfv, thanks for pointing out the activation changes! |
We are aware of the cause of this issue, yes, this appears to be a side effect of removing the prefix injection codes from the shell interfaces. We also do not believe that re-adding the prefix injection is the correct move as the prefix injection caused other more confusing issues to occur elsewhere. Furthermore, relying on the prefix injection (instead of other fixes) means that conda/Python/libmamba cannot be run unless the base environment is activated (i.e., The Python package is already patched to correctly inject the necessary DLL paths, ATM we are trying to understand why this patch doesn't already find the libmamba DLL. |
Generally, we should not rely on the assumption that
This pretty much goes against the base use and recommendation on how to use Conda environments. I did not fully read the mentioned PR or the issues/discussions attached to it. What I am saying is not that the previous prefix injection code was flawless (obviously it caused issues). |
I would argue that when Having slept on this, I agree that we shouldn't care how Python is patched or packaged. You're right that this is just asking for trouble, especially if we ever want to rerelease via pip. IMO the issue with the previous prefix injection was how it relied on the shell interface. I'm wondering if adding What's confusing is that this is effectively what the Python patch already does so why can't we find |
I would also be generally in favor of reverting the prefix code given the impact. |
In Windows 10.
|
I am unable to replicate this issue anymore on Windows, likely because of the Python package fix that was introduced and described here |
We believe this issue to be resolved at this time 👍 . |
Just ran into this issue installing into Windows. Was able to fix by adding the ..\miniforge3\Library\bin to my environment PATH. |
What happened?
GitHub actions is experiencing an error which is shown in the following:
You can see this error message here.
This seems to be due to GitHub actions using git bash as the issue has been reproduced on a Windows vm running git bash. There are current efforts to debug and probable causes with this but will keep that contained to messages in this issue.
Conda Info
conda 22.11
+conda-libmamba-solver 22.12
+ Windows + Git BashThe text was updated successfully, but these errors were encountered: