buildstream: 2.4.1 -> 2.5.0

Applied two patches from upstream repository for Buildstrream, to fix
the Protobuf runtime warnings, and dependency constraints.

These patches can be removed once Buildstream v2.6.0 is released.
This commit is contained in:
Dom Rodriguez
2025-08-20 17:51:51 +00:00
parent c92a45873d
commit c0d7f1f4ae
+16 -2
View File
@@ -2,6 +2,7 @@
lib,
python3Packages,
fetchFromGitHub,
fetchpatch,
# buildInputs
buildbox,
@@ -20,16 +21,28 @@
python3Packages.buildPythonApplication rec {
pname = "buildstream";
version = "2.4.1";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "apache";
repo = "buildstream";
tag = version;
hash = "sha256-6a0VzYO5yj7EHvAb0xa4xZ0dgBKjFcwKv2F4o93oahY=";
hash = "sha256-/kGmAHx10//iVeqLXwcIWNI9FGIi0LlNJW+s6v0yU3Q=";
};
# FIXME: To be removed in v2.6.0 of Buildstream.
patches = [
(fetchpatch {
url = "https://github.com/apache/buildstream/commit/9c4378ab2ec71b6b79ef90ee4bd950dd709a0310.patch?full_index=1";
hash = "sha256-po3Dn7gCv7o7h3k8qhmoH/b6Vv6ikKO/pkA20RvdU1g=";
})
(fetchpatch {
url = "https://github.com/apache/buildstream/commit/456a464b2581c52cad2b0b48596f5c19ad1db23f.patch?full_index=1";
hash = "sha256-0oFENx4AUhd1uJxRzbKzO5acGDosCc4vFJaSJ6urvhk=";
})
];
build-system = with python3Packages; [
cython
pdm-pep517
@@ -104,6 +117,7 @@ python3Packages.buildPythonApplication rec {
"test_source_pull_partial_fallback_fetch"
# FAILED tests/sources/tar.py::test_out_of_basedir_hardlinks - AssertionError
# FIXME: To be removed in v2.6.0 of Buildstream.
"test_out_of_basedir_hardlinks"
];