Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-avro for openSUSE:Factory checked in at 2025-10-22 12:15:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-avro (Old) and /work/SRC/openSUSE:Factory/.python-avro.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-avro" Wed Oct 22 12:15:25 2025 rev:19 rq:1312816 version:1.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-avro/python-avro.changes 2025-08-26 16:14:10.216130828 +0200 +++ /work/SRC/openSUSE:Factory/.python-avro.new.18484/python-avro.changes 2025-10-22 12:19:52.316538281 +0200 @@ -1,0 +2,9 @@ +Tue Oct 21 08:12:29 UTC 2025 - John Paul Adrian Glaubitz <[email protected]> + +- Update to 1.12.1 + * AVRO-4104: Drop support for Python 3.7 (#3276) + * Refactor `_skip_sync` for Improved Readability & Performance (#3343) + * Fix mypy test (#3397) + * Support new python versions 3.12 and 3.13 + +------------------------------------------------------------------- Old: ---- avro-1.12.0.tar.gz New: ---- avro-1.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-avro.spec ++++++ --- /var/tmp/diff_new_pack.8jkIHT/_old 2025-10-22 12:19:52.928564069 +0200 +++ /var/tmp/diff_new_pack.8jkIHT/_new 2025-10-22 12:19:52.928564069 +0200 @@ -23,7 +23,7 @@ %endif %{?sle15_python_module_pythons} Name: python-avro -Version: 1.12.0 +Version: 1.12.1 Release: 0 Summary: A serialization and RPC framework for Python License: Apache-2.0 ++++++ avro-1.12.0.tar.gz -> avro-1.12.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/PKG-INFO new/avro-1.12.1/PKG-INFO --- old/avro-1.12.0/PKG-INFO 2024-08-05 14:11:22.501020000 +0200 +++ new/avro-1.12.1/PKG-INFO 2025-10-15 23:04:49.492891300 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: avro -Version: 1.12.0 +Version: 1.12.1 Summary: Avro is a serialization and RPC framework. Home-page: https://avro.apache.org/ Author: Apache Avro @@ -8,20 +8,20 @@ License: Apache License 2.0 Keywords: avro,serialization,rpc Classifier: License :: OSI Approved :: Apache Software License -Classifier: Programming Language :: Python :: 3.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: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 Classifier: Development Status :: 5 - Production/Stable -Requires-Python: >=3.7 +Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: avro/LICENSE -Requires-Dist: typing-extensions; python_version < "3.8" Provides-Extra: snappy Requires-Dist: python-snappy; extra == "snappy" Provides-Extra: zstandard Requires-Dist: zstandard; extra == "zstandard" +Dynamic: license-file ## Apache Avro™ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/avro/VERSION.txt new/avro-1.12.1/avro/VERSION.txt --- old/avro-1.12.0/avro/VERSION.txt 2024-07-26 09:46:35.000000000 +0200 +++ new/avro-1.12.1/avro/VERSION.txt 2025-09-05 10:05:05.000000000 +0200 @@ -1 +1 @@ -1.12.0 +1.12.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/avro/datafile.py new/avro-1.12.1/avro/datafile.py --- old/avro-1.12.0/avro/datafile.py 2024-07-25 21:23:22.000000000 +0200 +++ new/avro-1.12.1/avro/datafile.py 2025-08-24 21:44:04.000000000 +0200 @@ -387,13 +387,13 @@ def _skip_sync(self) -> bool: """ - Read the length of the sync marker; if it matches the sync marker, - return True. Otherwise, seek back to where we started and return False. + Check if the next bytes match the sync marker. + If not, rewind the read position. """ - proposed_sync_marker = self.reader.read(SYNC_SIZE) - if proposed_sync_marker == self.sync_marker: + pos = self.reader.tell() + if self.reader.read(SYNC_SIZE) == self.sync_marker: return True - self.reader.seek(-SYNC_SIZE, 1) + self.reader.seek(pos) # Reset position if sync doesn't match return False def __next__(self) -> object: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/avro/io.py new/avro-1.12.1/avro/io.py --- old/avro-1.12.0/avro/io.py 2024-07-25 21:23:22.000000000 +0200 +++ new/avro-1.12.1/avro/io.py 2025-08-21 17:09:53.000000000 +0200 @@ -633,9 +633,10 @@ def read(self, decoder: "BinaryDecoder") -> object: if self.writers_schema is None: raise avro.errors.IONotReadyException("Cannot read without a writer's schema.") - if self.readers_schema is None: - self.readers_schema = self.writers_schema - return self.read_data(self.writers_schema, self.readers_schema, decoder) + reader_schema = self.readers_schema + if reader_schema is None: + reader_schema = self.writers_schema + return self.read_data(self.writers_schema, reader_schema, decoder) def read_data(self, writers_schema: avro.schema.Schema, readers_schema: avro.schema.Schema, decoder: "BinaryDecoder") -> object: # schema matching diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/avro.egg-info/PKG-INFO new/avro-1.12.1/avro.egg-info/PKG-INFO --- old/avro-1.12.0/avro.egg-info/PKG-INFO 2024-08-05 14:11:22.000000000 +0200 +++ new/avro-1.12.1/avro.egg-info/PKG-INFO 2025-10-15 23:04:49.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: avro -Version: 1.12.0 +Version: 1.12.1 Summary: Avro is a serialization and RPC framework. Home-page: https://avro.apache.org/ Author: Apache Avro @@ -8,20 +8,20 @@ License: Apache License 2.0 Keywords: avro,serialization,rpc Classifier: License :: OSI Approved :: Apache Software License -Classifier: Programming Language :: Python :: 3.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: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 Classifier: Development Status :: 5 - Production/Stable -Requires-Python: >=3.7 +Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: avro/LICENSE -Requires-Dist: typing-extensions; python_version < "3.8" Provides-Extra: snappy Requires-Dist: python-snappy; extra == "snappy" Provides-Extra: zstandard Requires-Dist: zstandard; extra == "zstandard" +Dynamic: license-file ## Apache Avro™ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/avro.egg-info/requires.txt new/avro-1.12.1/avro.egg-info/requires.txt --- old/avro-1.12.0/avro.egg-info/requires.txt 2024-08-05 14:11:22.000000000 +0200 +++ new/avro-1.12.1/avro.egg-info/requires.txt 2025-10-15 23:04:49.000000000 +0200 @@ -1,7 +1,4 @@ -[:python_version < "3.8"] -typing-extensions - [snappy] python-snappy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/avro-1.12.0/setup.cfg new/avro-1.12.1/setup.cfg --- old/avro-1.12.0/setup.cfg 2024-08-05 14:11:22.501452400 +0200 +++ new/avro-1.12.1/setup.cfg 2025-10-15 23:04:49.494454900 +0200 @@ -15,11 +15,11 @@ license = Apache License 2.0 classifiers = License :: OSI Approved :: Apache Software License - 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 + Programming Language :: Python :: 3.13 Development Status :: 5 - Production/Stable [bdist_wheel] @@ -35,10 +35,8 @@ avro.test = avro/test avro.tether = avro/tether include_package_data = true -install_requires = - typing-extensions;python_version<"3.8" zip_safe = true -python_requires = >=3.7 +python_requires = >=3.9 [options.entry_points] console_scripts =
