{
  "id": "python/pip-python-version-not-supported",
  "signature": "ERROR: Package 'somepkg' requires a different Python: 3.13.0 not in '<3.13,>=3.8'",
  "signature_zh": "错误：包 'somepkg' 需要不同的 Python 版本：3.13.0 不在 '<3.13,>=3.8' 范围内",
  "regex": "ERROR:\\ Package\\ 'somepkg'\\ requires\\ a\\ different\\ Python:\\ 3\\.13\\.0\\ not\\ in\\ '<3\\.13,>=3\\.8'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package has not yet been tested or built against the newest Python release and explicitly excludes it in metadata.",
  "root_cause_type": "generic",
  "root_cause_zh": "该包尚未针对最新 Python 版本进行测试或构建，并在元数据中明确排除了该版本。",
  "versions": [
    {
      "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"
    },
    {
      "version": "3.13",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Installs untested code that may fail due to removed stdlib APIs or C-extension ABI changes.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "requires-python enforcement predates most pip versions.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Bypasses the maintainer's compatibility guarantee and is overwritten on upgrade.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pyenv install 3.12.7 && pyenv local 3.12.7 && pip install <package>",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.6,
      "how": "pip install --pre <package>",
      "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.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-05-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}