Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-proto-plus for openSUSE:Factory checked in at 2023-03-03 22:28:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-proto-plus (Old) and /work/SRC/openSUSE:Factory/.python-proto-plus.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proto-plus" Fri Mar 3 22:28:35 2023 rev:8 rq:1069136 version:1.22.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-proto-plus/python-proto-plus.changes 2022-09-09 18:29:59.685339965 +0200 +++ /work/SRC/openSUSE:Factory/.python-proto-plus.new.31432/python-proto-plus.changes 2023-03-03 22:31:42.892109963 +0100 @@ -1,0 +2,7 @@ +Fri Feb 24 11:03:30 UTC 2023 - Daniel Garcia <[email protected]> + +- Update to 1.22.2 + * Add support for Python 3.11 (#329) (5cff3a0) + * Fix typo in index.rst (#342) (a66a378) + +------------------------------------------------------------------- Old: ---- proto-plus-1.22.1.tar.gz New: ---- proto-plus-1.22.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-proto-plus.spec ++++++ --- /var/tmp/diff_new_pack.SoqRV1/_old 2023-03-03 22:31:44.588117196 +0100 +++ /var/tmp/diff_new_pack.SoqRV1/_new 2023-03-03 22:31:44.596117229 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -28,7 +27,7 @@ %define skip_python2 1 %define modname proto-plus Name: python-proto-plus%{psuffix} -Version: 1.22.1 +Version: 1.22.2 Release: 0 Summary: Pythonic Protocol Buffers License: Apache-2.0 ++++++ proto-plus-1.22.1.tar.gz -> proto-plus-1.22.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.22.1/PKG-INFO new/proto-plus-1.22.2/PKG-INFO --- old/proto-plus-1.22.1/PKG-INFO 2022-08-30 15:37:55.717580600 +0200 +++ new/proto-plus-1.22.2/PKG-INFO 2023-01-09 16:58:23.803348800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proto-plus -Version: 1.22.1 +Version: 1.22.2 Summary: Beautiful, Pythonic protocol buffers. Home-page: https://github.com/googleapis/proto-plus-python.git Author: Google LLC @@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development :: Code Generators Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.22.1/proto/enums.py new/proto-plus-1.22.2/proto/enums.py --- old/proto-plus-1.22.1/proto/enums.py 2022-08-30 15:37:47.000000000 +0200 +++ new/proto-plus-1.22.2/proto/enums.py 2023-01-09 16:58:15.000000000 +0100 @@ -58,8 +58,11 @@ # In 3.7 onwards, we can define an _ignore_ attribute and do some # mucking around with that. if pb_options in attrs._member_names: - idx = attrs._member_names.index(pb_options) - attrs._member_names.pop(idx) + if isinstance(attrs._member_names, list): + idx = attrs._member_names.index(pb_options) + attrs._member_names.pop(idx) + else: # Python 3.11.0b3 + del attrs._member_names[pb_options] # Make the descriptor. enum_desc = descriptor_pb2.EnumDescriptorProto( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.22.1/proto_plus.egg-info/PKG-INFO new/proto-plus-1.22.2/proto_plus.egg-info/PKG-INFO --- old/proto-plus-1.22.1/proto_plus.egg-info/PKG-INFO 2022-08-30 15:37:55.000000000 +0200 +++ new/proto-plus-1.22.2/proto_plus.egg-info/PKG-INFO 2023-01-09 16:58:23.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: proto-plus -Version: 1.22.1 +Version: 1.22.2 Summary: Beautiful, Pythonic protocol buffers. Home-page: https://github.com/googleapis/proto-plus-python.git Author: Google LLC @@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development :: Code Generators Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.22.1/setup.py new/proto-plus-1.22.2/setup.py --- old/proto-plus-1.22.1/setup.py 2022-08-30 15:37:47.000000000 +0200 +++ new/proto-plus-1.22.2/setup.py 2023-01-09 16:58:15.000000000 +0100 @@ -17,7 +17,7 @@ from setuptools import find_packages, setup -version = "1.22.1" +version = "1.22.2" PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__)) @@ -55,6 +55,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries :: Python Modules", ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/proto-plus-1.22.1/tests/test_enum_total_ordering.py new/proto-plus-1.22.2/tests/test_enum_total_ordering.py --- old/proto-plus-1.22.1/tests/test_enum_total_ordering.py 2022-08-30 15:37:47.000000000 +0200 +++ new/proto-plus-1.22.2/tests/test_enum_total_ordering.py 2023-01-09 16:58:15.000000000 +0100 @@ -49,7 +49,11 @@ for item in enums_test.OtherEnum: assert not to_compare == item - assert to_compare.SOME_VALUE != item + assert type(to_compare).SOME_VALUE != item + try: + assert to_compare.SOME_VALUE != item + except AttributeError: # Python 3.11.0b3 + pass with pytest.raises(TypeError): assert not to_compare < item with pytest.raises(TypeError):
