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-05-20 19:23:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gitdb (Old) and /work/SRC/openSUSE:Factory/.python-gitdb.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gitdb" Thu May 20 19:23:26 2021 rev:3 rq:894166 version:4.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gitdb/python-gitdb.changes 2020-06-10 00:45:23.398480529 +0200 +++ /work/SRC/openSUSE:Factory/.python-gitdb.new.2988/python-gitdb.changes 2021-05-20 19:23:51.438242295 +0200 @@ -1,0 +2,9 @@ +Tue May 18 22:00:41 UTC 2021 - Dirk M??ller <[email protected]> + +- update to 4.0.7: + * Fix exception causes in loose.py + * Fix exception causes all over the codebase + * Add Ram Rachum to AUTHORS + * Update smmap upper bound in setup.py + +------------------------------------------------------------------- Old: ---- gitdb-4.0.5.tar.gz New: ---- gitdb-4.0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gitdb.spec ++++++ --- /var/tmp/diff_new_pack.Qgbgmj/_old 2021-05-20 19:23:51.918240264 +0200 +++ /var/tmp/diff_new_pack.Qgbgmj/_new 2021-05-20 19:23:51.922240246 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-gitdb # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-gitdb -Version: 4.0.5 +Version: 4.0.7 Release: 0 Summary: Git Object Database License: BSD-3-Clause ++++++ gitdb-4.0.5.tar.gz -> gitdb-4.0.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/AUTHORS new/gitdb-4.0.7/AUTHORS --- old/gitdb-4.0.5/AUTHORS 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.7/AUTHORS 2021-01-21 06:15:15.000000000 +0100 @@ -1 +1,4 @@ Creator: Sebastian Thiel + +Contributors: + - Ram Rachum (@cool-RR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/PKG-INFO new/gitdb-4.0.7/PKG-INFO --- old/gitdb-4.0.5/PKG-INFO 2020-05-05 05:50:26.000000000 +0200 +++ new/gitdb-4.0.7/PKG-INFO 2021-03-26 15:25:56.996610200 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: gitdb -Version: 4.0.5 +Version: 4.0.7 Summary: Git Object Database Home-page: https://github.com/gitpython-developers/gitdb Author: Sebastian Thiel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb/__init__.py new/gitdb-4.0.7/gitdb/__init__.py --- old/gitdb-4.0.5/gitdb/__init__.py 2020-05-05 05:44:17.000000000 +0200 +++ new/gitdb-4.0.7/gitdb/__init__.py 2021-03-26 15:25:19.000000000 +0100 @@ -18,8 +18,8 @@ try: __import__(module) - except ImportError: - raise ImportError("'%s' could not be imported, assure it is located in your PYTHONPATH" % module) + except ImportError as e: + raise ImportError("'%s' could not be imported, assure it is located in your PYTHONPATH" % module) from e # END verify import # END handel imports @@ -30,7 +30,7 @@ __author__ = "Sebastian Thiel" __contact__ = "[email protected]" __homepage__ = "https://github.com/gitpython-developers/gitdb" -version_info = (4, 0, 5) +version_info = (4, 0, 7) __version__ = '.'.join(str(i) for i in version_info) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb/db/loose.py new/gitdb-4.0.7/gitdb/db/loose.py --- old/gitdb-4.0.5/gitdb/db/loose.py 2020-02-17 04:15:01.000000000 +0100 +++ new/gitdb-4.0.7/gitdb/db/loose.py 2021-01-21 06:15:15.000000000 +0100 @@ -138,12 +138,12 @@ # try again without noatime try: return file_contents_ro_filepath(db_path) - except OSError: - raise BadObject(sha) + except OSError as new_e: + raise BadObject(sha) from new_e # didn't work because of our flag, don't try it again self._fd_open_flags = 0 else: - raise BadObject(sha) + raise BadObject(sha) from e # END handle error # END exception handling diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb/db/mem.py new/gitdb-4.0.7/gitdb/db/mem.py --- old/gitdb-4.0.5/gitdb/db/mem.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.7/gitdb/db/mem.py 2021-01-21 06:15:15.000000000 +0100 @@ -74,8 +74,8 @@ # rewind stream for the next one to read ostream.stream.seek(0) return ostream - except KeyError: - raise BadObject(sha) + except KeyError as e: + raise BadObject(sha) from e # END exception handling def size(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb/util.py new/gitdb-4.0.7/gitdb/util.py --- old/gitdb-4.0.5/gitdb/util.py 2020-02-15 02:33:41.000000000 +0100 +++ new/gitdb-4.0.7/gitdb/util.py 2021-01-21 06:15:15.000000000 +0100 @@ -326,8 +326,8 @@ else: self._fd = fd # END handle file descriptor - except OSError: - raise IOError("Lock at %r could not be obtained" % self._lockfilepath()) + except OSError as e: + raise IOError("Lock at %r could not be obtained" % self._lockfilepath()) from e # END handle lock retrieval # open actual file if required diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb.egg-info/PKG-INFO new/gitdb-4.0.7/gitdb.egg-info/PKG-INFO --- old/gitdb-4.0.5/gitdb.egg-info/PKG-INFO 2020-05-05 05:50:26.000000000 +0200 +++ new/gitdb-4.0.7/gitdb.egg-info/PKG-INFO 2021-03-26 15:25:56.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: gitdb -Version: 4.0.5 +Version: 4.0.7 Summary: Git Object Database Home-page: https://github.com/gitpython-developers/gitdb Author: Sebastian Thiel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/gitdb.egg-info/requires.txt new/gitdb-4.0.7/gitdb.egg-info/requires.txt --- old/gitdb-4.0.5/gitdb.egg-info/requires.txt 2020-05-05 05:50:26.000000000 +0200 +++ new/gitdb-4.0.7/gitdb.egg-info/requires.txt 2021-03-26 15:25:56.000000000 +0100 @@ -1 +1 @@ -smmap<4,>=3.0.1 +smmap<5,>=3.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gitdb-4.0.5/setup.py new/gitdb-4.0.7/setup.py --- old/gitdb-4.0.5/setup.py 2020-05-05 05:41:32.000000000 +0200 +++ new/gitdb-4.0.7/setup.py 2021-03-26 15:25:19.000000000 +0100 @@ -7,7 +7,7 @@ __author__ = "Sebastian Thiel" __contact__ = "[email protected]" __homepage__ = "https://github.com/gitpython-developers/gitdb" -version_info = (4, 0, 5) +version_info = (4, 0, 7) __version__ = '.'.join(str(i) for i in version_info) setup( @@ -20,7 +20,7 @@ packages=('gitdb', 'gitdb.db', 'gitdb.utils', 'gitdb.test'), license="BSD License", zip_safe=False, - install_requires=['smmap>=3.0.1,<4'], + install_requires=['smmap>=3.0.1,<5'], long_description="""GitDB is a pure-Python git object database""", python_requires='>=3.4', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
