Skip to content

Commit cdd6de5

Browse files
authored
docs: Update dependencies.md (#12388)
<!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Fixes #12334 <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan <!-- How was it tested? -->
1 parent 15bf83c commit cdd6de5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/concepts/projects/dependencies.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Managing dependencies
22

3-
## Dependency tables
3+
## Dependency fields
44

5-
Dependencies of the project are defined in several tables:
5+
Dependencies of the project are defined in several fields:
66

77
- [`project.dependencies`](#project-dependencies): Published dependencies.
88
- [`project.optional-dependencies`](#optional-dependencies): Published optional dependencies, or
@@ -12,7 +12,7 @@ Dependencies of the project are defined in several tables:
1212

1313
!!! note
1414

15-
The `project.dependencies` and `project.optional-dependencies` tables can be used even if
15+
The `project.dependencies` and `project.optional-dependencies` fields can be used even if
1616
project isn't going to be published. `dependency-groups` are a recently standardized feature
1717
and may not be supported by all tools yet.
1818

@@ -27,7 +27,7 @@ To add a dependency:
2727
$ uv add httpx
2828
```
2929

30-
An entry will be added in the `project.dependencies` table:
30+
An entry will be added in the `project.dependencies` field:
3131

3232
```toml title="pyproject.toml" hl_lines="4"
3333
[project]
@@ -38,7 +38,7 @@ dependencies = ["httpx>=0.27.2"]
3838

3939
The [`--dev`](#development-dependencies), [`--group`](#dependency-groups), or
4040
[`--optional`](#optional-dependencies) flags can be used to add a dependencies to an alternative
41-
table.
41+
field.
4242

4343
The dependency will include a constraint, e.g., `>=0.27.2`, for the most recent, compatible version
4444
of the package. An alternative constraint can be provided:
@@ -48,7 +48,7 @@ $ uv add "httpx>=0.20"
4848
```
4949

5050
When adding a dependency from a source other than a package registry, uv will add an entry in the
51-
sources table. For example, when adding `httpx` from GitHub:
51+
sources field. For example, when adding `httpx` from GitHub:
5252

5353
```console
5454
$ uv add "httpx @ git+https://github.com/encode/httpx"

0 commit comments

Comments
 (0)