[py-svn] commit/py: 3 new changesets
Bitbucket
commits-noreply at bitbucket.org
Tue Feb 15 13:52:57 CET 2011
3 new changesets in py:
http://bitbucket.org/hpk42/py/changeset/1f3125cba797/
changeset: r2005:1f3125cba797
user: hpk42
date: 2011-02-07 11:27:20
summary: finalize 1.4.1
affected #: 2 files (1.8 KB)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/announce/release-1.4.1.txt Mon Feb 07 11:27:20 2011 +0100
@@ -0,0 +1,47 @@
+
+.. _`release-1.4.1`:
+
+py-1.4.1: cross-python lib for fs path, code, io, ... manipulations
+===========================================================================
+
+This is a bug fix release of the "py" lib, see below for detailed changes.
+The py lib is a small library comprising APIs for filesystem and svn path
+manipulations, dynamic code construction and introspection, a Py2/Py3
+compatibility namespace ("py.builtin"), IO capturing, terminal colored printing
+(on windows and linux), ini-file parsing and a lazy import mechanism.
+It runs unmodified on all Python interpreters compatible to Python2.4 up
+until Python 3.2, PyPy and Jython. The general goal with "py" is to
+provide stable APIs for some common tasks that are continously tested
+against many Python interpreters and thus also to help transition. Here
+are some docs:
+
+ http://pylib.org
+
+NOTE: The prior py-1.3.X versions contained "py.test" which since py-1.4.0
+comes as its own separate "pytest" distribution, see:
+
+ http://pytest.org
+
+Also, the "py.cleanup|py.lookup|py.countloc" helpers are now part of
+the pycmd distribution, see http://pypi.python.org/pypi/pycmd
+
+
+Changes between 1.4.0 and 1.4.1
+==================================================
+
+- fix issue1 - py.error.* classes to be pickleable
+
+- fix issue2 - on windows32 use PATHEXT as the list of potential
+ extensions to find find binaries with py.path.local.sysfind(commandname)
+
+- fix (pytest-) issue10 and refine assertion reinterpretation
+ to avoid breaking if the __nonzero__ of an object fails
+
+- fix (pytest-) issue17 where python3 does not like star-imports,
+ leading to misrepresentation of import-errors in test modules
+
+- fix ``py.error.*`` attribute pypy access
+
+- allow path.samefile(arg) to succeed when arg is a relative filename
+
+- fix (pytest-) issue20 path.samefile(relpath) works as expected now
--- a/doc/index.txt Thu Feb 03 16:56:33 2011 +0100
+++ b/doc/index.txt Mon Feb 07 11:27:20 2011 +0100
@@ -6,7 +6,7 @@
Welcome to py's documentation!
=================================
-:ref:`1.4.0 release announcement <release-1.4.0>` and :ref:`CHANGELOG <changelog>`
+:ref:`1.4.1 release announcement <release-1.4.1>` and :ref:`CHANGELOG <changelog>`
.. note::
http://bitbucket.org/hpk42/py/changeset/20e2ce010a65/
changeset: r2006:20e2ce010a65
user: hpk42
date: 2011-02-07 11:27:23
summary: Added tag 1.4.1 for changeset 1f3125cba797
affected #: 1 file (47 bytes)
--- a/.hgtags Mon Feb 07 11:27:20 2011 +0100
+++ b/.hgtags Mon Feb 07 11:27:23 2011 +0100
@@ -32,3 +32,4 @@
79ef6377705184c55633d456832eea318fedcf61 1.3.4
90fffd35373e9f125af233f78b19416f0938d841 1.3.4
5346ab41b059c95a48cbe1e8a7bae96ce6e0da27 1.4.0
+1f3125cba7976538952be268f107c1d0c36c5ce8 1.4.1
http://bitbucket.org/hpk42/py/changeset/0f5a580bf1ff/
changeset: r2007:0f5a580bf1ff
user: hpk42
date: 2011-02-15 13:50:54
summary: fix issue23 (reported on pytest issue tracker) by catching NotImplementedError which is apparently raised on some windows machines
affected #: 4 files (350 bytes)
--- a/py/__init__.py Mon Feb 07 11:27:23 2011 +0100
+++ b/py/__init__.py Tue Feb 15 13:50:54 2011 +0100
@@ -8,7 +8,7 @@
(c) Holger Krekel and others, 2004-2010
"""
-__version__ = '1.4.1'
+__version__ = '1.4.2.dev0'
from py import _apipkg
--- a/py/_path/local.py Mon Feb 07 11:27:23 2011 +0100
+++ b/py/_path/local.py Tue Feb 15 13:50:54 2011 +0100
@@ -749,7 +749,7 @@
pass
try:
os.symlink(src, dest)
- except (OSError, AttributeError): # AttributeError on win32
+ except (OSError, AttributeError, NotImplementedError):
pass
return udir
--- a/setup.py Mon Feb 07 11:27:23 2011 +0100
+++ b/setup.py Tue Feb 15 13:50:54 2011 +0100
@@ -9,7 +9,7 @@
name='py',
description='library with cross-python path, ini-parsing, io, code, log facilities',
long_description = open('README.txt').read(),
- version='1.4.1',
+ version='1.4.2.dev0',
url='http://pylib.org',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
@@ -37,4 +37,4 @@
)
if __name__ == '__main__':
- main()
\ No newline at end of file
+ main()
--- a/testing/path/test_local.py Mon Feb 07 11:27:23 2011 +0100
+++ b/testing/path/test_local.py Tue Feb 15 13:50:54 2011 +0100
@@ -280,6 +280,14 @@
if i>=3:
assert not numdir.new(ext=str(i-3)).check()
+ def test_make_numbered_dir_NotImplemented_Error(self, tmpdir, monkeypatch):
+ def notimpl(x, y):
+ raise NotImplementedError(42)
+ monkeypatch.setattr(py.std.os, 'symlink', notimpl)
+ x = tmpdir.make_numbered_dir(rootdir=tmpdir, lock_timeout=0)
+ assert x.relto(tmpdir)
+ assert x.check()
+
def test_locked_make_numbered_dir(self, tmpdir):
for i in range(10):
numdir = local.make_numbered_dir(prefix='base2.', rootdir=tmpdir,
Repository URL: https://bitbucket.org/hpk42/py/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list