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

Document how to use mambabuild #1290

Closed
leofang opened this issue Mar 24, 2021 · 15 comments
Closed

Document how to use mambabuild #1290

leofang opened this issue Mar 24, 2021 · 15 comments
Assignees
Labels

Comments

@leofang
Copy link
Member

leofang commented Mar 24, 2021

https://gitter.im/conda-forge/conda-forge.github.io?at=602417279fa6765ef80e6bf4

I think we need to add

  1. How to enable it in CI: IIUC we need build_with_mambabuild: True in conda-forge.yaml
  2. How to use it locally for debugging: conda mambabuild ...

cc: @wolfv

@wolfv
Copy link
Member

wolfv commented Mar 24, 2021

hi @leofang, thanks for opening this issue! Yes, it would be great to have some docs around this. Are you willing to write something up?

For conda-forge:

  • add build_with_mambabuild: True to conda-forge.yaml, then rerender with conda-smithy (locally: conda install conda-smithy -c conda-forge && conda smithy rerender. also important to note: the builds made with mambabuild won't (and probably shouldn't) be uploaded to conda-forge, this is purely for debugging (for now)
  • locally, first: {conda,mamba} install boa -c conda-forge, then you can use conda mambabuild myrecipe

@leofang
Copy link
Member Author

leofang commented Mar 24, 2021

Thanks, @wolfv. I posted this mainly to prevent it from being forgotten. If someone is interested in writing it up, that couldn't be better. Otherwise, I could pick it up at some point (definitely not this week) 🙂

@Aaishpra
Copy link
Contributor

@wolfv @leofang if you allow I would like to give this issue a try as an outreachy internship applicant.
Since this is my first time with conda-forge I would appreciate it if you can guide me on how to approach this issue. 🙌🏻

@jakirkham
Copy link
Member

@viniciusdc, is the contact point for Outreachy. Cc-ing him here

@leofang
Copy link
Member Author

leofang commented Mar 30, 2021

@ForgottenProgramme asked me about mambabuild offline, I think she's also interested in contributing. I'll let you coordinate..

@Aaishpra
Copy link
Contributor

Sure👍🏻 I am good with anything.

@viniciusdc
Copy link
Contributor

viniciusdc commented Mar 30, 2021

Great, we will need to handle that a little. @ForgottenProgramme also reach me out and @wolfv to help contributing here. Is it possible for you guys @leofang @jakirkham add some more details to the current opened issues? It would definitely help the new applicants

@jakirkham
Copy link
Member

I think people are interested in trying to use mambabuild. However there's not really documentation covering this currently. Unfortunately that's about all the context I have here as this is not an issue I've been following too closely

@viniciusdc
Copy link
Contributor

@ForgottenProgramme @Aaishpra any news on this ?

@ForgottenProgramme
Copy link
Contributor

ForgottenProgramme commented Apr 6, 2021

Yes, @viniciusdc.
I've been reading about mamba-build.
I realized the conda-forge docs do not have any dedicated section for mamba. I think we need one.
Therein we document about all it's use cases for conda-forge. ( For example: config mamba with conda-forge, how to enable it in CI and so on)

I'll take this up.

@ForgottenProgramme
Copy link
Contributor

Also, @leofang had suggested the 'Knowledge Base' page in the maintainer docs might be a good place for adding 'mamba' section.

https://conda-forge.org/docs/maintainer/knowledge_base.html

@viniciusdc
Copy link
Contributor

Also, @leofang had suggested the 'Knowledge Base' page in the maintainer docs might be a good place for adding 'mamba' section.

https://conda-forge.org/docs/maintainer/knowledge_base.html

I agree

@ForgottenProgramme
Copy link
Contributor

ForgottenProgramme commented Apr 11, 2021

For future reference (whenever work on mamba docs begins full fledged):

@wolfv 's blog that answers 'what to do if conda is too slow/ why mamba?' : https://wolfv.medium.com/making-conda-fast-again-4da4debfb3b7

Information about the mamba organization and how mamba actually works under the hood : https://medium.com/@QuantStack/open-software-packaging-for-science-61cecee7fc23

(We might not need to include this information in conda-forge docs(atleast not in detail). It's correct place would be mamba-org's own docs. It might still be helpful to read this before beginning documentation around mamba. )

@ForgottenProgramme
Copy link
Contributor

Link to the Gitter chat on this issue. Could be useful later.

https://gitter.im/conda-forge/conda-forge.github.io?at=60742f23ae90f3684077029e

@leofang
Copy link
Member Author

leofang commented Apr 22, 2021

Closed by #1353. Related: #1381.

@leofang leofang closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

6 participants