-
Notifications
You must be signed in to change notification settings - Fork 478
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
SNOW-730503: pip install awscli in windows build script #1410
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1410 +/- ##
==========================================
- Coverage 81.47% 81.42% -0.06%
==========================================
Files 61 61
Lines 8558 8558
Branches 1263 1263
==========================================
- Hits 6973 6968 -5
- Misses 1257 1263 +6
+ Partials 328 327 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Why do we need to install it twice? I wonder if we could just put then in the same line of python -m pip install --upgrade pip setuptools wheel
remove redundant install
Good point. Should have noticed it myself. Now removed |
ci/build_windows.bat
Outdated
@@ -22,6 +22,9 @@ if %errorlevel% neq 0 goto :error | |||
python -m pip install --upgrade pip setuptools wheel | |||
if %errorlevel% neq 0 goto :error | |||
|
|||
pip install --upgrade --user awscli |
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.
Can this be inlined with line 22? Given you also use --user
here, maybe it's not possible.
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.
yep. Just did that. Hopefully it should work, otherwise we can do a --user
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.
Please answer these questions before submitting your pull requests. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #SNOW-730503
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.