-
Notifications
You must be signed in to change notification settings - Fork 427
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
Multi-output recipes might not run test suite in certain cases #4172
Comments
Rename https://github.com/conda-forge/cvxpy-feedstock/blob/master/recipe/meta.yaml#L5 to something else, like cvxpy-suite (suite is what I use). Problem is that the top-level package conflicts with an output so the top-level details will get used sometimes and the output details will get used at other times. A fix to assert on this inside conda-build is long overdue. PRs, as always, very welcome! |
It shouldn't be confusing really, the top level package name is irrelevant, so just make it something different. |
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! |
This is still an issue that people trip over very regularly. It should just error if the |
Wonder if we started writing a recipe format from scratch, whether this is something we could solve by making single output recipes just a special case of multi-output recipes The situation now is multi-output recipes are more of a bolt-on to single output recipes, which makes sense given the history However a recipe format that was multi-output aware to start with might avoid issues like this one and others seen with the current multi-output recipe format to date |
Not stale |
The cvxpy-feedstock has been multi-output since @djsutherland's conda-forge/cvxpy-feedstock#6 more than 2 years ago.
The recipe clearly specifies to run a test suite:
However, it seems this
commands
section was never run! Now that this was discovered today (and promptly fixed by @isuruf), it turns out that several packages have been shipping in a broken state for a long time, which is obviously... less than ideal.The relation between the package-name and whether tests are run for sub-packages is also very confusing to me, but in any case, recipe maintainership (across many packages) is not reasonably possible without being able to trust that conda does something as fundamental as running the test section of the recipe completely.
The text was updated successfully, but these errors were encountered: