# 用户警告：使用连字符分隔的'description'将不再支持，请改用下划线分隔的'description'。

- **ID:** `python/setuptools-dependency-links-deprecated`
- **领域:** python
- **类别:** config_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

setup.py使用了已弃用的参数名，如'description'而不是'description'，或其他过时的setuptools API。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |

## 解决方案

1. **** (95% 成功率)
   ```
   Update setup.py to use underscore-separated parameters: `description='...'`.
   ```
2. **** (90% 成功率)
   ```
   Use setup.cfg with proper keys: `[metadata] description = ...`.
   ```
3. **** (70% 成功率)
   ```
   Run `python -m pip install --upgrade setuptools` and then fix any remaining warnings.
   ```

## 无效尝试

- **** — Future setuptools versions will break; the warning is a sign of impending failure. (40% 失败率)
- **** — This may cause conflicts or warnings; better to migrate fully. (50% 失败率)
- **** — This is the opposite direction; dash-separated is being deprecated. (80% 失败率)
