{
  "slug": "azd-detects-pyproject-toml-and-installs-python-projects-7ebaa88de27e",
  "title": "azd detects pyproject.toml and installs Python projects",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-28T01:10:21.000Z",
  "announced_at": "2026-02-28T01:10:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "pip install ."
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Prepare a Python project with modern packaging for azd build or deployment.",
  "before": "Before this change, azd detected Python projects through `requirements.txt` and restored them with `pip install -r requirements.txt`.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.7",
    "https://github.com/Azure/azure-dev/pull/6848"
  ],
  "rank": 0.93033,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-53c3c74bdd98ac82-2:gate",
    "evidence_hash": "156d9ff89fd6cc310d33d1627808988d6205a9cf4d0236c0d047006df1cf569b"
  },
  "review": {
    "draft_hash": "62655bbfa4b0b56e8b50026a2c761071e6aa3823b8daf3f00fa60864094f7967",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.62 (>= 0.6 needed)."
  }
}
