Repository navigation
[RuntimeEnv] Fixes spaces in paths causing failures on Windows - #25659
Conversation
|
LGTM, although I do wonder if we can use |
|
I agree. Rather strange that my tests are passing while yours are failing. Not sure what's so different. Isn't subprocess.run supposed to standardize things across platforms? I did only enable this for Windows platforms, considering that the other code wasn't broken I really didn't want to touch it. Anyone familiar with runtime env? |
|
There is an open PR #23613 that should be merged soon to enable conda runtime environment tests on windows. I wonder if merging that PR will expose some breakage here? |
I will try rebasing this PR on that PR and see if it works |
|
#23613 was merged. Could you rebase this on |
|
Will do |
778afde to
cb1c525
Compare
|
Builds look fine to me @mattip |
|
OK. Can you remove the "draft" status? I think this is ready for review. |
|
@architkulkarni want to take a look? I think this solves the problems. There may be more tweaks needed as more runtime_env tests are enabled, the current set passes here including the tricky |
architkulkarni
left a comment
There was a problem hiding this comment.
Looks good to me!
|
|
|
Assigning @edoakes for merge privileges |
Why are these changes needed?
This is a follow-up to the previous PR (GitHub did some funky things when I did a rebase, so I had to create a new one)
On Windows systems, the
exec_workermethod may fail due to spaces being present in arguments that are file paths. This addresses said issue.Related issue number
Closes #24574
Checks
scripts/format.shto lint the changes in this PR.cc @mattip @architkulkarni @SJ-L