# ValueError: invalid version number '1.0.0-beta'

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

## Root Cause

The version string does not conform to PEP 440 versioning scheme.

## Version Compatibility

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

## Workarounds

1. **Use PEP 440 compliant version** (95% success)
   ```
   version='1.0.0b1'
   ```
2. **Use local version identifier** (80% success)
   ```
   version='1.0.0+build.1'
   ```

## Dead Ends

- **Removing the pre-release tag** — Loses version information. (40% fail)
- **Using underscores instead of hyphens** — Still invalid. (50% fail)
