-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
provide linter hints about adding stdlib, removing outdated ways to do it #1909
Conversation
ec7fbc8
to
db01a2d
Compare
I didn't follow why a token was needed or w/e with the tests. However, LGTM! |
Calling conda-smithy/conda_smithy/lint_recipe.py Lines 851 to 852 in 4006d83
(and faking that token is no use because it is soon after used to fetch info from GH). Hence testing |
We could guard those lines and calls to enable things to be run easily without tokens. |
Sure. Not sure though if it's worth the effort? For now it seems to work OK as is and doesn't seem tooooo ugly? (then again, perhaps I also haven't understood where exactly the split between |
OK, now that we have some basic documentation for stdlib up, let's put this one in. :) |
@h-vetinari @beckermr I suggest not introducing any new code that uses |
Maybe someone can add an appropriate |
Yeah, completely fine by me, I just happened to overlook this while C&P-ing from pre-existing smithy code. |
Done. See #1919 |
As discussed in core call today; I wanted to add this into
run_conda_forge_specific
originally (where the other hint logic from #1772 lives1, but it's a pain to run that in testing becauserun_conda_forge_specific
requires aGH_TOKEN
. If desired, I can still move it there, especially now that the tests have been debugged (and assuming CI here has a valid token). 🤷Note: I'd also want to wait before
mergingreleasing this until we have updated the stdlib docs in the knowledge base, to avoid people getting confused.Footnotes
which we cannot reuse because it currently only works for plain package names, no patterns, versions etc. ↩