azd detects pyproject.toml and installs Python projects
Introduced 2026-02-28 · score 0.93
HOW TO USE IT
If the Python project has `pyproject.toml`, azd detects it and uses `pip install .` when restoring the project for build or deployment. When both `pyproject.toml` and `requirements.txt` exist, `pyproject.toml` takes priority.
pip install .WHY THIS HELPS
Prepare a Python project with modern packaging for azd build or deployment.
BEFORE THIS CHANGE
Before this change, azd detected Python projects through `requirements.txt` and restored them with `pip install -r requirements.txt`.
REQUIREMENTS AND LIMITATIONS
- Version: 1.23.7
- Prerequisite: Requires azd 1.23.7 or later for this detection and install support.
- Applies to Python projects using modern project packaging.
FIRST-PARTY EVIDENCE
- https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.7
- https://github.com/Azure/azure-dev/pull/6848
Check the installed version and the source before using it. Entry JSON