File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -396,8 +396,7 @@ def create_py_info(
396396        implicit_pyc_files: {type}`depset[File]` Implicitly generated pyc files 
397397            that a binary can choose to include. 
398398        imports: depset of strings; the import path values to propagate. 
399-         venv_symlinks: {type}`list[tuple[str, str, str]]` tuples of 
400-             `(normalized_package_name, runfiles_path, site_packages_path)` for 
399+         venv_symlinks: {type}`list[VenvSymlinkEntry]` instances for 
401400            symlinks to create in the consuming binary's venv. 
402401
403402    Returns: 
Original file line number Diff line number Diff line change @@ -303,22 +303,6 @@ This field is currently unused in Bazel and may go away in the future.
303303
304304A depset with `topological` ordering. 
305305
306- 
307- Tuples of `(runfiles_path, site_packages_path)`. Where 
308- * `runfiles_path` is a runfiles-root relative path. It is the path that 
309-   has the code to make importable. If `None` or empty string, then it means 
310-   to not create a site packages directory with the `site_packages_path` 
311-   name. 
312- * `site_packages_path` is a path relative to the site-packages directory of 
313-   the venv for whatever creates the venv (typically py_binary). It makes 
314-   the code in `runfiles_path` available for import. Note that this 
315-   is created as a "raw" symlink (via `declare_symlink`). 
316- * `symlink_key` is a path which should be checked instead of the 
317-   `site_packages_path`. This is typically used for dist-info directories as 
318-   they include version in the filenames and we want to ensure that we can 
319-   replace the whole package and not have orphan .dist-info packages in the 
320-   virtual environment. 
321- 
322306:::{include} /_includes/experimental_api.md 
323307::: 
324308
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments