public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/buildstream] main: Reapply "Rebuild autogenerated code from protos"
Date: Thu, 27 Aug 2026 12:29:25 GMT	[thread overview]
Message-ID: <178783376551.1.12765375124056671605.rpms-buildstream-2c3103841d82@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/buildstream
            Branch : main
            Commit : 2c3103841d823dc551d9fad608e9c1586b9bbd58
            Author : Javier Jardón <jjardon@gnome.org>
            Date   : 2026-08-27T13:26:12+01:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/buildstream/c/2c3103841d823dc551d9fad608e9c1586b9bbd58?branch=main

            Log:
            Reapply "Rebuild autogenerated code from protos"

Build fails with:
E   RuntimeError: The grpc package installed is at version 1.48.4,
but the generated code in build/bazel/remote/asset/v1/remote_asset_pb2_grpc.py depends on grpcio>=1.69.0.
Please upgrade your grpc module to grpcio>=1.69.0 or downgrade your generated code using grpcio-tools<=1.48.4.

This reverts commit bdf67cfe4edd3e246d925f36e85bd108ea15c8d9.

---
diff --git a/buildstream.spec b/buildstream.spec
index b525c19..2eeddb6 100644
--- a/buildstream.spec
+++ b/buildstream.spec
@@ -12,6 +12,7 @@ Source0:       https://github.com/apache/buildstream/archive/%{version}/buildstr
 BuildRequires: gcc
 BuildRequires: python3-devel >= 3.10
 BuildRequires: python3-setuptools < 82
+BuildRequires: python3-grpcio-tools
 
 BuildRequires: buildbox
 BuildRequires: python3-pexpect
@@ -47,6 +48,7 @@ platforms and chipsets.
 %pyproject_buildrequires
 
 %build
+./setup.py build_grpc
 %pyproject_wheel
 
 %install

                 reply	other threads:[~2026-08-27 12:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178783376551.1.12765375124056671605.rpms-buildstream-2c3103841d82@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox