File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed 
tests/integration/compile_pip_requirements Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,18 @@ def py_repositories():
5353            "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz" ,
5454        ],
5555    )
56-     http_archive (
56+     maybe (
57+         http_archive ,
5758        name  =  "rules_cc" ,
58-         urls  =  ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" ],
59-         sha256  =  "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf" ,
60-         strip_prefix  =  "rules_cc-0.0.9" ,
59+         sha256  =  "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80" ,
60+         strip_prefix  =  "rules_cc-0.0.13" ,
61+         urls  =  ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz" ],
62+     )
63+     maybe (
64+         http_archive ,
65+         name  =  "protobuf" ,
66+         sha256  =  "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa" ,
67+         strip_prefix  =  "protobuf-27.0" ,
68+         url  =  "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz" ,
6169    )
6270    pypi_deps ()
Original file line number Diff line number Diff line change 1- load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
2- 
3- http_archive (
4-     name  =  "protobuf" ,
5-     sha256  =  "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa" ,
6-     strip_prefix  =  "protobuf-27.0" ,
7-     url  =  "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz" ,
8- )
9- 
10- http_archive (
11-     name  =  "rules_cc" ,
12-     sha256  =  "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80" ,
13-     strip_prefix  =  "rules_cc-0.0.13" ,
14-     urls  =  ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz" ],
15- )
16- 
171local_repository (
182    name  =  "rules_python" ,
193    path  =  "../../.." ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments