From d0088c1914b94981ef0bf189040096285ae6b1e7 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Fri, 2 Jan 2026 17:40:10 +0100 Subject: [PATCH] Clarify requirements file format in docs (#17284) Co-authored-by: William Woodruff --- docs/pip/dependencies.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/pip/dependencies.md b/docs/pip/dependencies.md index 0ee3ae477..9f9610fdd 100644 --- a/docs/pip/dependencies.md +++ b/docs/pip/dependencies.md @@ -38,10 +38,11 @@ more details on getting started with a `pyproject.toml`. ## Using `requirements.in` -It is also common to use a lightweight `requirements.txt` format to declare the dependencies for the -project. Each requirement is defined on its own line. Commonly, this file is called -`requirements.in` to distinguish it from `requirements.txt` which is used for the locked -dependencies. +It is also common to use a lightweight +[requirements file format](https://pip.pypa.io/en/stable/reference/requirements-file-format/) to +declare the dependencies for the project. Each requirement is defined on its own line. Commonly, +this file is called `requirements.in` to distinguish it from `requirements.txt` which is used for +the locked dependencies. To define dependencies in a `requirements.in` file: