-
Notifications
You must be signed in to change notification settings - Fork 67
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
"Warning - a newer version of conda exists" - logged as a warning on Windows #58
Comments
Hi @aldanor, thanks for the report. I will take a look at it. Cheers! |
@goanpeca Any thoughts? Here's how it shows up, as an example: https://github.com/aldanor/hdf5-rust/actions/runs/191675608 |
Is it this line if I understand correctly? |
I'm seeing this on |
One thing I've noticed is that the Github Actions windows-latest runner uses an old version of miniconda (4.6.14 released April 2019) see https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#package-management, compared to ubuntu/macOS which is currently at 4.8.3. Is it worth pushing on upstream at https://github.com/actions/virtual-environments to get a newer miniconda version on Windows, since conda 4.7.0 and above comes with various speed improvements and enhancements? |
That sounds like a good idea. Maybe add to the issue linked so others can go and bump a 👍 |
Is this issue for Windows only? As in #58 (comment), I'm also seeing it on Ubuntu. Could it be renamed if for both? Or I can open a new issue for Ubuntu otherwise. I thought that
would fix it, but it does not. (What does that statement do?) |
When installing the latest conda, conda itself might raise the warning. |
Cool, feature request opened at actions/runner-images#1580, let's all go and add our upvotes! Or if someone wants to submit a PR, go for it too!
The reason the warning exists for Ubuntu too is because the latest conda version is 4.8.4, but only 4.8.3 installers are available (see https://repo.anaconda.com/miniconda/). The 'miniconda-version: "latest"' is only able to pull down the 'Miniconda3-latest-Linux-x86_64.sh' installer, which is at 4.8.3 right now. |
This will be a problem every time a new installer is released, it's likely not worth trying to get multiple upstreams to synchronize. Some possible, not mutually-exclusive thoughts while working on clobbering other errors on #79:
|
I guess since we're looking to get this into #79, my preference would be for the first choice, e.g. bootstrap condarc during installer/conda upgrade... but will entertain the other options. |
#79 has added the bootstrap approach. I decided to not clean it up, as it will get overwritten if a |
Below a snippet of the log, installing conda on
windows-latest
with this config:If you notice the
##[warning]
below, I think that's what's causing the warning to get logged and reported as an annotation in actions ui? Interestingly, it does only happen on windows runners.Is there any way to suppress that?
The text was updated successfully, but these errors were encountered: