# error: invalid version '1.0.dev0' (expected a version number like '1.0')

- **ID:** `python/setuptools-development-version-error`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

setuptools' version parser rejects certain pre-release formats when not using PEP 440 compliant versioning.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.5 | active | — | — |
| 3.6 | active | — | — |
| 3.7 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   In setup.py: version='1.0.dev0'  # actually PEP 440 allows this; ensure setuptools >= 40.8.0
   ```
2. **** (85% success)
   ```
   pip install --upgrade setuptools
   ```

## Dead Ends

- **** — Loses the dev marker and may confuse dependency resolution. (30% fail)
- **** — Deprecated and may cause other issues in modern environments. (70% fail)
