Skip to content
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

Speed up conda environment creation #804

Conversation

guyer
Copy link
Member

@guyer guyer commented Apr 21, 2021

Conda's opaque package resolution scheme causes us to have
extremely long environment solves, followed by getting an
ancient version of FiPy.

We want new fipy, and can accept an old gmsh,
but how to tell conda that?

Fixes #800

Conda's opaque package resolution scheme causes us to have
extremely long environment solves, followed by getting an
ancient version of FiPy.

We want *new* fipy, and can accept an old gmsh,
but how to tell conda that?
@guyer guyer changed the title Install gmsh after activating environment Speed up conda environment creation Apr 22, 2021
@guyer guyer marked this pull request as draft April 22, 2021 23:27
@guyer
Copy link
Member Author

guyer commented Apr 23, 2021

@guyer guyer marked this pull request as ready for review April 23, 2021 13:39
@guyer guyer requested review from wd15 and tkphd April 23, 2021 13:39
@guyer guyer mentioned this pull request Apr 23, 2021
@wd15
Copy link
Contributor

wd15 commented Apr 24, 2021

Well done finding Mamba. Seems better for a package manager to be Python independent. Maybe start rebasing this sort of pull request with a few or single good commit message.

@guyer
Copy link
Member Author

guyer commented Apr 25, 2021

@wd15 Thanks. The developer actually pointed me at it awhile ago when the conda solver was coming up with insane results, but I was reminded of it here when I went tracking down some bookmarks I had on speeding things up.

I always squash and merge these PRs because the troubleshooting history is irrelevant. For more complicated PRs, I rebase and submit a new PR once everything is working. People have requested that GitHub enable rebasing of PRs, but that's fallen on deaf ears so far.

@guyer guyer merged commit 6e1e60d into usnistgov:master Apr 25, 2021
@guyer guyer deleted the issue800-CircleCI_conda2_env_is_really_slow_and_ends_up_installing_FiPy_3_3 branch April 25, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CircleCI conda2_env is really slow and ends up installing FiPy 3.3
2 participants