uv
72d9361c - fix handling of `--all-groups` and `--no-default-groups` flags (#11224)

Comment changes are shownComment changes are hidden
Commit
129 days ago
fix handling of `--all-groups` and `--no-default-groups` flags (#11224) This is a rewrite of the groups subsystem to have more clear semantics, and some adjustments to the CLI flag constraints. In doing so, the following bugs are fixed: * `--no-default-groups --no-group foo` is no longer needlessly rejected * `--all-groups --no-default-groups` now correctly evaluates to `--all-groups` where previously it was erroneously being interpretted as just `--no-default-groups` * `--all-groups --only-dev` is now illegal, where previously it was accepted and mishandled, as if it was a mythical `--only-all-groups` flag Fixes #10890 Closes #10891
Author
Parents
  • crates
    • uv-cli/src
      • File
        lib.rs
    • uv-configuration/src
      • File
        dev.rs
    • uv-requirements/src
      • File
        source_tree.rs
    • uv
      • src/commands
        • pip
          • File
            operations.rs
        • project
          • File
            add.rs
          • File
            mod.rs
          • File
            remove.rs
          • File
            run.rs
      • tests/it
        • common
          • File
            mod.rs
        • File
          run.rs
        • File
          show_settings.rs
        • File
          sync.rs