File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ write_to = "src/echr_extractor/_version.py" # Auto-generate version file
146146- Check that setuptools_scm is installed: ` pip install setuptools_scm `
147147- Verify pyproject.toml configuration is correct
148148
149+ ### "Local versions not allowed" error on PyPI?
150+ - ** Cause** : setuptools_scm was generating versions with local identifiers (e.g., ` 1.0.47+abc123 ` )
151+ - ** Solution** : The configuration now uses ` local_scheme = "no-local-version" ` to prevent this
152+ - ** Prevention** : Only build from clean, tagged commits (GitHub Actions now only runs on tags)
153+ - ** Manual fix** : Ensure working directory is clean before creating tags
154+
149155## 📚 Additional Resources
150156
151157- [ setuptools_scm Documentation] ( https://github.com/pypa/setuptools_scm )
You can’t perform that action at this time.
0 commit comments