• Kyle Morgenstein's avatar
    Adds uv support as an alternative to conda in isaaclab.sh (#3172) · d5d57112
    Kyle Morgenstein authored
    # Description
    
    This PR adds support for uv as an alternative to conda or venv for
    managing virtual environments and adds corresponding support for uv pip
    for managing python dependencies. uv and uv pip is significantly faster
    than conda and has many useful tools.
    
    If users wish to use the uv workflow they will need to have uv
    installed, but otherwise no additional dependencies are added.
    
    Docs should be updated to describe this option. There may need to be
    more work done to clean when deactivating the environment. Uv does not
    support pre and post activation hooks like conda so cleaning up the
    environment variables is slightly more tricky. I would greatly
    appreciate feedback to improve this workflow!
    
    Fixes #3408
    
    ## Type of change
    
    - New feature (non-breaking change which adds functionality)
    - This change requires a documentation update
    
    
    ## Checklist
    
    - [X] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./isaaclab.sh --format`
    - [x] I have made corresponding changes to the documentation
    - [X] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [X] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    
    ---------
    Signed-off-by: 's avatarKyle Morgenstein <34984693+KyleM73@users.noreply.github.com>
    Signed-off-by: 's avatarMayank Mittal <12863862+Mayankm96@users.noreply.github.com>
    Co-authored-by: 's avatarMayank Mittal <12863862+Mayankm96@users.noreply.github.com>
    d5d57112
isaaclab.sh 26.9 KB