Add linter hints for issues with OSX configuration in CBC by h-vetinari · Pull Request #1929 · conda-forge/conda-smithy (original) (raw)

@h-vetinari

Linter portion of #1927, but also adding linter hints for warnings from #1889, which were so far only visible when running smithy locally.

@h-vetinari

@h-vetinari h-vetinari changed the titleLint osx cbc Add linter hints for issues with OSX configuration in CBC

May 13, 2024

@h-vetinari

@h-vetinari

h-vetinari

@h-vetinari

beckermr

This was referenced

May 24, 2024

@maresb

I was pretty confused about the c_stdlib_version below the current global baseline warning I received here.

After some investigation I realized that it was coming from this file. (It would have been helpful to indicate the filename recipe/conda_build_config.yaml.) I created that file according to this announcement and then forgot about it.

My confusion was because I don't have the bigger picture of what's going on, and when I created conda_build_config.yaml I was blindly following the announcement without fully realizing that I was pinning the c_stdlib_version which might need to be updated in the future. In my case it seemed to work to simply delete the entry from conda_build_config.yaml. Should this be mentioned as another possible resolution? (Also, I hope this was the correct action in my case?)

@h-vetinari

I was pretty confused about the c_stdlib_version below the current global baseline warning I received here.

Sorry about that...

In my case it seemed to work to simply delete the entry from conda_build_config.yaml. Should this be mentioned as another possible resolution?

PRs to improve the warning messages here (or documentation), so that they would have been more understandable to you, would be greatly appreciated!

Also, I hope this was the correct action in my case?

Yes, deleting a pin for c_stdlib_version <10.13 is completely fine.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})