File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,8 @@ use_repo(
3737rules_python_config  =  use_extension (
3838    "//python/extensions:config.bzl" ,
3939    "rules_python_config" ,
40-     dev_dependency  =  True ,
4140)
4241use_repo (rules_python_config , "rules_python_config" )
43- rules_python_config .add_transition_setting (
44-     # Intentionally add a setting already present for testing 
45-     setting  =  "//python/config_settings:python_version" ,
46- )
47- rules_python_config .add_transition_setting (
48-     setting  =  "//tests/multi_pypi:external_deps_name" ,
49- )
5042
5143# We need to do another use_extension call to expose the "pythons_hub" 
5244# repo. 
@@ -232,6 +224,19 @@ use_repo(
232224    "whl_with_build_files" ,
233225)
234226
227+ dev_rules_python_config  =  use_extension (
228+     "//python/extensions:config.bzl" ,
229+     "rules_python_config" ,
230+     dev_dependency  =  True ,
231+ )
232+ dev_rules_python_config .add_transition_setting (
233+     # Intentionally add a setting already present for testing 
234+     setting  =  "//python/config_settings:python_version" ,
235+ )
236+ dev_rules_python_config .add_transition_setting (
237+     setting  =  "//tests/multi_pypi:external_deps_name" ,
238+ )
239+ 
235240# Add gazelle plugin so that we can run the gazelle example as an e2e integration 
236241# test and include the distribution files. 
237242local_path_override (
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments