mirror of https://github.com/astral-sh/uv
Fix generated file change (#13957)
Regressed in https://github.com/astral-sh/uv/pull/13620 ref failure at https://github.com/astral-sh/uv/actions/runs/15570991822/job/43846587900?pr=13956
This commit is contained in:
parent
21986c3fc9
commit
4c877b7dc6
|
|
@ -1491,7 +1491,7 @@ pub struct PipSyncArgs {
|
||||||
/// Hash-checking mode introduces a number of additional constraints:
|
/// Hash-checking mode introduces a number of additional constraints:
|
||||||
///
|
///
|
||||||
/// - Git dependencies are not supported.
|
/// - Git dependencies are not supported.
|
||||||
/// - Editable installs are not supported.
|
/// - Editable installations are not supported.
|
||||||
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
||||||
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|
@ -1801,7 +1801,7 @@ pub struct PipInstallArgs {
|
||||||
/// Hash-checking mode introduces a number of additional constraints:
|
/// Hash-checking mode introduces a number of additional constraints:
|
||||||
///
|
///
|
||||||
/// - Git dependencies are not supported.
|
/// - Git dependencies are not supported.
|
||||||
/// - Editable installs are not supported.
|
/// - Editable installations are not supported.
|
||||||
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
||||||
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|
@ -2471,7 +2471,7 @@ pub struct BuildArgs {
|
||||||
/// Hash-checking mode introduces a number of additional constraints:
|
/// Hash-checking mode introduces a number of additional constraints:
|
||||||
///
|
///
|
||||||
/// - Git dependencies are not supported.
|
/// - Git dependencies are not supported.
|
||||||
/// - Editable installs are not supported.
|
/// - Editable installations are not supported.
|
||||||
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
||||||
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|
|
||||||
|
|
@ -1495,7 +1495,7 @@ pub struct PipOptions {
|
||||||
/// Hash-checking mode introduces a number of additional constraints:
|
/// Hash-checking mode introduces a number of additional constraints:
|
||||||
///
|
///
|
||||||
/// - Git dependencies are not supported.
|
/// - Git dependencies are not supported.
|
||||||
/// - Editable installs are not supported.
|
/// - Editable installations are not supported.
|
||||||
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
/// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or
|
||||||
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
/// source archive (`.zip`, `.tar.gz`), as opposed to a directory.
|
||||||
#[option(
|
#[option(
|
||||||
|
|
|
||||||
|
|
@ -3550,7 +3550,7 @@ be used with caution, as it can modify the system Python installation.</p>
|
||||||
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
||||||
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Git dependencies are not supported. - Editable installs are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
<li>Git dependencies are not supported. - Editable installations are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-pip-sync--strict"><a href="#uv-pip-sync--strict"><code>--strict</code></a></dt><dd><p>Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues</p>
|
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-pip-sync--strict"><a href="#uv-pip-sync--strict"><code>--strict</code></a></dt><dd><p>Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues</p>
|
||||||
</dd><dt id="uv-pip-sync--system"><a href="#uv-pip-sync--system"><code>--system</code></a></dt><dd><p>Install packages into the system Python environment.</p>
|
</dd><dt id="uv-pip-sync--system"><a href="#uv-pip-sync--system"><code>--system</code></a></dt><dd><p>Install packages into the system Python environment.</p>
|
||||||
|
|
@ -3814,7 +3814,7 @@ should be used with caution, as it can modify the system Python installation.</p
|
||||||
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
||||||
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Git dependencies are not supported. - Editable installs are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
<li>Git dependencies are not supported. - Editable installations are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-pip-install--requirements"><a href="#uv-pip-install--requirements"><code>--requirements</code></a>, <code>--requirement</code>, <code>-r</code> <i>requirements</i></dt><dd><p>Install all packages listed in the given <code>requirements.txt</code> or <code>pylock.toml</code> files.</p>
|
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-pip-install--requirements"><a href="#uv-pip-install--requirements"><code>--requirements</code></a>, <code>--requirement</code>, <code>-r</code> <i>requirements</i></dt><dd><p>Install all packages listed in the given <code>requirements.txt</code> or <code>pylock.toml</code> files.</p>
|
||||||
<p>If a <code>pyproject.toml</code>, <code>setup.py</code>, or <code>setup.cfg</code> file is provided, uv will extract the requirements for the relevant project.</p>
|
<p>If a <code>pyproject.toml</code>, <code>setup.py</code>, or <code>setup.cfg</code> file is provided, uv will extract the requirements for the relevant project.</p>
|
||||||
|
|
@ -4676,7 +4676,7 @@ the platform.</p>
|
||||||
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
<p>When <code>--require-hashes</code> is enabled, <em>all</em> requirements must include a hash or set of hashes, and <em>all</em> requirements must either be pinned to exact versions (e.g., <code>==1.0.0</code>), or be specified via direct URL.</p>
|
||||||
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
<p>Hash-checking mode introduces a number of additional constraints:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Git dependencies are not supported. - Editable installs are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
<li>Git dependencies are not supported. - Editable installations are not supported. - Local dependencies are not supported, unless they point to a specific wheel (<code>.whl</code>) or source archive (<code>.zip</code>, <code>.tar.gz</code>), as opposed to a directory.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-build--resolution"><a href="#uv-build--resolution"><code>--resolution</code></a> <i>resolution</i></dt><dd><p>The strategy to use when selecting between the different compatible versions for a given package requirement.</p>
|
<p>May also be set with the <code>UV_REQUIRE_HASHES</code> environment variable.</p></dd><dt id="uv-build--resolution"><a href="#uv-build--resolution"><code>--resolution</code></a> <i>resolution</i></dt><dd><p>The strategy to use when selecting between the different compatible versions for a given package requirement.</p>
|
||||||
<p>By default, uv will use the latest compatible version of each package (<code>highest</code>).</p>
|
<p>By default, uv will use the latest compatible version of each package (<code>highest</code>).</p>
|
||||||
|
|
|
||||||
|
|
@ -1498,7 +1498,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require-hashes": {
|
"require-hashes": {
|
||||||
"description": "Require a matching hash for each requirement.\n\nHash-checking mode is all or nothing. If enabled, _all_ requirements must be provided with a corresponding hash or set of hashes. Additionally, if enabled, _all_ requirements must either be pinned to exact versions (e.g., `==1.0.0`), or be specified via direct URL.\n\nHash-checking mode introduces a number of additional constraints:\n\n- Git dependencies are not supported. - Editable installs are not supported. - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or source archive (`.zip`, `.tar.gz`), as opposed to a directory.",
|
"description": "Require a matching hash for each requirement.\n\nHash-checking mode is all or nothing. If enabled, _all_ requirements must be provided with a corresponding hash or set of hashes. Additionally, if enabled, _all_ requirements must either be pinned to exact versions (e.g., `==1.0.0`), or be specified via direct URL.\n\nHash-checking mode introduces a number of additional constraints:\n\n- Git dependencies are not supported. - Editable installations are not supported. - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or source archive (`.zip`, `.tar.gz`), as opposed to a directory.",
|
||||||
"type": [
|
"type": [
|
||||||
"boolean",
|
"boolean",
|
||||||
"null"
|
"null"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue