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

Linter hint about {{ stdlib("c") }} variable is incorrect for noarch packages #1924

Closed
1 task done
Tracked by #2102
BastianZim opened this issue May 9, 2024 · 1 comment · Fixed by #1925
Closed
1 task done
Tracked by #2102

Linter hint about {{ stdlib("c") }} variable is incorrect for noarch packages #1924

BastianZim opened this issue May 9, 2024 · 1 comment · Fixed by #1925
Labels

Comments

@BastianZim
Copy link
Member

BastianZim commented May 9, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Platform-specific noarch packages that use __osx receive a hint that they should depend on {{ stdlib("c") }} but they are noarch and do not require it.

Example: conda-forge/poetry-feedstock#99 (comment)
Code:

if any(req.startswith("__osx") for req in run_reqs + constraints):

Background: conda-forge/conda-forge.github.io#2102 (comment)

@BastianZim BastianZim added the bug label May 9, 2024
@BastianZim
Copy link
Member Author

BastianZim commented May 9, 2024

CC @jakirkham and @h-vetinari

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

Successfully merging a pull request may close this issue.

1 participant