{
  "id": "python/pip-frozen-requirements-out-of-date",
  "signature": "ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:\n    requests>=2.0",
  "signature_zh": "错误：在 --require-hashes 模式下，所有需求必须使用 == 固定版本。以下需求未固定：\n    requests>=2.0",
  "regex": "ERROR:\\ In\\ \\-\\-require\\-hashes\\ mode,\\ all\\ requirements\\ must\\ have\\ their\\ versions\\ pinned\\ with\\ ==\\.\\ These\\ do\\ not:\\\n\\ \\ \\ \\ requests>=2\\.0",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Hash-checking mode requires every requirement to be pinned to an exact version with `==` and accompanied by `--hash` entries.",
  "root_cause_type": "generic",
  "root_cause_zh": "哈希校验模式要求每个需求都使用 `==` 固定到确切版本，并附带 `--hash` 条目。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Disables supply-chain integrity verification for the whole environment.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Hashes must match the exact artifact pip downloads; manual entry is error-prone and often wrong.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Does not satisfy the hash requirement for the top-level package.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install pip-tools && pip-compile --generate-hashes --allow-unsafe requirements.in",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip-compile --generate-hashes requirements.in  # then pip install --require-hashes -r requirements.txt",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-10-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}