-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
CI Create environment with conda rather than conda-lock when possible #29176
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8e05b40
CI Create conda environment with conda rather than conda-lock
lesteve 0f38ffb
[doc] [arm] Trigger CI
lesteve c6115ae
Can only install with conda when there is no pip package
lesteve aee9a53
[doc] [arm] Trigger CI
lesteve 3178607
[doc] [arm] Fix
lesteve 22521e4
[doc] [arm] Fix
lesteve 18e3ce0
[doc] [arm] Fix
lesteve 570829d
[doc] [arm] Fix
lesteve d41caa2
[doc] [arm] Fix
lesteve d5c1ec0
[doc] [arm] There is no difference between condaforge and mambaforge …
lesteve 530e393
[doc build] [arm] There is no difference between condaforge and mamba…
lesteve 11af8f2
[doc build] [cirrus arm] fix
lesteve a7e4ae8
Tweak comments
lesteve aea1218
[azure parallel] [doc build] Seriously PyPy?
lesteve 4809b6b
[azure parallel] [doc build] Fix grep command
lesteve 8da38e7
Merge branch 'main' of https://github.com/scikit-learn/scikit-learn i…
lesteve f8456eb
Use create_environment_from_lock_file in create_gpu_environment.sh
lesteve 6e5b2d7
Use env var for more explicit argument purposes
lesteve File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for CI, micromamba is a lot smaller and quite fast. Would it be okay to use it or you rather not bother?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to remember that you had issues with updating the lock-files though with micromamba, right, and that the fix for you was
micromamba install mamba
right? My wild guess is that there were issues with virtual packages that were fixed in conda (I did one of the PR by the way). Because micromamba reimplements these parts, they were issues, there is a small chance that someone reported it and that it was fixed.I am not convinced the "lot smaller" this matters that much in practice for the, CI maybe you save a few seconds for the downloads and 2-3 lines for the installation code.
All in all, I would be in favour of being conservative here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The solution for me was to install both
mamba
andconda
to be able to update lock files.The smaller thing is significant since
micromamba
doesn't come with a base environment. So there's one whole environment saved by not usingconda
here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR is already a net improvement. Can we discuss
micromamba
in a follow up PR?