Hello community, here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2014-01-07 16:27:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pytest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes 2013-09-27 18:02:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 2014-01-07 16:27:11.000000000 +0100 @@ -1,0 +2,54 @@ +Fri Jan 3 08:43:16 UTC 2014 - mvysko...@suse.com + +- Update to 2.5.1: + + merge new documentation styling PR from Tobias Bieniek. + + fix issue403: allow parametrize of multiple same-name functions within + a collection node. + + Allow parameterized fixtures to specify the ID of the parameters by + adding an ids argument to pytest.fixture() and pytest.yield_fixture(). + + fix issue404 by always using the binary xml escape in the junitxml + plugin. + + fix issue407: fix addoption docstring to point to argparse instead of + optparse. + * 2.5.0: + + dropped python2.5 from automated release testing of pytest itself + which means it's probably going to break soon + + simplified and fixed implementation for calling finalizers when + parametrized fixtures or function arguments are involved. finalization + is now performed lazily at setup time instead of in the "teardown phase". + + PR90: add --color=yes|no|auto option to force terminal coloring + mode ("auto" is default). + + fix issue319 - correctly show unicode in assertion errors. Also means + we depend on py>=1.4.19 now. + + fix issue396 - correctly sort and finalize class-scoped parametrized + tests independently from number of methods on the class. + + refix issue323 in a better way -- parametrization should now never + cause Runtime Recursion errors because the underlying algorithm + for re-ordering tests per-scope/per-fixture is not recursive + anymore + + fix issue290 - there is preliminary support now for parametrizing + with repeated same values (sometimes useful to to test if calling + a second time works as with the first time). + + close issue240 - document precisely how pytest module importing + works, discuss the two common test directory layouts, and how it + interacts with PEP420-namespace packages. + + fix issue246 fix finalizer order to be LIFO on independent fixtures + depending on a parametrized higher-than-function scoped fixture. + (was quite some effort so please bear with the complexity of + this sentence :) + + fix issue244 by implementing special index for parameters to only use + indices for paramentrized test ids + + fix issue287 by running all finalizers but saving the exception + from the first failing finalizer and re-raising it so teardown will + still have failed. We reraise the first failing exception because + it might be the cause for other finalizers to fail. + + fix ordering when mock.patch or other standard decorator-wrappings + are used with test methods. This fixues issue346 and should + help with random "xdist" collection failures. Thanks to + Ronny Pfannschmidt and Donald Stufft for helping to isolate it. + + and many more, see CHANGELOG for details +- require python3-py at least 1.4.19 +- mark /etc/alternatives/py.test as ghost file for openSUSE 12.3+ +- skip test_simple.yml from %check + +------------------------------------------------------------------- Old: ---- pytest-2.3.5.tar.gz New: ---- pytest-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest.spec ++++++ --- /var/tmp/diff_new_pack.RUfFlm/_old 2014-01-07 16:27:11.000000000 +0100 +++ /var/tmp/diff_new_pack.RUfFlm/_new 2014-01-07 16:27:11.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-pytest -Version: 2.3.5 +Version: 2.5.1 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -30,8 +30,8 @@ # Documentation requirements: BuildRequires: python-Sphinx # Test requirements: -BuildRequires: python-py -Requires: python-py +BuildRequires: python-py >= 1.4.19 +Requires: python-py >= 1.4.19 Requires(post): update-alternatives Requires(postun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -69,6 +69,11 @@ %if 0%{?suse_version} > 1110 %check +#FIXME (mvyskocil): test fail on doc/en/example/nonpython/test_simple.yml +#maybe too old python-PyYAML package? Factory has 3.12, where latest upstream is 13.12.0 +mv doc/en/example/nonpython/test_simple.yml doc/en/example/nonpython/_test_simple.yml +mv doc/ja/example/nonpython/test_simple.yml doc/ja/example/nonpython/_test_simple.yml + python setup.py test %endif @@ -90,7 +95,10 @@ %files %defattr(-,root,root,-) -%doc LICENSE README.rst build/sphinx/html +%doc LICENSE README.rst doc/build/html +%if 0%{?suse_version} >= 1230 +%ghost %{_sysconfdir}/alternatives/py.test +%endif %ghost %{_bindir}/py.test %{_bindir}/py.test-%{py_ver} %{python_sitelib}/* ++++++ pytest-2.3.5.tar.gz -> pytest-2.5.1.tar.gz ++++++ ++++ 17411 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org