Hello community,

here is the log from the commit of package python3-pytest for openSUSE:Factory 
checked in at 2014-07-31 21:50:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pytest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pytest"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pytest/python3-pytest.changes    
2014-07-25 09:09:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pytest.new/python3-pytest.changes       
2014-07-31 21:50:38.000000000 +0200
@@ -1,0 +2,74 @@
+Wed Jul 30 07:38:02 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 2.6.0
+  - Cache exceptions from fixtures according to their scope (issue 467).
+  - fix issue537: Avoid importing old assertion reinterpretation code by 
default.
+  - fix issue364: shorten and enhance tracebacks representation by default.  
+    The new "--tb=auto" option (default) will only display long tracebacks
+    for the first and last entry.  You can get the old behaviour of printing
+    all entries as long entries with "--tb=long".  Also short entries by
+    default are now printed very similarly to "--tb=native" ones.
+  - fix issue514: teach assertion reinterpretation about private class 
attributes
+  - change -v output to include full node IDs of tests.  Users can copy
+    a node ID from a test run, including line number, and use it as a
+    positional argument in order to run only a single test.
+  - fix issue 475: fail early and comprehensible if calling
+    pytest.raises with wrong exception type.
+  - fix issue516: tell in getting-started about current dependencies.
+  - cleanup setup.py a bit and specify supported versions. Thanks Jurko
+    Gospodnetic for the PR.
+  - change XPASS colour to yellow rather then red when tests are run
+    with -v.
+  - fix issue473: work around mock putting an unbound method into a class
+    dict when double-patching.
+  - fix issue498: if a fixture finalizer fails, make sure that 
+    the fixture is still invalidated.
+  - fix issue453: the result of the pytest_assertrepr_compare hook now gets
+    it's newlines escaped so that format_exception does not blow up.
+  - internal new warning system: pytest will now produce warnings when
+    it detects oddities in your test collection or execution.  
+    Warnings are ultimately sent to a new pytest_logwarning hook which is
+    currently only implemented by the terminal plugin which displays
+    warnings in the summary line and shows more details when -rw (report on
+    warnings) is specified.
+  - change skips into warnings for test classes with an __init__ and
+    callables in test modules which look like a test but are not functions.
+  - fix issue436: improved finding of initial conftest files from command
+    line arguments by using the result of parse_known_args rather than
+    the previous flaky heuristics.  Thanks Marc Abramowitz for tests
+    and initial fixing approaches in this area.
+  - fix issue #479: properly handle nose/unittest(2) SkipTest exceptions
+    during collection/loading of test modules.  Thanks to Marc Schlaich
+    for the complete PR.
+  - fix issue490: include pytest_load_initial_conftests in documentation
+    and improve docstring.
+  - fix issue472: clarify that ``pytest.config.getvalue()`` cannot work
+    if it's triggered ahead of command line parsing.
+  - merge PR123: improved integration with mock.patch decorator on tests.
+  - fix issue412: messing with stdout/stderr FD-level streams is now
+    captured without crashes.
+  - fix issue483: trial/py33 works now properly.  Thanks Daniel Grana for PR.
+  - improve example for pytest integration with "python setup.py test"
+    which now has a generic "-a" or "--pytest-args" option where you
+    can pass additional options as a quoted string.  Thanks Trevor Bekolay.
+  - simplified internal capturing mechanism and made it more robust
+    against tests or setups changing FD1/FD2, also better integrated
+    now with pytest.pdb() in single tests.
+  - improvements to pytest's own test-suite leakage detection, courtesy of PRs
+    from Marc Abramowitz
+  - fix issue492: avoid leak in test_writeorg.  Thanks Marc Abramowitz.
+  - fix issue493: don't run tests in doc directory with ``python setup.py 
test`` 
+    (use tox -e doctesting for that)
+  - fix issue486: better reporting and handling of early conftest loading 
failures
+  - some cleanup and simplification of internal conftest handling.
+  - work a bit harder to break reference cycles when catching exceptions.
+    Thanks Jurko Gospodnetic.
+  - fix issue443: fix skip examples to use proper comparison.  Thanks Alex
+    Groenholm.
+  - support nose-style ``__test__`` attribute on modules, classes and
+    functions, including unittest-style Classes.  If set to False, the 
+    test will not be collected.  
+  - fix issue512: show "<notset>" for arguments which might not be set
+    in monkeypatch plugin.  Improves output in documentation.
+
+-------------------------------------------------------------------

Old:
----
  pytest-2.5.2.tar.gz

New:
----
  pytest-2.6.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pytest.spec ++++++
--- /var/tmp/diff_new_pack.IomTIS/_old  2014-07-31 21:50:40.000000000 +0200
+++ /var/tmp/diff_new_pack.IomTIS/_new  2014-07-31 21:50:40.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pytest
-Version:        2.5.2
+Version:        2.6.0
 Release:        0
 Summary:        Simple powerful testing with Python
 License:        MIT
@@ -35,8 +35,8 @@
 BuildRequires:  python3-mock
 %endif
 BuildRequires:  python3-PyYAML
-BuildRequires:  python3-py >= 1.4.20
-Requires:       python3-py >= 1.4.20
+BuildRequires:  python3-py >= 1.4.22
+Requires:       python3-py >= 1.4.22
 Requires:       python3-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -60,20 +60,20 @@
 %prep
 %setup -q -n pytest-%{version}
 #TODO(saschpe): Fix failing tests:
-rm testing/test_junitxml.py
+# rm testing/test_junitxml.py
 
 %build
 python3 setup.py build
 python3 setup.py build_sphinx
+rm doc/build/html/.buildinfo
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 rm %{buildroot}%{_bindir}/py.test 
 ln -s %{_bindir}/py.test-%{py3_ver} %{buildroot}%{_bindir}/py.test
 
-#%%check
-#TODO(saschpe): Not much missing anymore:
-#PATH=%{buildroot}%{_bindir}:$PATH PYTHONPATH=%{buildroot}%{python3_sitelib}/ 
py.test-%{py3_ver}
+%check
+python3 setup.py test 
 
 %pre
 # Since /usr/bin/py.test became ghosted to be used

++++++ pytest-2.5.2.tar.gz -> pytest-2.6.0.tar.gz ++++++
++++ 7620 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to