On Thu, 2025-06-05 at 15:49 +0100, Dom Rodriguez wrote:
> Hi,
>
[...]
>
> 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.
Hi Dom,
This is a bit unfortunate, but I think it is not a show stopper.
My thoughts are that:
* Python dependencies regularly misbehave, and while we try to keep
dependencies to a minimum, it is difficult to find a vector of
compatible versions which work together on all supported python
versions (currently 3.9 to 3.13).
* I don't think we can reasonably make a guarantee that BuildStream
can be installed into a host python environment on any/every fairly
recent distribution version, although it is often the case that it
does and we do try.
* This issue can be fixed in a follow up 2.5.x release, without
affecting BuildStream's API stability guarantees.
Cheers,
-Tristan