rules_python
                                
                                 rules_python copied to clipboard
                                
                                    rules_python copied to clipboard
                            
                            
                            
                        py_binary fails to build when cross compiling for windows using llvm-mingw
🐞 bug report
py_binary
Is this a regression?
Yes. 0.30.0 good 0.31.0 bad
The commit causing the issue is https://github.com/bazelbuild/rules_python/commit/5cd32ad47b0383147f84578b5c8880fc26647540
Description
py_binary fails to build when cross compiling for windows using llvm-mingw
🔬 Minimal Reproduction
Not provided
🔥 Exception or Error
external/bazel_tools/src/main/native/windows/process.cc:22:10: fatal error: 'VersionHelpers.h' file not found
   22 | #include <VersionHelpers.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
🌍 Your Environment
Operating System:
  
  
Output of bazel version:
  
  
Rules_python version:
  
  
Anything else relevant?
Please add more details to the issue as it is hard to understand what exactly is breaking. Could you add a reproducible example please?
The python luncher uses files from bazel_tools which won't build on Linux using mingw.