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

Use mamba to create environement at Read the Docs #68

Closed
pierrepo opened this issue Feb 4, 2021 · 9 comments
Closed

Use mamba to create environement at Read the Docs #68

pierrepo opened this issue Feb 4, 2021 · 9 comments

Comments

@pierrepo
Copy link
Collaborator

pierrepo commented Feb 4, 2021

The feature flag CONDA_USES_MAMBA enables mamba instead of conda to create the environment at Read the Docs.

Unfortunately documentation is not very explicit on how to use feature flag...

@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

OK. So we have to send an e-mail to the admin team:

https://twitter.com/JohanMabille/status/1357307519639642113

I'll handle it.

@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

Mail sent.

@HubLot
Copy link
Collaborator

HubLot commented Feb 4, 2021

Great but is it necessary for our case? Can we try the regular conda and see how it goes?

Edit: you're too fast 😄

@patrickfuchs
Copy link
Owner

Yeah, his name is speedypierrepo 🚤 !

@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

Great but is it necessary for our case? Can we try the regular conda and see how it goes?

Yes. Building conda env is always slow and we have quite some dependencies in binder/requirements.yml. Mamba is very useful here.

@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

image

🎉

@patrickfuchs
Copy link
Owner

yeah 🎆 !

@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

For the record, e-mail of the request at support@readthedocs.org:

Dear Read the Docs admin team,

could you please activate this flag: CONDA_USES_MAMBA

to the repo https://readthedocs.org/projects/buildh/

for which I am a maintainer https://readthedocs.org/profiles/pierrepo/

Many thanks.

Regards.

Pierre


@pierrepo
Copy link
Collaborator Author

pierrepo commented Feb 4, 2021

It's done.
Build time has been reduced from 852": https://readthedocs.org/projects/buildh/builds/12936203/
down to 586" : https://readthedocs.org/projects/buildh/builds/12937020/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants