sigstore / protobuf-specs

Protocol Buffer specifications
Apache License 2.0
22 stars 26 forks source link

Fails to install with uv #288

Open jku opened 2 months ago

jku commented 2 months ago

https://github.com/astral-sh/uv currently fails to install protobuf-specs: https://github.com/theupdateframework/tuf-on-ci/issues/205

It's been about four years since 2.0.0b1 so waiting for betterproto to release might not be a good strategy. If we consider this important we could offer to do some work to the maintainer if that helps them make a release?

woodruffw commented 2 months ago

It's been about four years since 2.0.0b1 so waiting for betterproto to release might not be a good strategy. If we consider this important we could offer to do some work to the maintainer if that helps them make a release?

Yeah, this would be ideal -- I've sent a few patches upstream to betterproto (in particular, fixing the handling of the Struct WKT), but I don't know how close they are to a stable 2.0 release.

(In particular, I still need to complete the fix in https://github.com/danielgtaylor/python-betterproto/pull/559, which I'm still slightly murky on.)

More generally though, prereleases are part of PEP 440 and uv should support them, at least when fully pinned (e.g. protobuf-specs==2.0.0b6). So I think it might also be good to prod uv into finishing their prerelease support 🙂