rules_python
                                
                                 rules_python copied to clipboard
                                
                                    rules_python copied to clipboard
                            
                            
                            
                        bazel_tools/tools/python/py3wrapper.sh is missing when trying to set up gazelle extension on MacOS arm64
🐞 bug report
Affected Rule
gazelle_binary
Is this a regression?
First time setup
Description
There is a failure to find the py3wrapper.sh after setting up the python gazelle extension. When looking at the outputs produced by build of the gazelle rule, there doesn't appear to be a bazel_tools directory, which is where the gazelle extension appears to look for py3wrapper.sh
🔬 Minimal Reproduction
the provided setup for the basic, single language gazelle binary for python produces this error
🔥 Exception or Error
gazelle: failed to wait for std_modules: exit status 1
Traceback (most recent call last):
File "/private/var/tmp/[username]/69979cb607dfc04066c2b1bad1bd5713/execroot/[projectdir]/bazel-out/darwin_arm64-fastbuild/bin/gazelle2.runfiles/rules_python/gazelle/parse", line 392, in 
🌍 Your Environment
Operating System:
MacOS 12.0.1
Output of bazel version:
  
Bazelisk version: development
Build label: 5.2.0
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 7 16:11:09 2022 (1654618269)
Build timestamp: 1654618269
Build timestamp as int: 1654618269
  
Rules_python version:
  
0.9.0
  
Anything else relevant?