-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support external-dependencies in pyright #9434
Support external-dependencies in pyright #9434
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few nits:
- Install all from requirements-tests.txt - lock pyright to specific version - deduplicate dependencies from script - remove extra space
Presumably |
Happy new year from the UK, by the way! 😀 🎆 |
…com/Avasam/typeshed into support-non-type-dependency-pyright
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're getting there! A few more comments below.
As well as these comments: I'm slightly concerned that the name of the new script (get_external_dependencies.py
) is quite similar to the existing script get_packages.py
. Can we disambiguate them somehow? Maybe we should rename get_packages.py
, since that one has quite a vague name currently?
How about something like |
Yeah, those sound great to me! 👍 |
Co-authored-by: Alex Waygood <[email protected]>
Actually, maybe something like What do you think? |
Co-authored-by: Alex Waygood <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, other than the issue about the names of the files themselves :)
SGTM. I also fixed-up a comment. |
69974ae
to
b5a2495
Compare
(Sorry for the noise, just doing some final testing!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Will merge once CI passes. Thanks for working on this!
Extracted from #9374
Work towards #5768
Support external (non-type) dependencies in pyright in the CI.
This also adds a new reusable script that can be run from CLI to get a list of dependencies (similar to
get_packages.py
) and leverages theread_dependencies
method added in #9382