# error: Invalid version string: '1.0.0-beta'

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

## Root Cause

Setuptools uses PEP 440 versioning; '1.0.0-beta' is not compliant; should be '1.0.0b1'.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8 | active | — | — |

## Workarounds

1. **Use PEP 440 compliant version** (95% success)
   ```
   version='1.0.0b1'
   ```
2. **Use setuptools_scm for automatic versioning** (90% success)
   ```
   pip install setuptools_scm
# setup.py
setup(use_scm_version=True)
   ```

## Dead Ends

- **Using '1.0.0-beta1'** — Still not PEP 440 compliant; hyphen not allowed for pre-releases. (80% fail)
- **Removing pre-release label entirely** — Loses version semantics; may cause confusion. (60% fail)
