{
  "id": "python/setuptools-dependency-links-deprecated",
  "signature": "UserWarning: Usage of dash-separated 'description' will not be supported in future versions. Please use underscore-separated 'description' instead.",
  "signature_zh": "用户警告：使用连字符分隔的'description'将不再支持，请改用下划线分隔的'description'。",
  "regex": "UserWarning:\\ Usage\\ of\\ dash\\-separated\\ 'description'\\ will\\ not\\ be\\ supported\\ in\\ future\\ versions\\.\\ Please\\ use\\ underscore\\-separated\\ 'description'\\ instead\\.",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "setup.py uses deprecated parameter names like 'description' instead of 'description', or other outdated setuptools APIs.",
  "root_cause_type": "generic",
  "root_cause_zh": "setup.py使用了已弃用的参数名，如'description'而不是'description'，或其他过时的setuptools API。",
  "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Future setuptools versions will break; the warning is a sign of impending failure.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This may cause conflicts or warnings; better to migrate fully.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This is the opposite direction; dash-separated is being deprecated.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Update setup.py to use underscore-separated parameters: `description='...'`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Use setup.cfg with proper keys: `[metadata] description = ...`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.7,
      "how": "Run `python -m pip install --upgrade setuptools` and then fix any remaining warnings.",
      "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.8,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-05-25",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}