Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-grpcio-status for 
openSUSE:Factory checked in at 2024-01-09 20:50:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-grpcio-status (Old)
 and      /work/SRC/openSUSE:Factory/.python-grpcio-status.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-grpcio-status"

Tue Jan  9 20:50:01 2024 rev:4 rq:1137630 version:1.60.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-grpcio-status/python-grpcio-status.changes    
    2023-09-12 21:04:52.264429579 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-grpcio-status.new.21961/python-grpcio-status.changes
     2024-01-09 20:50:28.005994544 +0100
@@ -1,0 +2,7 @@
+Mon Jan  8 20:41:19 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 1.60.0:
+  * Change return of grpc.aio.ServicerContext.code() from integer
+    to grpc.StatusCode
+
+-------------------------------------------------------------------

Old:
----
  grpcio-status-1.56.2.tar.gz

New:
----
  grpcio-status-1.60.0.tar.gz

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

Other differences:
------------------
++++++ python-grpcio-status.spec ++++++
--- /var/tmp/diff_new_pack.IcFUat/_old  2024-01-09 20:50:29.538050245 +0100
+++ /var/tmp/diff_new_pack.IcFUat/_new  2024-01-09 20:50:29.542050390 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-grpcio-status
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global modname grpcio_status
 %{?sle15_python_module_pythons}
 Name:           python-grpcio-status
-Version:        1.56.2
+Version:        1.60.0
 Release:        0
 Summary:        Status proto mapping for gRPC
 License:        Apache-2.0

++++++ grpcio-status-1.56.2.tar.gz -> grpcio-status-1.60.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/PKG-INFO 
new/grpcio-status-1.60.0/PKG-INFO
--- old/grpcio-status-1.56.2/PKG-INFO   2023-07-14 20:03:47.174396800 +0200
+++ new/grpcio-status-1.60.0/PKG-INFO   2023-11-28 01:46:05.643137500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: grpcio-status
-Version: 1.56.2
+Version: 1.60.0
 Summary: Status proto mapping for gRPC
 Home-page: https://grpc.io
 Author: The gRPC Authors
@@ -17,8 +17,13 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: License :: OSI Approved :: Apache Software License
 Requires-Python: >=3.6
+License-File: LICENSE
+Requires-Dist: protobuf>=4.21.6
+Requires-Dist: grpcio>=1.60.0
+Requires-Dist: googleapis-common-protos>=1.5.5
 
 gRPC Python Status Proto
 ===========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/grpc_status/_async.py 
new/grpcio-status-1.60.0/grpc_status/_async.py
--- old/grpcio-status-1.56.2/grpc_status/_async.py      2023-07-14 
19:34:13.000000000 +0200
+++ new/grpcio-status-1.60.0/grpc_status/_async.py      2023-11-28 
01:36:30.000000000 +0100
@@ -41,16 +41,18 @@
             rich_status = status_pb2.Status.FromString(value)
             if code.value[0] != rich_status.code:
                 raise ValueError(
-                    'Code in Status proto (%s) doesn\'t match status code (%s)'
-                    % (code_to_grpc_status_code(rich_status.code), code))
+                    "Code in Status proto (%s) doesn't match status code (%s)"
+                    % (code_to_grpc_status_code(rich_status.code), code)
+                )
             if details != rich_status.message:
                 raise ValueError(
-                    'Message in Status proto (%s) doesn\'t match status 
details (%s)'
-                    % (rich_status.message, details))
+                    "Message in Status proto (%s) doesn't match status details"
+                    " (%s)" % (rich_status.message, details)
+                )
             return rich_status
     return None
 
 
 __all__ = [
-    'from_call',
+    "from_call",
 ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/grpc_status/_common.py 
new/grpcio-status-1.60.0/grpc_status/_common.py
--- old/grpcio-status-1.56.2/grpc_status/_common.py     2023-07-14 
19:34:13.000000000 +0200
+++ new/grpcio-status-1.60.0/grpc_status/_common.py     2023-11-28 
01:36:30.000000000 +0100
@@ -17,11 +17,11 @@
 
 _CODE_TO_GRPC_CODE_MAPPING = {x.value[0]: x for x in grpc.StatusCode}
 
-GRPC_DETAILS_METADATA_KEY = 'grpc-status-details-bin'
+GRPC_DETAILS_METADATA_KEY = "grpc-status-details-bin"
 
 
 def code_to_grpc_status_code(code):
     try:
         return _CODE_TO_GRPC_CODE_MAPPING[code]
     except KeyError:
-        raise ValueError('Invalid status code %s' % code)
+        raise ValueError("Invalid status code %s" % code)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/grpc_status/rpc_status.py 
new/grpcio-status-1.60.0/grpc_status/rpc_status.py
--- old/grpcio-status-1.56.2/grpc_status/rpc_status.py  2023-07-14 
19:34:13.000000000 +0200
+++ new/grpcio-status-1.60.0/grpc_status/rpc_status.py  2023-11-28 
01:36:30.000000000 +0100
@@ -24,9 +24,9 @@
 
 
 class _Status(
-        collections.namedtuple('_Status',
-                               ('code', 'details', 'trailing_metadata')),
-        grpc.Status):
+    collections.namedtuple("_Status", ("code", "details", 
"trailing_metadata")),
+    grpc.Status,
+):
     pass
 
 
@@ -52,12 +52,14 @@
             rich_status = status_pb2.Status.FromString(value)
             if call.code().value[0] != rich_status.code:
                 raise ValueError(
-                    'Code in Status proto (%s) doesn\'t match status code (%s)'
-                    % (code_to_grpc_status_code(rich_status.code), 
call.code()))
+                    "Code in Status proto (%s) doesn't match status code (%s)"
+                    % (code_to_grpc_status_code(rich_status.code), call.code())
+                )
             if call.details() != rich_status.message:
                 raise ValueError(
-                    'Message in Status proto (%s) doesn\'t match status 
details (%s)'
-                    % (rich_status.message, call.details()))
+                    "Message in Status proto (%s) doesn't match status details"
+                    " (%s)" % (rich_status.message, call.details())
+                )
             return rich_status
     return None
 
@@ -74,17 +76,21 @@
     Returns:
       A grpc.Status instance representing the input google.rpc.status.Status 
message.
     """
-    return _Status(code=code_to_grpc_status_code(status.code),
-                   details=status.message,
-                   trailing_metadata=((GRPC_DETAILS_METADATA_KEY,
-                                       status.SerializeToString()),))
+    return _Status(
+        code=code_to_grpc_status_code(status.code),
+        details=status.message,
+        trailing_metadata=(
+            (GRPC_DETAILS_METADATA_KEY, status.SerializeToString()),
+        ),
+    )
 
 
 __all__ = [
-    'from_call',
-    'to_status',
+    "from_call",
+    "to_status",
 ]
 
 if sys.version_info[0] >= 3 and sys.version_info[1] >= 6:
     from . import _async as aio  # pylint: disable=unused-import
-    __all__.append('aio')
+
+    __all__.append("aio")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/grpc_version.py 
new/grpcio-status-1.60.0/grpc_version.py
--- old/grpcio-status-1.56.2/grpc_version.py    2023-07-14 19:34:13.000000000 
+0200
+++ new/grpcio-status-1.60.0/grpc_version.py    2023-11-28 01:36:30.000000000 
+0100
@@ -14,4 +14,4 @@
 
 # AUTO-GENERATED FROM 
`$REPO_ROOT/templates/src/python/grpcio_status/grpc_version.py.template`!!!
 
-VERSION = '1.56.2'
+VERSION = '1.60.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/grpcio_status.egg-info/PKG-INFO 
new/grpcio-status-1.60.0/grpcio_status.egg-info/PKG-INFO
--- old/grpcio-status-1.56.2/grpcio_status.egg-info/PKG-INFO    2023-07-14 
20:03:47.000000000 +0200
+++ new/grpcio-status-1.60.0/grpcio_status.egg-info/PKG-INFO    2023-11-28 
01:46:05.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: grpcio-status
-Version: 1.56.2
+Version: 1.60.0
 Summary: Status proto mapping for gRPC
 Home-page: https://grpc.io
 Author: The gRPC Authors
@@ -17,8 +17,13 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: 3.11
+Classifier: Programming Language :: Python :: 3.12
 Classifier: License :: OSI Approved :: Apache Software License
 Requires-Python: >=3.6
+License-File: LICENSE
+Requires-Dist: protobuf>=4.21.6
+Requires-Dist: grpcio>=1.60.0
+Requires-Dist: googleapis-common-protos>=1.5.5
 
 gRPC Python Status Proto
 ===========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/grpcio-status-1.56.2/grpcio_status.egg-info/requires.txt 
new/grpcio-status-1.60.0/grpcio_status.egg-info/requires.txt
--- old/grpcio-status-1.56.2/grpcio_status.egg-info/requires.txt        
2023-07-14 20:03:47.000000000 +0200
+++ new/grpcio-status-1.60.0/grpcio_status.egg-info/requires.txt        
2023-11-28 01:46:05.000000000 +0100
@@ -1,3 +1,3 @@
 protobuf>=4.21.6
-grpcio>=1.56.2
+grpcio>=1.60.0
 googleapis-common-protos>=1.5.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grpcio-status-1.56.2/setup.py 
new/grpcio-status-1.60.0/setup.py
--- old/grpcio-status-1.56.2/setup.py   2023-07-14 19:34:13.000000000 +0200
+++ new/grpcio-status-1.60.0/setup.py   2023-11-28 01:36:30.000000000 +0100
@@ -18,7 +18,7 @@
 import setuptools
 
 _PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
-_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
+_README_PATH = os.path.join(_PACKAGE_PATH, "README.rst")
 
 # Ensure we're in the proper directory whether or not we're being used by pip.
 os.chdir(os.path.dirname(os.path.abspath(__file__)))
@@ -30,7 +30,7 @@
 class _NoOpCommand(setuptools.Command):
     """No-op command."""
 
-    description = ''
+    description = ""
     user_options = []
 
     def initialize_options(self):
@@ -44,28 +44,29 @@
 
 
 CLASSIFIERS = [
-    'Development Status :: 5 - Production/Stable',
-    'Programming Language :: Python',
-    'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.4',
-    'Programming Language :: Python :: 3.5',
-    'Programming Language :: Python :: 3.6',
-    'Programming Language :: Python :: 3.7',
-    'Programming Language :: Python :: 3.8',
-    'Programming Language :: Python :: 3.9',
-    'Programming Language :: Python :: 3.10',
-    'Programming Language :: Python :: 3.11',
-    'License :: OSI Approved :: Apache Software License',
+    "Development Status :: 5 - Production/Stable",
+    "Programming Language :: Python",
+    "Programming Language :: Python :: 3",
+    "Programming Language :: Python :: 3.4",
+    "Programming Language :: Python :: 3.5",
+    "Programming Language :: Python :: 3.6",
+    "Programming Language :: Python :: 3.7",
+    "Programming Language :: Python :: 3.8",
+    "Programming Language :: Python :: 3.9",
+    "Programming Language :: Python :: 3.10",
+    "Programming Language :: Python :: 3.11",
+    "Programming Language :: Python :: 3.12",
+    "License :: OSI Approved :: Apache Software License",
 ]
 
 PACKAGE_DIRECTORIES = {
-    '': '.',
+    "": ".",
 }
 
 INSTALL_REQUIRES = (
-    'protobuf>=4.21.6',
-    'grpcio>={version}'.format(version=grpc_version.VERSION),
-    'googleapis-common-protos>=1.5.5',
+    "protobuf>=4.21.6",
+    "grpcio>={version}".format(version=grpc_version.VERSION),
+    "googleapis-common-protos>=1.5.5",
 )
 
 try:
@@ -74,27 +75,29 @@
     # we are in the build environment, otherwise the above import fails
     COMMAND_CLASS = {
         # Run preprocess from the repository *before* doing any packaging!
-        'preprocess': _status_commands.Preprocess,
-        'build_package_protos': _NoOpCommand,
+        "preprocess": _status_commands.Preprocess,
+        "build_package_protos": _NoOpCommand,
     }
 except ImportError:
     COMMAND_CLASS = {
         # wire up commands to no-op not to break the external dependencies
-        'preprocess': _NoOpCommand,
-        'build_package_protos': _NoOpCommand,
+        "preprocess": _NoOpCommand,
+        "build_package_protos": _NoOpCommand,
     }
 
-setuptools.setup(name='grpcio-status',
-                 version=grpc_version.VERSION,
-                 description='Status proto mapping for gRPC',
-                 long_description=open(_README_PATH, 'r').read(),
-                 author='The gRPC Authors',
-                 author_email='[email protected]',
-                 url='https://grpc.io',
-                 license='Apache License 2.0',
-                 classifiers=CLASSIFIERS,
-                 package_dir=PACKAGE_DIRECTORIES,
-                 packages=setuptools.find_packages('.'),
-                 python_requires='>=3.6',
-                 install_requires=INSTALL_REQUIRES,
-                 cmdclass=COMMAND_CLASS)
+setuptools.setup(
+    name="grpcio-status",
+    version=grpc_version.VERSION,
+    description="Status proto mapping for gRPC",
+    long_description=open(_README_PATH, "r").read(),
+    author="The gRPC Authors",
+    author_email="[email protected]",
+    url="https://grpc.io";,
+    license="Apache License 2.0",
+    classifiers=CLASSIFIERS,
+    package_dir=PACKAGE_DIRECTORIES,
+    packages=setuptools.find_packages("."),
+    python_requires=">=3.6",
+    install_requires=INSTALL_REQUIRES,
+    cmdclass=COMMAND_CLASS,
+)

Reply via email to