Get rid of build shell scripts and move them to Python#6082
Get rid of build shell scripts and move them to Python#6082edoakes merged 29 commits intoray-project:masterfrom
Conversation
80fc5f1 to
003890a
Compare
edoakes
left a comment
There was a problem hiding this comment.
This is a good idea but this script is extremely hard to understand, and maintainability is a top priority. Please see my comments and try to clean it up generally and I will take another look. Also, adding comments that explain the windows-specfic behavior anywhere that it's non-obvious would be great.
@edoakes: It actually turns out I thought this script is supposed to be run directly by users, but @pcmoritz mentioned that it's actually only supposed to be run from |
|
@pcmoritz I just moved things to |
|
This looks really great, thanks for doing it! |
edoakes
left a comment
There was a problem hiding this comment.
Nice, much simpler now. Some more style feedback.
|
The python tests are unrelated but the linter is failing: You should be able to run |
edoakes
left a comment
There was a problem hiding this comment.
Looks pretty good. My chief complaint is that I found download_pickle5 extremely hard to follow - any way to make that a bit more clear at the cost of verbosity?
|
Test FAILed. |
|
Test FAILed. |
|
This PR made it impossible to build from source using pip: |
Why are these changes needed?
Wheel building on Windows has unexpected behavior when invoked from MSYS2 Bash, as it alters the environment when calling Bazel.
Bazel is aiming to get rid of the MSYS2 dependency on Windows; it's best to stick with Python.
Checks
scripts/format.shto lint the changes in this PR.