Hello,

Le jeu. 5 juin 2025 à 15:50, Dom Rodriguez
<[email protected]> a écrit :
> Just a heads-up, but I think we'll have to think about this release
> once more - upon updating my NixOS build environment for bst
> 2.5.0.dev1, I got the following error in the Python runtime check phase
> of Nix:
>
> ```
> Checking runtime dependencies for 
> buildstream-2.5.0.dev1-cp312-cp312-linux_x86_64.whl
>     - protobuf<6.0dev,>=5.26.1 not satisfied by version 6.30.2
> ```
>
> I've pinpointed the trouble commit to SHA 839ea42c99.
>
> I could make a MR and update the `protobuf` dependency in
> `requirements.in`, but I'd like to make sure that I'm doing it
> correctly.

This was done on purpose. Technically, grpc does not yet support
protobuf 6.x. It still works, but outputs a lot of warnings when
starting which is quite annoying. For each protobuf "pb2" module that
buildstream imports (about a dozen), it says that protobuf is newer by
a major version and that it would break in the future. I'd rather have
a clear limitation on the dependency versions we support (and you're
free to ignore it or patch it away if you know what you're doing)
rather than have confused users complaining about the warning or about
buildstream not working with the latest protobuf.

I agree that it would have been better to discuss here first, but it
seemed like an obvious thing to do.

Cheers,

Abderrahim

Reply via email to