Hey,
On 09.06.2025 08:49, Abderrahim Kitouni wrote:
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.
Ack, and it's understandable.
I believe Javier has reported this on Fedora, as well, so it's not just
NixOS right now.
Is this something we can track in a bug report on Buildstream, and make
a new minor release when `grpc` supports Protobuf 6.x? I imagine we'd
need to bump those deps on Buildbox as well as Buildstream...
I can hold back the update on Nixpkgs when the auto bot gets round to
it; that's not an problem.
Best regards,
--
Dom Rodriguez (he/him)
Software Engineer
Codethink Ltd
Codethink delivers cutting edge open source design, development and
integration services.
https://codethink.co.uk