-
Notifications
You must be signed in to change notification settings - Fork 71
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
Sporadic failures using mamba-version: "*"
#274
Comments
observing the same today https://github.com/gdsfactory/gdsfactory/actions/runs/3906659862/jobs/6675080754 |
Also observing this. https://github.com/andersen-lab/Freyja/actions/runs/3907050506. Thanks @victorlin for posting the workaround. |
I also found the same error on https://github.com/apache/zeppelin/actions/runs/3901061183/jobs/6665542729 |
If you are not interested in using
|
This is in hopes of resolving sporadic errors. Ref: <conda-incubator/setup-miniconda#274>
* Adjust setup-miniconda parameters This is in hopes of resolving sporadic errors. Ref: <conda-incubator/setup-miniconda#274> * Adjust setup-miniconda for benchmarks * Remove matrix entry in benchmarks
@traversaro thanks, I've updated the list of workarounds in the issue description and put that one first since it is the more popular one. |
Note that |
I have been having the following error with
with this in my
(example PR with errors earlier: matplotlib/cmocean#88) and workaround 1 above worked for me! |
* 🎨 [scripts.utils.vcf] Use format keys for samples * ✨ [vcf.VcfFix] Dedent envs.helpers automatically and allow it to be list of strings * 🧑💻 [tcr.CloneResidency] Add count table and allow grouping samples in the report * 🧑💻 [cnvkit.CNVkitCall] Allow not passing threshold * 🧑💻 [cnvkit.CNVkitCall] Allow setting cutoff to fetch significant genes for enrichment analysis * 🧑💻 [scrna.SeuratPreparing/SeuratClustering] Do QC in SeuratPreparing only and prepare clustering in SeuratClustering * ✨ [cnvkit_pipeline] Allow customization of colnames in metafile * 💚 Fix CI (conda-incubator/setup-miniconda#274) * 🔖 0.6.2
This is affecting me too on https://github.com/rosepearson/GeoFabrics/actions/runs/3925803401/jobs/6710960393. I'll look at work around 1 thanks, |
Documented work around in conda-incubator/setup-miniconda#274 in response to transient errors
* Update pyproject.toml - Update version * Update GH actions test to try fix broken install by use Mambaforge * Documented work around in conda-incubator/setup-miniconda#274 in response to transient errors * Update PR template * Updated tests after OSM edits
- Per the workaround in "conda-incubator/setup-miniconda#274 (comment)" - Set to use mamba over conda
I created a minimum working example for this issue using different OS and Python versions: https://github.com/padix-key/gha-mamba In this setup this issue only affects Ubuntu builds: https://github.com/padix-key/gha-mamba/actions/runs/4044454081 |
Hi @padix-key thanks for the example! |
Workaround mentioned in conda-incubator/setup-miniconda#274
Workaround mentioned in conda-incubator/setup-miniconda#274
Trying fixes from conda-incubator/setup-miniconda#274
* AH-1801 Change key dtypes to match * AH-1801 update workflow file - Trying fixes from conda-incubator/setup-miniconda#274 * AH-1801 fix pylint errors
* AH-1801 Change key dtypes to match * AH-1801 update workflow file - Trying fixes from conda-incubator/setup-miniconda#274 * AH-1801 fix pylint errors
Changes: * Used a workaround to fix a CI action ## Related Issue / Discussion conda-incubator/setup-miniconda#274
- having errors with mamba in macos test, trying workaround as noted here: conda-incubator/setup-miniconda#274 (comment)
- having errors with mamba in macos test, trying workaround as noted here: conda-incubator/setup-miniconda#274 (comment)
In an updated version of https://github.com/padix-key/gha-mamba (updated |
(originally from nextstrain/augur#1125)
Description
I'm aware that using
mamba-version
is an experimental feature, and some instability can be expected.However, I've noticed that it's been failing more often than usual on at least two repos managed by my team @nextstrain.
The error is not very useful:
I've compared a failing run with a successful re-run of the same workflow. There are some notable differences in the output of
conda config --show
:I do not understand why there are differences in Python versions and other conda config between two runs of the same workflow.
Known Workarounds
1. Use Mambaforge
mamba-version
.miniforge-variant: Mambaforge
(and optionallyminiforge-version
).Example: nextstrain/cli@4a76497
2. Use the new libmamba solver
Note that this workaround can introduce a separate issue when used on
windows-2022
: conda/conda#12161.Remove
mamba-version
.Run this after the
setup-miniconda
step:Replace
mamba install
withconda install
.Example: nextstrain/augur@344ed51
The text was updated successfully, but these errors were encountered: