[py-svn] pytest commit 026cb4b8eebd: bumping version to a dev version, run tests by using python PyPI by default

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Nov 26 15:43:09 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pytest
# URL http://bitbucket.org/hpk42/pytest/overview
# User holger krekel <holger at merlinux.eu>
# Date 1290775020 -3600
# Node ID 026cb4b8eebd6b30617475bf9ccdba76999ad86a
# Parent  2e4c9cdd531abbc69a90cd8615ea0d72ab479e58
bumping version to a dev version, run tests by using python PyPI by default

--- a/doc/Makefile
+++ b/doc/Makefile
@@ -40,7 +40,7 @@ clean:
 	-rm -rf $(BUILDDIR)/*
 
 install: clean html
-	rsync -avz _build/html/ code:www-pytest/2.0.0
+	rsync -avz _build/html/ code:www-pytest/
 
 html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

--- a/tox.ini
+++ b/tox.ini
@@ -2,20 +2,20 @@
 distshare={homedir}/.tox/distshare
 envlist=py26,py27,py31,py32,py27-xdist,py25,py24
 indexserver=
-    default = http://pypi.testrun.org
-    pypi = http://pypi.python.org/simple
+    default = http://pypi.python.org/simple
+    testrun = http://pypi.testrun.org
 
 [testenv]
 changedir=testing
 commands= py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
 deps=
-    :pypi:pexpect
-    :pypi:nose
+    pexpect
+    nose
 
 [testenv:genscript]
 changedir=.
 commands= py.test --genscript=pytest1
-deps=py>=1.4.0a2
+deps=py>=1.4.0
 
 [testenv:py27-xdist]
 changedir=.
@@ -28,7 +28,7 @@ commands=
 [testenv:trial]
 changedir=.
 basepython=python2.6
-deps=:pypi:twisted
+deps=twisted
 commands=
   py.test -rsxf \
         --junitxml={envlogdir}/junit-{envname}.xml [testing/test_unittest.py]
@@ -41,14 +41,14 @@ deps=
 [testenv:doc]
 basepython=python
 changedir=doc
-deps=:pypi:sphinx
+deps=sphinx
      pytest
 
 commands=
     make html
 
 [testenv:py31]
-deps=py>=1.4.0a2
+deps=py>=1.4.0
 
 [testenv:py31-xdist]
 deps=pytest-xdist
@@ -57,7 +57,7 @@ commands=
         --junitxml={envlogdir}/junit-{envname}.xml []
 
 [testenv:py32]
-deps=py>=1.4.0a2
+deps=py>=1.4.0
 
 [testenv:pypy]
 basepython=pypy-c

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,9 @@
-Changes between 1.3.4 and 2.0.0dev0
+Changes between 2.0.0 and 2.0.1.dev1
+----------------------------------------------
+
+- refinements to terminal output
+
+Changes between 1.3.4 and 2.0.0
 ----------------------------------------------
 
 - pytest-2.0 is now its own package and depends on pylib-2.0

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -49,7 +49,7 @@ copyright = u'2010, holger krekel et ali
 # built documents.
 #
 # The short X.Y version.
-version = '2.0.0'
+version = '2.0'
 # The full version, including alpha/beta/rc tags.
 import py, pytest
 assert py.path.local().relto(py.path.local(pytest.__file__).dirpath().dirpath())

--- a/_pytest/terminal.py
+++ b/_pytest/terminal.py
@@ -136,6 +136,9 @@ class TerminalReporter:
             self._tw.line()
             self.currentfspath = None
 
+    def write(self, content, **markup):
+        self._tw.write(content, **markup)
+
     def write_line(self, line, **markup):
         line = str(line)
         self.ensure_newline()
@@ -215,7 +218,7 @@ class TerminalReporter:
 
     def pytest_collection(self):
         if not self.hasmarkup:
-            self.write_line("collecting ...", bold=True)
+            self.write("collecting ... ", bold=True)
 
     def pytest_collectreport(self, report):
         if report.failed:

--- a/pytest.py
+++ b/pytest.py
@@ -1,7 +1,7 @@
 """
 unit and functional testing with Python.
 """
-__version__ = '2.0.0'
+__version__ = '2.0.1.dev1'
 __all__ = ['main']
 
 from _pytest.core import main, UsageError, _preloadplugins

--- a/setup.py
+++ b/setup.py
@@ -22,14 +22,14 @@ def main():
         name='pytest',
         description='py.test: simple powerful testing with Python',
         long_description = long_description,
-        version='2.0.0',
+        version='2.0.1.dev1',
         url='http://pytest.org',
         license='MIT license',
         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
         author='holger krekel, Guido Wesdorp, Carl Friedrich Bolz, Armin Rigo, Maciej Fijalkowski & others',
         author_email='holger at merlinux.eu',
         entry_points= make_entry_points(),
-        install_requires=['py>=1.4.0a2'],
+        install_requires=['py>=1.4.0'],
         classifiers=['Development Status :: 5 - Production/Stable',
                      'Intended Audience :: Developers',
                      'License :: OSI Approved :: MIT License',



More information about the pytest-commit mailing list