Skip to content

docs: discourage main-subpackage name collisions for multiple outputs: in define-metadata.rst - #5767

Merged
jezdez merged 2 commits into
conda:mainfrom
dlaehnemann:patch-1
Apr 29, 2026
Merged

docs: discourage main-subpackage name collisions for multiple outputs: in define-metadata.rst#5767
jezdez merged 2 commits into
conda:mainfrom
dlaehnemann:patch-1

Conversation

@dlaehnemann

Copy link
Copy Markdown
Contributor

Description

This is an attempt at correcting a misleading wording and providing good guidance for the naming of subpackages when using multiple outputs: in a meta.yaml recipe.

For cross-reference, this docs change was noted as being necessary in previous issues:

Also, the previous wording implied that having the top-level name of a recipe repeated in one of the subpackage names. This is exactly the behavior that is cited to cause the unintended side-effects, for example here:

Feel free to further improve the wording, this is mostly meant to get the ball rolling again. Especially since previous efforts to make this name re-use a hard error in conda-build have all gone stale, see for example:

So this is kind of the minimal fix, something like #3314 would be much nicer in the mid-term. And I guess that in the long-term, this should go away if the new recipe format is fully implemented and enforced, see:

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot

Copy link
Copy Markdown
Contributor

We require contributors to sign our Contributor License Agreement and we don't have one on file for @dlaehnemann.

In order for us to review and merge your code, please e-sign the Contributor License Agreement PDF. We then need to manually verify your signature, merge the PR (conda/infrastructure#1181), and ping the bot to refresh the PR.

@jezdez

jezdez commented Aug 7, 2025

Copy link
Copy Markdown
Member

@conda-bot check

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Aug 7, 2025
@dlaehnemann

Copy link
Copy Markdown
Contributor Author

Just uncovered this older investigation of mine that I had lost track of. So ping @jezdez, I guess?

@dlaehnemann

Copy link
Copy Markdown
Contributor Author

New year's ping @jezdez, while this is still on my radar. Hope you are back from happy holidays once you read this.

@ryanskeith ryanskeith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the addition of this warning.

@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Approved in 🔎 Review Jan 30, 2026
@jezdez
jezdez merged commit 1b06cd4 into conda:main Apr 29, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from ✅ Approved to 🏁 Done in 🔎 Review Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants