mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 02:48:17 +00:00
temporarily disable new uv pip dependency-group flags (#10909)
We'll probably end up shipping but we were moving ahead with this on the basis that pip may not even ship this, so let's play it safe and wait for a bit.
This commit is contained in:
parent
86f2f16d05
commit
c05aca61db
8 changed files with 5 additions and 1064 deletions
|
@ -5492,12 +5492,6 @@ uv pip compile [OPTIONS] <SRC_FILE>...
|
|||
|
||||
<p>Only applies to <code>pyproject.toml</code>, <code>setup.py</code>, and <code>setup.cfg</code> sources.</p>
|
||||
|
||||
</dd><dt><code>--all-groups</code></dt><dd><p>Include dependencies from all dependency groups.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p><code>--no-group</code> can be used to exclude specific groups.</p>
|
||||
|
||||
</dd><dt><code>--allow-insecure-host</code> <i>allow-insecure-host</i></dt><dd><p>Allow insecure connections to a host.</p>
|
||||
|
||||
<p>Can be provided multiple times.</p>
|
||||
|
@ -5622,12 +5616,6 @@ uv pip compile [OPTIONS] <SRC_FILE>...
|
|||
</ul>
|
||||
</dd><dt><code>--generate-hashes</code></dt><dd><p>Include distribution hashes in the output file</p>
|
||||
|
||||
</dd><dt><code>--group</code> <i>group</i></dt><dd><p>Include dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
|
||||
|
||||
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
|
||||
|
@ -5727,12 +5715,6 @@ uv pip compile [OPTIONS] <SRC_FILE>...
|
|||
|
||||
</dd><dt><code>--no-emit-package</code> <i>no-emit-package</i></dt><dd><p>Specify a package to omit from the output resolution. Its dependencies will still be included in the resolution. Equivalent to pip-compile’s <code>--unsafe-package</code> option</p>
|
||||
|
||||
</dd><dt><code>--no-group</code> <i>no-group</i></dt><dd><p>Exclude dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--no-header</code></dt><dd><p>Exclude the comment header at the top of the generated output file</p>
|
||||
|
||||
</dd><dt><code>--no-index</code></dt><dd><p>Ignore the registry index (e.g., PyPI), instead relying on direct URL dependencies and those provided via <code>--find-links</code></p>
|
||||
|
@ -5765,14 +5747,6 @@ uv pip compile [OPTIONS] <SRC_FILE>...
|
|||
|
||||
<p>Multiple packages may be provided. Disable binaries for all packages with <code>:all:</code>. Clear previously specified packages with <code>:none:</code>.</p>
|
||||
|
||||
</dd><dt><code>--only-group</code> <i>only-group</i></dt><dd><p>Only include dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>The project itself will also be omitted.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--output-file</code>, <code>-o</code> <i>output-file</i></dt><dd><p>Write the compiled requirements to the given <code>requirements.txt</code> file.</p>
|
||||
|
||||
<p>If the file already exists, the existing versions will be preferred when resolving dependencies, unless <code>--upgrade</code> is also specified.</p>
|
||||
|
@ -6396,12 +6370,6 @@ uv pip install [OPTIONS] <PACKAGE|--requirements <REQUIREMENTS>|--editable <EDIT
|
|||
|
||||
<p>Only applies to <code>pyproject.toml</code>, <code>setup.py</code>, and <code>setup.cfg</code> sources.</p>
|
||||
|
||||
</dd><dt><code>--all-groups</code></dt><dd><p>Include dependencies from all dependency groups.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p><code>--no-group</code> can be used to exclude specific groups.</p>
|
||||
|
||||
</dd><dt><code>--allow-insecure-host</code> <i>allow-insecure-host</i></dt><dd><p>Allow insecure connections to a host.</p>
|
||||
|
||||
<p>Can be provided multiple times.</p>
|
||||
|
@ -6520,12 +6488,6 @@ uv pip install [OPTIONS] <PACKAGE|--requirements <REQUIREMENTS>|--editable <EDIT
|
|||
|
||||
<li><code>requires-python</code>: Optimize for selecting latest supported version of each package, for each supported Python version</li>
|
||||
</ul>
|
||||
</dd><dt><code>--group</code> <i>group</i></dt><dd><p>Include dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
|
||||
|
||||
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
|
||||
|
@ -6624,12 +6586,6 @@ uv pip install [OPTIONS] <PACKAGE|--requirements <REQUIREMENTS>|--editable <EDIT
|
|||
<p>May also be set with the <code>UV_NO_CONFIG</code> environment variable.</p>
|
||||
</dd><dt><code>--no-deps</code></dt><dd><p>Ignore package dependencies, instead only installing those packages explicitly listed on the command line or in the requirements files</p>
|
||||
|
||||
</dd><dt><code>--no-group</code> <i>no-group</i></dt><dd><p>Exclude dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--no-index</code></dt><dd><p>Ignore the registry index (e.g., PyPI), instead relying on direct URL dependencies and those provided via <code>--find-links</code></p>
|
||||
|
||||
</dd><dt><code>--no-progress</code></dt><dd><p>Hide all progress outputs.</p>
|
||||
|
@ -6657,14 +6613,6 @@ uv pip install [OPTIONS] <PACKAGE|--requirements <REQUIREMENTS>|--editable <EDIT
|
|||
|
||||
<p>Multiple packages may be provided. Disable binaries for all packages with <code>:all:</code>. Clear previously specified packages with <code>:none:</code>.</p>
|
||||
|
||||
</dd><dt><code>--only-group</code> <i>only-group</i></dt><dd><p>Only include dependencies from the specified dependency group.</p>
|
||||
|
||||
<p>The project itself will also be omitted.</p>
|
||||
|
||||
<p>Only applies to <code>pyproject.toml</code> sources.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--overrides</code> <i>overrides</i></dt><dd><p>Override versions using the given requirements files.</p>
|
||||
|
||||
<p>Overrides files are <code>requirements.txt</code>-like files that force a specific version of a requirement to be installed, regardless of the requirements declared by any constituent package, and regardless of whether this would be considered an invalid resolution.</p>
|
||||
|
|
|
@ -1692,34 +1692,6 @@ Only applies to `pyproject.toml`, `setup.py`, and `setup.cfg` sources.
|
|||
|
||||
---
|
||||
|
||||
#### [`all-groups`](#pip_all-groups) {: #pip_all-groups }
|
||||
<span id="all-groups"></span>
|
||||
|
||||
Include all groups.
|
||||
|
||||
Only applies to `pyproject.toml` sources.
|
||||
|
||||
**Default value**: `false`
|
||||
|
||||
**Type**: `bool`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "pyproject.toml"
|
||||
|
||||
```toml
|
||||
[tool.uv.pip]
|
||||
all-groups = true
|
||||
```
|
||||
=== "uv.toml"
|
||||
|
||||
```toml
|
||||
[pip]
|
||||
all-groups = true
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### [`allow-empty-requirements`](#pip_allow-empty-requirements) {: #pip_allow-empty-requirements }
|
||||
<span id="allow-empty-requirements"></span>
|
||||
|
||||
|
@ -2266,34 +2238,6 @@ Include distribution hashes in the output file.
|
|||
|
||||
---
|
||||
|
||||
#### [`group`](#pip_group) {: #pip_group }
|
||||
<span id="group"></span>
|
||||
|
||||
Include optional dependencies from the specified group; may be provided more than once.
|
||||
|
||||
Only applies to `pyproject.toml` sources.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
||||
**Type**: `list[str]`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "pyproject.toml"
|
||||
|
||||
```toml
|
||||
[tool.uv.pip]
|
||||
group = ["dev", "docs"]
|
||||
```
|
||||
=== "uv.toml"
|
||||
|
||||
```toml
|
||||
[pip]
|
||||
group = ["dev", "docs"]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### [`index-strategy`](#pip_index-strategy) {: #pip_index-strategy }
|
||||
<span id="index-strategy"></span>
|
||||
|
||||
|
@ -2655,34 +2599,6 @@ Exclude the specified optional dependencies if `all-extras` is supplied.
|
|||
|
||||
---
|
||||
|
||||
#### [`no-group`](#pip_no-group) {: #pip_no-group }
|
||||
<span id="no-group"></span>
|
||||
|
||||
Exclude optional dependencies from the specified group if `all-groups` are supplied
|
||||
|
||||
Only applies to `pyproject.toml` sources.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
||||
**Type**: `list[str]`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "pyproject.toml"
|
||||
|
||||
```toml
|
||||
[tool.uv.pip]
|
||||
no-group = ["dev", "docs"]
|
||||
```
|
||||
=== "uv.toml"
|
||||
|
||||
```toml
|
||||
[pip]
|
||||
no-group = ["dev", "docs"]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### [`no-header`](#pip_no-header) {: #pip_no-header }
|
||||
<span id="no-header"></span>
|
||||
|
||||
|
@ -2856,34 +2772,6 @@ Clear previously specified packages with `:none:`.
|
|||
|
||||
---
|
||||
|
||||
#### [`only-group`](#pip_only-group) {: #pip_only-group }
|
||||
<span id="only-group"></span>
|
||||
|
||||
Exclude only dependencies from the specified group.
|
||||
|
||||
Only applies to `pyproject.toml` sources.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
||||
**Type**: `list[str]`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "pyproject.toml"
|
||||
|
||||
```toml
|
||||
[tool.uv.pip]
|
||||
only-group = ["dev", "docs"]
|
||||
```
|
||||
=== "uv.toml"
|
||||
|
||||
```toml
|
||||
[pip]
|
||||
only-group = ["dev", "docs"]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### [`output-file`](#pip_output-file) {: #pip_output-file }
|
||||
<span id="output-file"></span>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue