-
Notifications
You must be signed in to change notification settings - Fork 15.3k
github-upload-release.py: add requirements and lock files for installing dependencies #169461
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
github-upload-release.py: add requirements and lock files for installing dependencies #169461
Conversation
|
cc: @boomanaiden154 |
boomanaiden154
left a comment
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.
This is not how we manage dependencies. This needs to go in a requirements.txt along with a generated lockfile, or piggy back off something else.
3b7e039 to
edb4263
Compare
I changed it to requirements.txt and a generated lockfile for this PR, however I think it would be good to consider adding the inline script metadata to make it obvious to someone looking at the script what dependencies it needs installed are (and that follows the script if it ever gets moved around in the repository. |
edb4263 to
51793ed
Compare
You can add a docstring that references the |
…ing dependencies Signed-off-by: Ryan Mast <[email protected]>
51793ed to
fba3dac
Compare
boomanaiden154
left a comment
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. Might be good at some point to look at consolidating all of the requirements files, but we can leave that for the future.
…ing dependencies (llvm#169461) Adds requirements.txt and lock files for installing dependencies for github-upload-release.py script. Signed-off-by: Ryan Mast <[email protected]>
…ing dependencies (llvm#169461) Adds requirements.txt and lock files for installing dependencies for github-upload-release.py script. Signed-off-by: Ryan Mast <[email protected]>
Adds requirements.txt and lock files for installing dependencies for github-upload-release.py script.