-
Notifications
You must be signed in to change notification settings - Fork 70
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
use-only-tar-bz2: true for package cache results in error "nothing provides requested" #267
Comments
@scottyhq thanks for raising the issue. When the action was created some time ago, the packages downloaded by conda when using the .conda format where being always redownloaded, that is why the I have not tested (will create a new test to check this) but maybe more recent versions of conda have fixed this issue @jezdez do you know if this is still the case? Thanks! |
Heads-up: Since conda-forge recently changed their defaults, more and more packages are no longer available as
I'm going to try |
Yes, also seeing this problem. It would be nice to know if no longer using |
It is safe for installation, but users must update to recent conda/mamba versions. For caching I don't know. |
Thank you, that's helpful. I imagine python 3.7 will become increasingly hard to support because conda-forge is no longer building for it. |
Maybe related (and similar to scientificcomputing/mpi-tutorial#23 I think) - with use-only-tar-bz2 set to true, I was unable to install rust pinned to 1.75.0 (on conda-forge, with linux-64) because it wasn't showing up in the catalog (with |
Fix broken CI, following sourmash-bio/sourmash_plugin_branchwater#325 > Fix broken CI. Among other things,`actions-rs` is unmaintained per actions-rs/toolchain#216. I think the original breakage might have been occasioned by the runner image for ubuntu-latest being updated about two weeks ago ([link](https://github.com/actions/runner-images/blob/ubuntu22/20240422.1/images/ubuntu/Ubuntu2204-Readme.md)). A laundry list of problems to fix seems to have boiled down to: * don't mix rustup installs with conda installs; * if you're going to use conda-incubator/setup-miniconda, do not set `use-only-tar-bz2` to true (conda-incubator/setup-miniconda#267 (comment))
@goanpeca @dbast Do you have a suggestion how to proceed with this? It sounds like we want to more aggressively discourage the use of What is the reason for the following statement?
|
Yes, I don't think conda environments will work with |
@jezdez at some point in the past when testing caching for this action, when packages where I have not recently checked if this still the case. If it is not, then we can update those instructions, or even deprecate that flag on the action |
I just spent a lot of time getting to the bottom of the following issue that showed up last week with v2 of this action, originally I thought it had to do with v2.1 -> v2.2 but this comment in a separate issue from @bollwyvl seems to hold the answer!
It's not clear to me from readme alone why
use-only-tar-bz2: true
is necessary for caching to work properly? I suspect this will come up quite a bit if new package versions don't have a .tar.gz, so if there is no easy technical solution for caching .conda files a note in the readme.md would be helpful.The text was updated successfully, but these errors were encountered: