python
config_error
ai_generated
true
UserWarning: Usage of dash-separated 'description' will not be supported in future versions. Please use underscore-separated 'description' instead.
ID: python/setuptools-dependency-links-deprecated
80%Fix Rate
80%Confidence
0Evidence
2024-05-25First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
Root Cause
setup.py uses deprecated parameter names like 'description' instead of 'description', or other outdated setuptools APIs.
generic中文
setup.py使用了已弃用的参数名,如'description'而不是'description',或其他过时的setuptools API。
Workarounds
-
95% success
Update setup.py to use underscore-separated parameters: `description='...'`.
-
90% success
Use setup.cfg with proper keys: `[metadata] description = ...`.
-
70% success
Run `python -m pip install --upgrade setuptools` and then fix any remaining warnings.
Dead Ends
Common approaches that don't work:
-
40% fail
Future setuptools versions will break; the warning is a sign of impending failure.
-
50% fail
This may cause conflicts or warnings; better to migrate fully.
-
80% fail
This is the opposite direction; dash-separated is being deprecated.