Add PEP 723 dependencies to tfdoc.py, versions.py and build_service_agents.py (#3203)

This commit is contained in:
Julio Castillo
2025-06-28 20:48:07 +02:00
committed by GitHub
parent 4a53e72c03
commit 64c43ea417
4 changed files with 36 additions and 1 deletions

View File

@@ -634,6 +634,8 @@ pip install -r tests/requirements.txt
pip install -r tools/requirements.txt
```
Some of our tools declare their dependencies in a [PEP 723-style](https://peps.python.org/pep-0723/) format, allowing you to execute them directly with `uv run`. For instance, `tools/tfdoc.py` includes its dependencies inline. As a result, when you run `uv run tools/tfdoc.py`, `uv` will automatically download the necessary dependencies for you.
#### Automated checks on PRs
We run two GitHub workflows on PRs: