- Santa #Python came super early in 2026! With build 1.4.0, it is now possible to easily dump effective package metadata! So getting the version of a package in the current directory is now as easy as `pipx run build --metadata 2>/dev/null | jq -r .version`. github.com/pypa/build/r...Jan 9, 2026 05:55
- This is NOT like parsing pyproject.toml or whatever. It builds the package and looks at the result. So it works even with setup.py. If you're in a hurry: `uvx --from build pyproject-build --installer=uv --metadata 2>/dev/null | jq -r .version`