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

Nonexistent conda-forge.yml should raise an error #1899

Open
ytausch opened this issue Apr 2, 2024 · 0 comments
Open

Nonexistent conda-forge.yml should raise an error #1899

ytausch opened this issue Apr 2, 2024 · 0 comments
Labels

Comments

@ytausch
Copy link
Contributor

ytausch commented Apr 2, 2024

Comment:

Currently, lint-recipe does not raise an error (lint) if conda-forge.yml does not exist in one of the supported locations relative to the recipe directory. Instead, the configuration is read as empty mapping, which is valid with the Pydantic schema that we currently use.

I don't see any use cases for a conda feedstock that does not contain a conda-forge.yml file.

I see the possibility of undetected errors because of a wrongly placed conda-forge.yml file that is not found by conda-smithy.

Therefore, I suggest raising an error in this situation. If someone really does not want to change the defaults, they should be obliged to create an empty conda-forge.yml file to make their intentions clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant