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
Build recipes in given order, not alphabetically sorted order #4133
Comments
I agree with you here; though actually conda-build could do even better, it could do a topological sort on the (rendered) recipes' dependencies. Pinging @njalerikson for his thoughts. |
Thanks for the prompt attention.
I suggest making sure conda-build respects the order of the given positional arguments first ;) I classify current behavior as a bug, and topological sort as a new feature. Generally it's intuitive if |
I agree. I would remove the sorting and if we do look into topological (or other) sorting that would be a new feature and likely hidden behind a flag ( |
Hi there, thank you for your contribution! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment. Thanks! |
Resolved in #4134 |
Actual Behavior
conda build recipeB/ recipeA/
first builds recipeA, then recipeB.Expected Behavior
It should build in the order given, i.e. recipeB first.
This is important if recipeA has a dependency on recipeB - in that case with the sorted order the build fails.
This happens because of the
sorted
here:conda-build/conda_build/api.py
Line 187 in ef7ef98
It should just be left out.
This behavior changed in 3.20 and upwards, was working fine in 3.19 and before.
The text was updated successfully, but these errors were encountered: