Open joshuagl opened 9 months ago
https://github.com/sigstore/protobuf-specs/blob/main/gen/pb-python/pyproject.toml#L28C18-L28C38
Looks like pip is fine with installing a beta release when protobuf-specs explicitly depends on it but uv is not cool with it. Not sure what uv needs --prerelease=allow
for when the dependency is a specific version. But I also recognise that prereleases are a nightmare so probably no decision is good for every case:
Pre-releases are notoriously difficult to model, and are a frequent source of bugs in other packaging tools. uv's pre-release handling is intentionally limited and intentionally requires user intervention to opt in to pre-releases to ensure correctness, though pre-release handling will be revisited in future releases.
Based on the readme it might also work if we explicitly depended on betterproto>=2.0.0b6
but that feels like a hack to
I tried to install tuf-on-ci-sign with uv into a uv created venv and ran into an error: