Skip to content
Snippets Groups Projects
  • ilovezfs's avatar
    23a38e0f
    virtualenv_install_with_resources: select correct python · 23a38e0f
    ilovezfs authored
    `virtualenv_install_with_resources` will now attempt to guess the
    desired Python based on the active build options and based on the
    dependencies and requirements. When the situation is ambiguous (e.g.,
    `depends_on :python3` and `build.with? "python"` is true) raise
    `FormulaAmbiguousPythonError` unless `:using => "python"` or
    `:using => "python3"` has been passed to resolve the ambiguity.
    
    In most cases, this will allow
    
    ```
        virtualenv_create(libexec, "python3")
        virtualenv_install_with_resources
    ```
    
    to be changed to just
    
    ```
        virtualenv_install_with_resources
    ```
    23a38e0f
    History
    virtualenv_install_with_resources: select correct python
    ilovezfs authored
    `virtualenv_install_with_resources` will now attempt to guess the
    desired Python based on the active build options and based on the
    dependencies and requirements. When the situation is ambiguous (e.g.,
    `depends_on :python3` and `build.with? "python"` is true) raise
    `FormulaAmbiguousPythonError` unless `:using => "python"` or
    `:using => "python3"` has been passed to resolve the ambiguity.
    
    In most cases, this will allow
    
    ```
        virtualenv_create(libexec, "python3")
        virtualenv_install_with_resources
    ```
    
    to be changed to just
    
    ```
        virtualenv_install_with_resources
    ```
Code owners
Assign users and groups as approvers for specific file changes. Learn more.