-
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
Conda setup failing on creation in github CI workflow #292
Comments
The complete action run is available here |
As a workaround, you can use mamba from miniforge by replacing
|
This seems to work great thanks @tobiasdiez ! |
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> Mamba currently has problems with dependencies installed from other channels (libarchive/libarchive#1857, conda-incubator/setup-miniconda#292, conda-forge/libarchive-feedstock#69), see eg h ttps://github.com/sagemath/sage/actions/runs/6525067702/job/17717363515. As workaround we use miniforge now (which comes with a preinstalled mamba from conda-forge) ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [ ] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36468 Reported by: Tobias Diez Reviewer(s): Isuru Fernando, Matthias Köppe
So I am having a similar issue where I have an undefined symbol. According to Mamba documentation, it does not like having the defaults channel included. When looking at the action on github, the defaults channel still gets added in the Applying Initial Configuration step, though not sure why. Hope this info helps. Edit: I have not tried using the workaround above yet |
Indeed, it seems the defaults channel might be still leaking. Will take a look |
Hi all, I can't seem to have conda working reliably in a github ci workflow, I assume it has something to do with using mamba too? I do need this to install a package later down the line. But, the initialisation seems to fail occasionally. Heres the .yml file I use and the error produced
Error:
The text was updated successfully, but these errors were encountered: