Rename "Dependency specifiers" section to exclude PEP 508 reference (#14631)

This commit is contained in:
Zanie Blue 2025-07-15 12:55:57 -05:00 committed by GitHub
parent d2c81e503f
commit c226d66f35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -808,12 +808,12 @@ Or, to opt-out of using an editable dependency in a workspace:
$ uv add --no-editable ./path/foo $ uv add --no-editable ./path/foo
``` ```
## Dependency specifiers (PEP 508) ## Dependency specifiers
uv uses uv uses standard
[dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/), [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/),
previously known as [PEP 508](https://peps.python.org/pep-0508/). A dependency specifier is composed originally defined in [PEP 508](https://peps.python.org/pep-0508/). A dependency specifier is
of, in order: composed of, in order:
- The dependency name - The dependency name
- The extras you want (optional) - The extras you want (optional)

View File

@ -78,6 +78,8 @@ document$.subscribe(function () {
"concepts/projects/#building-projects": "concepts/projects/build/", "concepts/projects/#building-projects": "concepts/projects/build/",
"concepts/projects/#build-isolation": "concepts/projects/#build-isolation":
"concepts/projects/config/#build-isolation", "concepts/projects/config/#build-isolation",
"concepts/projects/dependencies/#dependency-specifiers-pep-508":
"concepts/projects/dependencies/#dependency-specifiers",
}; };
// The prefix for the site, see `site_dir` in `mkdocs.yml` // The prefix for the site, see `site_dir` in `mkdocs.yml`