| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Build tools like uv re-run setup.py at install time without the packageVersion env var, causing the version to fall back to 4.15.0 instead of the published version. This makes uv's metadata check fail: "Package metadata version 4.15.0 does not match given version X.Y.Z". Fall back to reading PKG-INFO (present in the extracted sdist root) so any build tool gets the correct version without needing packageVersion. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Problem
Build tools like uv re-run setup.py at install time without the packageVersion env var set. This causes about.py to fall back to 4.15.0, making uv's metadata consistency check fail:
Poetry avoids this because it trusts the PKG-INFO already embedded in the tarball. uv (and pip 24+) re-evaluate setup.py and catch the mismatch.
Fix
When packageVersion is absent, fall back to reading the Version field from PKG-INFO in the sdist root. That file is always present in the extracted sdist and contains the correct published version.
Affected packages
After merge
Once the new version is published to fury, remove the packageVersion=1.0.21 workaround from mappedgpt-bot Dockerfile and the [[tool.uv.dependency-metadata]] entries from pyproject.toml.
🤖 Generated with Claude Code