-
Notifications
You must be signed in to change notification settings - Fork 428
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
Must conda-build be installed in the base envt? #4995
Comments
I'm one of the people @jbednar is assisting. Looks like things are working properly for us if we stick to the recommendation of conda package building in the If it might help others I'd be happy to edit that content and submit it as a change to the conda-build docs here. Is that of interest to you or should I just leave you to it? |
I think the main complication was the inability to run |
Historically it was possible (and at one point perhaps even necessary when building certain types of packages) to install Even today (with the exception of the recent regression introduced in However, invoking a plugin installed into a non- So moving forward, yes, the recommendation is for |
Thanks! I think that addresses my issue, as soon as that recommendation makes its way into the docs. @DaveKaretnyk , still up to make the docs PR? |
Sure, happy to have a go at a small docs update. I need to finish off Thermo Fisher work then I can have a look - over weekend probably, if that fits Anaconda's expectations? |
I have some suggested doc changes ready. Slight detour along the way... Setup on Windows was not really working so I ended up using an Ubuntu installation via WSL. Then I expected I could create a branch off main, then deliver it back to the repo and make pull request of it. But I get a permission denial erro - some quick googling - I need to do this work via a fork of main? I'll figure it out, but if anyone is on the air let me know please... |
@DaveKaretnyk Correct, you need to create a fork: https://docs.github.com/en/get-started/quickstart/fork-a-repo |
pull request for docs here: #5004. Hopefully I've done the required steps.... I'm still getting used to your workflow - it's bit different from how we are using github and gitlab in our company. Different but better :-) |
I find the internal-project github workflow (without using forks) is a lot more convenient, but it's not really scalable to an OSS project, because then every contributor would be making branches on the main repo, and the repo would get unwieldy. |
Docs updated in #5004 |
Conda's docs include explicit advice to install "programs" into an environment separate from
base
, where conda itself resides. Doesconda-build
count as a "program" in that sense, not to be installed inbase
?In my own work I always install
conda-build
intobase
, reasoning that is a part of conda in some ways, plus I've been working with people who had problems (possibly now addressed by https://github.com/conda/conda/releases/tag/23.7.3) when they installedconda-build
in their non-base environment. Yet I can't find any explicit statement about where to installconda-build
. Theconda-build
docs simply say toconda install conda-build
, which for most users will end up in their non-base environment if they follow the blanket conda recommendation not to install into base.If
conda-build
should be installed intobase
, I think the docs should be updated to state that explicitly. If it can be installed either in base or another environment, it would be great to list any limitations there are on that -- what happens when conda in base and conda-build are very different versions? Must a compatible conda always be installed alongside conda-build in the non-base environment? Etc.The text was updated successfully, but these errors were encountered: