Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-grpcio-tools for 
openSUSE:Factory checked in at 2025-11-13 18:24:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-grpcio-tools (Old)
 and      /work/SRC/openSUSE:Factory/.python-grpcio-tools.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-grpcio-tools"

Thu Nov 13 18:24:07 2025 rev:43 rq:1317623 version:1.76.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-grpcio-tools/python-grpcio-tools.changes  
2025-10-24 17:24:22.877802475 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-grpcio-tools.new.2061/python-grpcio-tools.changes
        2025-11-13 18:24:09.495126591 +0100
@@ -1,0 +2,7 @@
+Sun Nov  9 14:16:34 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 1.76.0:
+  * gRPC AsyncIO: Improve CompletionQueue polling performance
+    (gh#grpc/grpc#39993).
+
+-------------------------------------------------------------------

Old:
----
  grpcio_tools-1.75.1.tar.gz

New:
----
  grpcio_tools-1.76.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-grpcio-tools.spec ++++++
--- /var/tmp/diff_new_pack.AFyQBR/_old  2025-11-13 18:24:10.315161227 +0100
+++ /var/tmp/diff_new_pack.AFyQBR/_new  2025-11-13 18:24:10.315161227 +0100
@@ -21,7 +21,7 @@
 %define         modname grpcio_tools
 %{?sle15_python_module_pythons}
 Name:           python-grpcio-tools
-Version:        1.75.1
+Version:        1.76.0
 Release:        0
 Summary:        Protobuf code generator for gRPC
 License:        Apache-2.0

++++++ grpcio_tools-1.75.1.tar.gz -> grpcio_tools-1.76.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/PKG-INFO 
new/grpcio_tools-1.76.0/PKG-INFO
--- old/grpcio_tools-1.75.1/PKG-INFO    2025-09-25 19:22:37.468434600 +0200
+++ new/grpcio_tools-1.76.0/PKG-INFO    2025-10-18 04:55:47.022978800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: grpcio-tools
-Version: 1.75.1
+Version: 1.76.0
 Summary: Protobuf code generator for gRPC
 Home-page: https://grpc.io
 Author: The gRPC Authors
@@ -15,7 +15,7 @@
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
 Requires-Dist: protobuf<7.0.0,>=6.31.1
-Requires-Dist: grpcio>=1.75.1
+Requires-Dist: grpcio>=1.76.0
 Requires-Dist: setuptools
 
 gRPC Python Tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpc_root/include/grpc/credentials.h 
new/grpcio_tools-1.76.0/grpc_root/include/grpc/credentials.h
--- old/grpcio_tools-1.75.1/grpc_root/include/grpc/credentials.h        
2025-09-25 19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/include/grpc/credentials.h        
2025-10-18 04:55:28.000000000 +0200
@@ -214,19 +214,27 @@
    identity of the default service account of the machine. Supplying any other
    sort of call credential will result in undefined behavior, up to and
    including the sudden and unexpected failure of RPCs.
+   It is in the caller's responsibility to ensure that both specified
+   credentials assert the correct identities.
 
    If nullptr is supplied, the returned channel credentials object will use a
    default call credentials object based on the Application Default Credentials
    mechanism.
 
    The caller may choose to create the default credential with a secondary alts
-   credentials object to attach to the channel for ALTS connections. If an alts
-   credentials object is specified, it will be used if the underlying channel
-   type is ALTS.
+   credentials object to attach to the channel for ALTS connections. If
+   credentials options are specified, it will be used to configure an 
underlying
+   channel which type is ALTS. If the field create_hard_bound_credentials is
+   true, the call_creds_for_alts field will be ignored.
 */
+typedef struct {
+  bool create_hard_bound_credentials;
+  grpc_call_credentials* call_creds_for_alts;
+} grpc_google_default_credentials_options;
+
 GRPCAPI grpc_channel_credentials* grpc_google_default_credentials_create(
     grpc_call_credentials* call_creds_for_tls,
-    grpc_call_credentials* call_creds_for_alts);
+    grpc_google_default_credentials_options* options);
 
 /** Server certificate config object holds the server's public certificates and
    associated private keys, as well as any CA certificates needed for client
@@ -485,11 +493,19 @@
     grpc_call_credentials* creds1, grpc_call_credentials* creds2,
     void* reserved);
 
+/** Context that can be used by the google compute engine create credentials 
api
+   in order to configure the desired credentials. */
+typedef struct {
+  /// Indicates if the created credentials should be ALTS with hard bound
+  /// tokens.
+  bool alts_hard_bound;
+} grpc_google_compute_engine_credentials_options;
+
 /** Creates a compute engine credentials object for connecting to Google.
    WARNING: Do NOT use this credentials to connect to a non-google service as
    this could result in an oauth2 token leak. */
 GRPCAPI grpc_call_credentials* grpc_google_compute_engine_credentials_create(
-    void* reserved);
+    grpc_google_compute_engine_credentials_options* options);
 
 /** Creates a composite channel credentials object. The security level of
  * resulting connection is determined by channel_creds. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpc_root/include/grpcpp/security/credentials.h 
new/grpcio_tools-1.76.0/grpc_root/include/grpcpp/security/credentials.h
--- old/grpcio_tools-1.75.1/grpc_root/include/grpcpp/security/credentials.h     
2025-09-25 19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/include/grpcpp/security/credentials.h     
2025-10-18 04:55:28.000000000 +0200
@@ -166,18 +166,27 @@
   grpc::string pem_cert_chain;
 };
 
+/// Options used to build GoogleDefaultCredentials.
+struct GoogleDefaultCredentialsOptions {
+  /// Indicates if the created credentials should also contain ALTS specific
+  /// credentials. By default, the created credentials will be used for TLS.
+  bool use_alts_call_credentials = false;
+};
+
 // Factories for building different types of Credentials The functions may
 // return empty shared_ptr when credentials cannot be created. If a
 // Credentials pointer is returned, it can still be invalid when used to create
 // a channel. A lame channel will be created then and all rpcs will fail on it.
 
-/// Builds credentials with reasonable defaults.
+/// Builds google default credentials with the given options.
 ///
 /// \warning Only use these credentials when connecting to a Google endpoint.
 /// Using these credentials to connect to any other service may result in this
 /// service being able to impersonate your client for requests to Google
 /// services.
-std::shared_ptr<ChannelCredentials> GoogleDefaultCredentials();
+std::shared_ptr<ChannelCredentials> GoogleDefaultCredentials(
+    const GoogleDefaultCredentialsOptions& options =
+        GoogleDefaultCredentialsOptions());
 
 /// Builds SSL Credentials given SSL specific options
 std::shared_ptr<ChannelCredentials> SslCredentials(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpc_root/include/grpcpp/version_info.h 
new/grpcio_tools-1.76.0/grpc_root/include/grpcpp/version_info.h
--- old/grpcio_tools-1.75.1/grpc_root/include/grpcpp/version_info.h     
2025-09-25 19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/include/grpcpp/version_info.h     
2025-10-18 04:55:28.000000000 +0200
@@ -19,9 +19,9 @@
 #define GRPCPP_VERSION_INFO_H
 
 #define GRPC_CPP_VERSION_MAJOR 1
-#define GRPC_CPP_VERSION_MINOR 75
-#define GRPC_CPP_VERSION_PATCH 1
+#define GRPC_CPP_VERSION_MINOR 76
+#define GRPC_CPP_VERSION_PATCH 0
 #define GRPC_CPP_VERSION_TAG ""
-#define GRPC_CPP_VERSION_STRING "1.75.1"
+#define GRPC_CPP_VERSION_STRING "1.76.0"
 
 #endif  // GRPCPP_VERSION_INFO_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/grpc_root/src/compiler/BUILD 
new/grpcio_tools-1.76.0/grpc_root/src/compiler/BUILD
--- old/grpcio_tools-1.75.1/grpc_root/src/compiler/BUILD        2025-09-25 
19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/src/compiler/BUILD        2025-10-18 
04:55:28.000000000 +0200
@@ -80,7 +80,12 @@
     ],
     deps = [
         "proto_parser_helper",
+        "//:gpr_platform",
         "//:grpc++_config_proto",
+        "@com_google_protobuf//src/google/protobuf/compiler:code_generator",
+        "@com_google_protobuf//src/google/protobuf/compiler:plugin",
+        "@com_google_protobuf//src/google/protobuf/io",
+        "@com_google_protobuf//src/google/protobuf/io:printer",
     ],
 )
 
@@ -105,7 +110,12 @@
 grpc_proto_plugin(
     name = "grpc_objective_c_plugin",
     srcs = ["objective_c_plugin.cc"],
-    deps = [":grpc_plugin_support"],
+    deps = [
+        ":grpc_plugin_support",
+        "@com_google_protobuf//:protobuf",
+        "@com_google_protobuf//src/google/protobuf/compiler:code_generator",
+        "@com_google_protobuf//src/google/protobuf/compiler/objectivec:names",
+    ],
 )
 
 grpc_proto_plugin(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpc_root/src/compiler/generator_helpers.h 
new/grpcio_tools-1.76.0/grpc_root/src/compiler/generator_helpers.h
--- old/grpcio_tools-1.75.1/grpc_root/src/compiler/generator_helpers.h  
2025-09-25 19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/src/compiler/generator_helpers.h  
2025-10-18 04:55:28.000000000 +0200
@@ -30,10 +30,18 @@
 
 namespace grpc_generator {
 
+inline std::string ToLower(std::string s) {
+  std::transform(s.begin(), s.end(), s.begin(),
+                 [](unsigned char c) { return std::tolower(c); });
+  return s;
+}
+
 inline bool StripSuffix(std::string* filename, const std::string& suffix) {
   if (filename->length() >= suffix.length()) {
     size_t suffix_pos = filename->length() - suffix.length();
-    if (filename->compare(suffix_pos, std::string::npos, suffix) == 0) {
+    std::string filename_suffix = filename->substr(suffix_pos);
+
+    if (ToLower(filename_suffix) == ToLower(suffix)) {
       filename->resize(filename->size() - suffix.size());
       return true;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpc_root/src/compiler/python_generator.cc 
new/grpcio_tools-1.76.0/grpc_root/src/compiler/python_generator.cc
--- old/grpcio_tools-1.75.1/grpc_root/src/compiler/python_generator.cc  
2025-09-25 19:22:05.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_root/src/compiler/python_generator.cc  
2025-10-18 04:55:28.000000000 +0200
@@ -767,7 +767,7 @@
           out->Print(
               var,
               "f'The grpc package installed is at version {GRPC_VERSION},'\n"
-              "+ f' but the generated code in $Pb2GrpcFileName$_pb2_grpc.py "
+              "+ ' but the generated code in $Pb2GrpcFileName$_pb2_grpc.py "
               "depends on'\n"
               "+ f' grpcio>={GRPC_GENERATED_VERSION}.'\n"
               "+ f' Please upgrade your grpc module to "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/grpc_tools/_protoc_compiler.cpp 
new/grpcio_tools-1.76.0/grpc_tools/_protoc_compiler.cpp
--- old/grpcio_tools-1.75.1/grpc_tools/_protoc_compiler.cpp     2025-09-25 
19:22:36.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_tools/_protoc_compiler.cpp     2025-10-18 
04:55:45.000000000 +0200
@@ -8718,15 +8718,16 @@
   return -1;
 }
 /* #### Code section: init_codeobjects ### */
-typedef struct {
-    unsigned int argcount : 3;
-    unsigned int num_posonly_args : 1;
-    unsigned int num_kwonly_args : 1;
-    unsigned int nlocals : 4;
-    unsigned int flags : 10;
-    unsigned int first_line : 8;
-    unsigned int line_table_length : 11;
-} __Pyx_PyCode_New_function_description;
+\
+        typedef struct {
+            unsigned int argcount : 3;
+            unsigned int num_posonly_args : 1;
+            unsigned int num_kwonly_args : 1;
+            unsigned int nlocals : 4;
+            unsigned int flags : 10;
+            unsigned int first_line : 8;
+            unsigned int line_table_length : 11;
+        } __Pyx_PyCode_New_function_description;
 /* NewCodeObj.proto */
 static PyObject* __Pyx_PyCode_New(
         const __Pyx_PyCode_New_function_description descr,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/grpc_tools/grpc_version.py 
new/grpcio_tools-1.76.0/grpc_tools/grpc_version.py
--- old/grpcio_tools-1.75.1/grpc_tools/grpc_version.py  2025-09-25 
19:18:48.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpc_tools/grpc_version.py  2025-10-18 
04:38:27.000000000 +0200
@@ -14,4 +14,4 @@
 
 # AUTO-GENERATED FROM 
`$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_tools/grpc_version.py.template`!!!
 
-VERSION = '1.75.1'
+VERSION = '1.76.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/grpc_version.py 
new/grpcio_tools-1.76.0/grpc_version.py
--- old/grpcio_tools-1.75.1/grpc_version.py     2025-09-25 19:18:48.000000000 
+0200
+++ new/grpcio_tools-1.76.0/grpc_version.py     2025-10-18 04:38:27.000000000 
+0200
@@ -14,5 +14,5 @@
 
 # AUTO-GENERATED FROM 
`$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
 
-VERSION = '1.75.1'
+VERSION = '1.76.0'
 PROTOBUF_VERSION = '4.31.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio_tools-1.75.1/grpcio_tools.egg-info/PKG-INFO 
new/grpcio_tools-1.76.0/grpcio_tools.egg-info/PKG-INFO
--- old/grpcio_tools-1.75.1/grpcio_tools.egg-info/PKG-INFO      2025-09-25 
19:22:36.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpcio_tools.egg-info/PKG-INFO      2025-10-18 
04:55:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: grpcio-tools
-Version: 1.75.1
+Version: 1.76.0
 Summary: Protobuf code generator for gRPC
 Home-page: https://grpc.io
 Author: The gRPC Authors
@@ -15,7 +15,7 @@
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
 Requires-Dist: protobuf<7.0.0,>=6.31.1
-Requires-Dist: grpcio>=1.75.1
+Requires-Dist: grpcio>=1.76.0
 Requires-Dist: setuptools
 
 gRPC Python Tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio_tools-1.75.1/grpcio_tools.egg-info/requires.txt 
new/grpcio_tools-1.76.0/grpcio_tools.egg-info/requires.txt
--- old/grpcio_tools-1.75.1/grpcio_tools.egg-info/requires.txt  2025-09-25 
19:22:36.000000000 +0200
+++ new/grpcio_tools-1.76.0/grpcio_tools.egg-info/requires.txt  2025-10-18 
04:55:45.000000000 +0200
@@ -1,3 +1,3 @@
 protobuf<7.0.0,>=6.31.1
-grpcio>=1.75.1
+grpcio>=1.76.0
 setuptools

Reply via email to