Hello community, here is the log from the commit of package python3-py for openSUSE:Factory checked in at 2015-12-13 09:35:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-py (Old) and /work/SRC/openSUSE:Factory/.python3-py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-py" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-py/python3-py-doc.changes 2015-07-14 17:44:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-py.new/python3-py-doc.changes 2015-12-13 09:35:33.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Nov 28 17:52:55 UTC 2015 - [email protected] + +- update to version 1.4.31: + * fix local().copy(dest, mode=True) to also work with unicode. + * pass better error message with svn EEXIST paths + +------------------------------------------------------------------- python3-py.changes: same change Old: ---- py-1.4.30.tar.gz New: ---- py-1.4.31.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-py-doc.spec ++++++ --- /var/tmp/diff_new_pack.7sjUTS/_old 2015-12-13 09:35:34.000000000 +0100 +++ /var/tmp/diff_new_pack.7sjUTS/_new 2015-12-13 09:35:34.000000000 +0100 @@ -17,7 +17,7 @@ Name: python3-py-doc -Version: 1.4.30 +Version: 1.4.31 Release: 0 Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT python3-py.spec: same change ++++++ py-1.4.30.tar.gz -> py-1.4.31.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/CHANGELOG new/py-1.4.31/CHANGELOG --- old/py-1.4.30/CHANGELOG 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/CHANGELOG 2015-11-27 21:48:11.000000000 +0100 @@ -1,3 +1,11 @@ +1.4.31 +================================================== + +- fix local().copy(dest, mode=True) to also work + with unicode. + +- pass better error message with svn EEXIST paths + 1.4.30 ================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/PKG-INFO new/py-1.4.31/PKG-INFO --- old/py-1.4.30/PKG-INFO 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/PKG-INFO 2015-11-27 21:48:12.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: py -Version: 1.4.30 +Version: 1.4.31 Summary: library with cross-python path, ini-parsing, io, code, log facilities Home-page: http://pylib.readthedocs.org/ Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/py/__init__.py new/py-1.4.31/py/__init__.py --- old/py-1.4.30/py/__init__.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/py/__init__.py 2015-11-27 21:48:11.000000000 +0100 @@ -8,7 +8,7 @@ (c) Holger Krekel and others, 2004-2014 """ -__version__ = '1.4.30' +__version__ = '1.4.31' from py import _apipkg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/py/_path/common.py new/py-1.4.31/py/_path/common.py --- old/py-1.4.30/py/_path/common.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/py/_path/common.py 2015-11-27 21:48:11.000000000 +0100 @@ -219,7 +219,7 @@ strrelpath += self.sep #assert strrelpath[-1] == self.sep #assert strrelpath[-2] != self.sep - strself = str(self) + strself = self.strpath if sys.platform == "win32" or getattr(os, '_name', None) == 'nt': if os.path.normcase(strself).startswith( os.path.normcase(strrelpath)): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/py/_path/local.py new/py-1.4.31/py/_path/local.py --- old/py-1.4.30/py/_path/local.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/py/_path/local.py 2015-11-27 21:48:11.000000000 +0100 @@ -410,7 +410,7 @@ assert self!=target copychunked(self, target) if mode: - copymode(self, target) + copymode(self.strpath, target.strpath) else: def rec(p): return p.check(link=0) @@ -426,7 +426,7 @@ elif x.check(dir=1): newx.ensure(dir=1) if mode: - copymode(x, newx) + copymode(x.strpath, newx.strpath) def rename(self, target): """ rename this path to target. """ @@ -590,7 +590,7 @@ if rec: for x in self.visit(rec=rec): py.error.checked_call(os.chmod, str(x), mode) - py.error.checked_call(os.chmod, str(self), mode) + py.error.checked_call(os.chmod, self.strpath, mode) def pypkgpath(self): """ return the Python package path by looking for the last @@ -887,7 +887,7 @@ make_numbered_dir = classmethod(make_numbered_dir) def copymode(src, dest): - py.std.shutil.copymode(str(src), str(dest)) + py.std.shutil.copymode(src, dest) def copychunked(src, dest): chunksize = 524288 # half a meg of bytes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/py/_path/svnwc.py new/py-1.4.31/py/_path/svnwc.py --- old/py-1.4.30/py/_path/svnwc.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/py/_path/svnwc.py 2015-11-27 21:48:11.000000000 +0100 @@ -490,7 +490,7 @@ strerr.find('file already exists') != -1 or strerr.find('w150002:') != -1 or strerr.find("can't create directory") != -1): - raise py.error.EEXIST(self) + raise py.error.EEXIST(strerr) #self) raise return out diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/py.egg-info/PKG-INFO new/py-1.4.31/py.egg-info/PKG-INFO --- old/py-1.4.30/py.egg-info/PKG-INFO 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/py.egg-info/PKG-INFO 2015-11-27 21:48:12.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: py -Version: 1.4.30 +Version: 1.4.31 Summary: library with cross-python path, ini-parsing, io, code, log facilities Home-page: http://pylib.readthedocs.org/ Author: holger krekel, Ronny Pfannschmidt, Benjamin Peterson and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/setup.cfg new/py-1.4.31/setup.cfg --- old/py-1.4.30/setup.cfg 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/setup.cfg 2015-11-27 21:48:12.000000000 +0100 @@ -1,6 +1,9 @@ [wheel] universal = 1 +[devpi:upload] +formats = sdist.tgz,bdist_wheel + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/setup.py new/py-1.4.31/setup.py --- old/py-1.4.30/setup.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/setup.py 2015-11-27 21:48:11.000000000 +0100 @@ -7,7 +7,7 @@ name='py', description='library with cross-python path, ini-parsing, io, code, log facilities', long_description = open('README.txt').read(), - version='1.4.30', + version='1.4.31', url='http://pylib.readthedocs.org/', license='MIT license', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/testing/log/test_warning.py new/py-1.4.31/testing/log/test_warning.py --- old/py-1.4.30/testing/log/test_warning.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/testing/log/test_warning.py 2015-11-27 21:48:11.000000000 +0100 @@ -1,8 +1,11 @@ +import pytest import py + mypath = py.path.local(__file__).new(ext=".py") [email protected] def test_forwarding_to_warnings_module(): - py.test.deprecated_call(py.log._apiwarn, "1.3", "..") + pytest.deprecated_call(py.log._apiwarn, "1.3", "..") def test_apiwarn_functional(recwarn): capture = py.io.StdCapture() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-1.4.30/testing/path/test_local.py new/py-1.4.31/testing/path/test_local.py --- old/py-1.4.30/testing/path/test_local.py 2015-06-26 12:31:25.000000000 +0200 +++ new/py-1.4.31/testing/path/test_local.py 2015-11-27 21:48:11.000000000 +0100 @@ -771,7 +771,8 @@ x.chmod(y) def test_copy_archiving(self, tmpdir): - f = tmpdir.ensure("a", "file1") + unicode_fn = u"something-\342\200\223.txt" + f = tmpdir.ensure("a", unicode_fn) a = f.dirpath() oldmode = f.stat().mode newmode = oldmode ^ 1
