Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gitdb for openSUSE:Factory checked in at 2021-10-29 22:32:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gitdb (Old) and /work/SRC/openSUSE:Factory/.python-gitdb.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gitdb" Fri Oct 29 22:32:55 2021 rev:4 rq:927594 version:4.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gitdb/python-gitdb.changes 2021-05-20 19:23:51.438242295 +0200 +++ /work/SRC/openSUSE:Factory/.python-gitdb.new.1890/python-gitdb.changes 2021-10-29 22:33:01.531654750 +0200 @@ -1,0 +2,9 @@ +Tue Oct 26 20:29:53 UTC 2021 - Dirk M??ller <[email protected]> + +- update to 4.0.9: + * update signing key + * fix Sphinx warnings + * Support Python 3.7+ + * Allow smmap 5 + +------------------------------------------------------------------- Old: ---- gitdb-4.0.7.tar.gz New: ---- gitdb-4.0.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gitdb.spec ++++++ --- /var/tmp/diff_new_pack.l64gZm/_old 2021-10-29 22:33:01.983654920 +0200 +++ /var/tmp/diff_new_pack.l64gZm/_new 2021-10-29 22:33:01.987654922 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-gitdb -Version: 4.0.7 +Version: 4.0.9 Release: 0 Summary: Git Object Database License: BSD-3-Clause ++++++ gitdb-4.0.7.tar.gz -> gitdb-4.0.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/PKG-INFO new/gitdb-4.0.9/PKG-INFO --- old/gitdb-4.0.7/PKG-INFO 2021-03-26 15:25:56.996610200 +0100 +++ new/gitdb-4.0.9/PKG-INFO 2021-10-24 15:40:35.535669000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: gitdb -Version: 4.0.7 +Version: 4.0.9 Summary: Git Object Database Home-page: https://github.com/gitpython-developers/gitdb Author: Sebastian Thiel @@ -18,8 +18,8 @@ Classifier: Operating System :: MacOS :: MacOS X Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 -Requires-Python: >=3.4 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/__init__.py new/gitdb-4.0.9/gitdb/__init__.py --- old/gitdb-4.0.7/gitdb/__init__.py 2021-03-26 15:25:19.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/__init__.py 2021-10-24 15:38:50.000000000 +0200 @@ -30,7 +30,7 @@ __author__ = "Sebastian Thiel" __contact__ = "[email protected]" __homepage__ = "https://github.com/gitpython-developers/gitdb" -version_info = (4, 0, 7) +version_info = (4, 0, 9) __version__ = '.'.join(str(i) for i in version_info) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/db/base.py new/gitdb-4.0.9/gitdb/db/base.py --- old/gitdb-4.0.7/gitdb/db/base.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/db/base.py 2021-10-23 02:29:13.000000000 +0200 @@ -33,6 +33,9 @@ #{ Query Interface def has_object(self, sha): """ + Whether the object identified by the given 20 bytes + binary sha is contained in the database + :return: True if the object identified by the given 20 bytes binary sha is contained in the database""" raise NotImplementedError("To be implemented in subclass") @@ -82,6 +85,8 @@ def ostream(self): """ + Return the output stream + :return: overridden output stream this instance will write to, or None if it will write to the default stream""" return self._ostream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/db/mem.py new/gitdb-4.0.9/gitdb/db/mem.py --- old/gitdb-4.0.7/gitdb/db/mem.py 2021-01-21 06:15:15.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/db/mem.py 2021-10-23 02:29:13.000000000 +0200 @@ -82,16 +82,14 @@ return len(self._cache) def sha_iter(self): - try: - return self._cache.iterkeys() - except AttributeError: - return self._cache.keys() + return self._cache.keys() #{ Interface def stream_copy(self, sha_iter, odb): """Copy the streams as identified by sha's yielded by sha_iter into the given odb The streams will be copied directly **Note:** the object will only be written if it did not exist in the target db + :return: amount of streams actually copied into odb. If smaller than the amount of input shas, one or more objects did already exist in odb""" count = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/stream.py new/gitdb-4.0.9/gitdb/stream.py --- old/gitdb-4.0.7/gitdb/stream.py 2020-02-17 04:15:01.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/stream.py 2021-10-23 02:29:13.000000000 +0200 @@ -30,7 +30,6 @@ from gitdb.utils.encoding import force_bytes has_perf_mod = False -PY26 = sys.version_info[:2] < (2, 7) try: from gitdb_speedups._perf import apply_delta as c_apply_delta has_perf_mod = True @@ -295,7 +294,7 @@ # However, the zlib VERSIONs as well as the platform check is used to further match the entries in the # table in the github issue. This is it ... it was the only way I could make this work everywhere. # IT's CERTAINLY GOING TO BITE US IN THE FUTURE ... . - if PY26 or ((zlib.ZLIB_VERSION == '1.2.7' or zlib.ZLIB_VERSION == '1.2.5') and not sys.platform == 'darwin'): + if zlib.ZLIB_VERSION in ('1.2.7', '1.2.5') and not sys.platform == 'darwin': unused_datalen = len(self._zip.unconsumed_tail) else: unused_datalen = len(self._zip.unconsumed_tail) + len(self._zip.unused_data) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/db/lib.py new/gitdb-4.0.9/gitdb/test/db/lib.py --- old/gitdb-4.0.7/gitdb/test/db/lib.py 2020-02-17 04:15:01.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/db/lib.py 2021-10-23 02:29:13.000000000 +0200 @@ -102,8 +102,8 @@ assert ostream.type == str_blob_type assert ostream.size == len(data) else: - self.failUnlessRaises(BadObject, db.info, sha) - self.failUnlessRaises(BadObject, db.stream, sha) + self.assertRaises(BadObject, db.info, sha) + self.assertRaises(BadObject, db.stream, sha) # DIRECT STREAM COPY # our data hase been written in object format to the StringIO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/db/test_git.py new/gitdb-4.0.9/gitdb/test/db/test_git.py --- old/gitdb-4.0.7/gitdb/test/db/test_git.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/db/test_git.py 2021-10-23 02:29:13.000000000 +0200 @@ -43,7 +43,7 @@ assert gdb.partial_to_complete_sha_hex(bin_to_hex(binsha)[:8 - (i % 2)]) == binsha # END for each sha - self.failUnlessRaises(BadObject, gdb.partial_to_complete_sha_hex, "0000") + self.assertRaises(BadObject, gdb.partial_to_complete_sha_hex, "0000") @with_rw_directory def test_writing(self, path): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/db/test_loose.py new/gitdb-4.0.9/gitdb/test/db/test_loose.py --- old/gitdb-4.0.7/gitdb/test/db/test_loose.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/db/test_loose.py 2021-10-23 02:29:13.000000000 +0200 @@ -32,5 +32,5 @@ assert bin_to_hex(ldb.partial_to_complete_sha_hex(short_sha)) == long_sha # END for each sha - self.failUnlessRaises(BadObject, ldb.partial_to_complete_sha_hex, '0000') + self.assertRaises(BadObject, ldb.partial_to_complete_sha_hex, '0000') # raises if no object could be found diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/db/test_pack.py new/gitdb-4.0.9/gitdb/test/db/test_pack.py --- old/gitdb-4.0.7/gitdb/test/db/test_pack.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/db/test_pack.py 2021-10-23 02:29:13.000000000 +0200 @@ -84,4 +84,4 @@ # assert num_ambiguous # non-existing - self.failUnlessRaises(BadObject, pdb.partial_to_complete_sha, b'\0\0', 4) + self.assertRaises(BadObject, pdb.partial_to_complete_sha, b'\0\0', 4) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/test_pack.py new/gitdb-4.0.9/gitdb/test/test_pack.py --- old/gitdb-4.0.7/gitdb/test/test_pack.py 2020-02-17 04:15:01.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/test_pack.py 2021-10-23 02:29:13.000000000 +0200 @@ -73,7 +73,7 @@ assert index.partial_sha_to_index(sha[:l], l * 2) == oidx # END for each object index in indexfile - self.failUnlessRaises(ValueError, index.partial_sha_to_index, "\0", 2) + self.assertRaises(ValueError, index.partial_sha_to_index, "\0", 2) def _assert_pack_file(self, pack, version, size): assert pack.version() == 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/test_stream.py new/gitdb-4.0.9/gitdb/test/test_stream.py --- old/gitdb-4.0.7/gitdb/test/test_stream.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/test_stream.py 2021-10-23 02:29:13.000000000 +0200 @@ -135,7 +135,7 @@ ostream.close() # its closed already - self.failUnlessRaises(OSError, os.close, fd) + self.assertRaises(OSError, os.close, fd) # read everything back, compare to data we zip fd = os.open(path, os.O_RDONLY | getattr(os, 'O_BINARY', 0)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb/test/test_util.py new/gitdb-4.0.9/gitdb/test/test_util.py --- old/gitdb-4.0.7/gitdb/test/test_util.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.9/gitdb/test/test_util.py 2021-10-23 02:29:13.000000000 +0200 @@ -40,8 +40,8 @@ lockfilepath = lfd._lockfilepath() # cannot end before it was started - self.failUnlessRaises(AssertionError, lfd.rollback) - self.failUnlessRaises(AssertionError, lfd.commit) + self.assertRaises(AssertionError, lfd.rollback) + self.assertRaises(AssertionError, lfd.commit) # open for writing assert not os.path.isfile(lockfilepath) @@ -77,7 +77,7 @@ wfdstream = lfd.open(write=True, stream=True) # this time as stream assert os.path.isfile(lockfilepath) # another one fails - self.failUnlessRaises(IOError, olfd.open) + self.assertRaises(IOError, olfd.open) wfdstream.write(new_data.encode("ascii")) lfd.commit() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb.egg-info/PKG-INFO new/gitdb-4.0.9/gitdb.egg-info/PKG-INFO --- old/gitdb-4.0.7/gitdb.egg-info/PKG-INFO 2021-03-26 15:25:56.000000000 +0100 +++ new/gitdb-4.0.9/gitdb.egg-info/PKG-INFO 2021-10-24 15:40:35.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: gitdb -Version: 4.0.7 +Version: 4.0.9 Summary: Git Object Database Home-page: https://github.com/gitpython-developers/gitdb Author: Sebastian Thiel @@ -18,8 +18,8 @@ Classifier: Operating System :: MacOS :: MacOS X Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 -Requires-Python: >=3.4 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Requires-Python: >=3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/gitdb.egg-info/requires.txt new/gitdb-4.0.9/gitdb.egg-info/requires.txt --- old/gitdb-4.0.7/gitdb.egg-info/requires.txt 2021-03-26 15:25:56.000000000 +0100 +++ new/gitdb-4.0.9/gitdb.egg-info/requires.txt 2021-10-24 15:40:35.000000000 +0200 @@ -1 +1 @@ -smmap<5,>=3.0.1 +smmap<6,>=3.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.7/setup.py new/gitdb-4.0.9/setup.py --- old/gitdb-4.0.7/setup.py 2021-03-26 15:25:19.000000000 +0100 +++ new/gitdb-4.0.9/setup.py 2021-10-24 15:38:50.000000000 +0200 @@ -7,7 +7,7 @@ __author__ = "Sebastian Thiel" __contact__ = "[email protected]" __homepage__ = "https://github.com/gitpython-developers/gitdb" -version_info = (4, 0, 7) +version_info = (4, 0, 9) __version__ = '.'.join(str(i) for i in version_info) setup( @@ -20,9 +20,9 @@ packages=('gitdb', 'gitdb.db', 'gitdb.utils', 'gitdb.test'), license="BSD License", zip_safe=False, - install_requires=['smmap>=3.0.1,<5'], + install_requires=['smmap>=3.0.1,<6'], long_description="""GitDB is a pure-Python git object database""", - python_requires='>=3.4', + python_requires='>=3.6', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ "Development Status :: 5 - Production/Stable", @@ -35,9 +35,9 @@ "Operating System :: MacOS :: MacOS X", "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.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", ] )
