diff --git a/pytest-2.8.2.tar.gz b/pytest-2.8.2.tar.gz deleted file mode 100644 index 3c0326d..0000000 --- a/pytest-2.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da2fc57320dd11f621d166634c52b989aa2291af1296c32a27a11777aa4128b9 -size 563955 diff --git a/pytest-2.8.7.tar.gz b/pytest-2.8.7.tar.gz new file mode 100644 index 0000000..b5d7236 --- /dev/null +++ b/pytest-2.8.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc4c86be54fce08e4b85b646a736efa18c6cde7599c1d2919f4f74629e018baf +size 564943 diff --git a/python-pytest-doc.changes b/python-pytest-doc.changes index 4e687ef..785836f 100644 --- a/python-pytest-doc.changes +++ b/python-pytest-doc.changes @@ -1,3 +1,73 @@ +------------------------------------------------------------------- +Mon Feb 1 11:02:42 UTC 2016 - toddrme2178@gmail.com + +- update to version 2.8.7: + * fix #1338: use predictable object resolution for monkeypatch +- changes from version 2.8.6: + * fix #1259: allow for double nodeids in junitxml, this was a + regression failing plugins combinations like pytest-pep8 + + pytest-flakes + * Workaround for exception that occurs in pyreadline when using + --pdb with standard I/O capture enabled. Thanks Erik M. Bray for + the PR. + * fix #900: Better error message in case the target of a monkeypatch + call raises an ImportError. + * fix #1292: monkeypatch calls (setattr, setenv, etc.) are now + O(1). Thanks David R. MacIver for the report and Bruno Oliveira + for the PR. + * fix #1223: captured stdout and stderr are now properly displayed + before entering pdb when --pdb is used instead of being thrown + away. Thanks Cal Leeming for the PR. + * fix #1305: pytest warnings emitted during pytest_terminal_summary + are now properly displayed. Thanks Ionel Maries Cristian for the + report and Bruno Oliveira for the PR. + * fix #628: fixed internal UnicodeDecodeError when doctests contain + unicode. Thanks Jason R. Coombs for the report and Bruno Oliveira + for the PR. + * fix #1334: Add captured stdout to jUnit XML report on setup + error. Thanks Georgy Dyuldin for the PR. +- Update to version 2.8.5 + * fix #1243: fixed issue where class attributes injected during + collection could break pytest. + fix #1074: precompute junitxml chunks instead of storing the + whole tree in objects + fix #1238: fix pytest.deprecated_call() receiving multiple + arguments (Regression introduced in 2.8.4). +- update to version 2.8.4: + * fix #1190: deprecated_call() now works when the deprecated + function has been already called by another test in the same + module. Thanks Mikhail Chernykh for the report and Bruno Oliveira + for the PR. + * fix #1198: --pastebin option now works on Python 3. Thanks Mehdy + Khoshnoody for the PR. + * fix #1219: --pastebin now works correctly when captured output + contains non-ascii characters. Thanks Bruno Oliveira for the PR. + * fix #1204: another error when collecting with a nasty + __getattr__(). Thanks Florian Bruhin for the PR. + * fix the summary printed when no tests did run. Thanks Florian + Bruhin for the PR. + * a number of documentation modernizations wrt good + practices. Thanks Bruno Oliveira for the PR. +- update to version 2.8.3: + * fix #1169: add __name__ attribute to testcases in TestCaseFunction + to support the @unittest.skip decorator on functions and methods. + Thanks Lee Kamentsky for the PR. + * fix #1035: collecting tests if test module level obj has + __getattr__(). Thanks Suor for the report and Bruno Oliveira / + Tom Viner for the PR. + * fix #331: don't collect tests if their failure cannot be reported + correctly e.g. they are a callable instance of a class. + * fix #1133: fixed internal error when filtering tracebacks where + one entry belongs to a file which is no longer available. Thanks + Bruno Oliveira for the PR. + * enhancement made to highlight in red the name of the failing tests + so they stand out in the output. Thanks Gabriel Reis for the PR. + * add more talks to the documentation + * extend documentation on the --ignore cli option + * use pytest-runner for setuptools integration + * minor fixes for interaction with OS X El Capitan system integrity + protection (thanks Florian) + ------------------------------------------------------------------- Sun May 24 10:57:07 UTC 2015 - toddrme2178@gmail.com diff --git a/python-pytest-doc.spec b/python-pytest-doc.spec index 701d255..a65e0d7 100644 --- a/python-pytest-doc.spec +++ b/python-pytest-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-doc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX 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-doc -Version: 2.8.2 +Version: 2.8.7 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -26,9 +26,7 @@ Url: http://pytest.org Source: http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-Sphinx -BuildRequires: python-pytest -BuildRequires: unzip -Recommends: python-pytest +BuildRequires: python-py >= 1.4.22 %if 0%{?suse_version} && 0%{?suse_version} > 1110 BuildArch: noarch %endif @@ -55,12 +53,14 @@ This package contains the documentation for pytest %build python setup.py build_sphinx +rm doc/build/html/.buildinfo %install # Only building documentation %files %defattr(-,root,root,-) -%doc LICENSE doc/build/html +%doc LICENSE CHANGELOG +%doc doc/build/html %changelog diff --git a/python-pytest.changes b/python-pytest.changes index 09f4812..f2fff1a 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,73 @@ +------------------------------------------------------------------- +Mon Feb 1 11:02:42 UTC 2016 - toddrme2178@gmail.com + +- update to version 2.8.7: + * fix #1338: use predictable object resolution for monkeypatch +- changes from version 2.8.6: + * fix #1259: allow for double nodeids in junitxml, this was a + regression failing plugins combinations like pytest-pep8 + + pytest-flakes + * Workaround for exception that occurs in pyreadline when using + --pdb with standard I/O capture enabled. Thanks Erik M. Bray for + the PR. + * fix #900: Better error message in case the target of a monkeypatch + call raises an ImportError. + * fix #1292: monkeypatch calls (setattr, setenv, etc.) are now + O(1). Thanks David R. MacIver for the report and Bruno Oliveira + for the PR. + * fix #1223: captured stdout and stderr are now properly displayed + before entering pdb when --pdb is used instead of being thrown + away. Thanks Cal Leeming for the PR. + * fix #1305: pytest warnings emitted during pytest_terminal_summary + are now properly displayed. Thanks Ionel Maries Cristian for the + report and Bruno Oliveira for the PR. + * fix #628: fixed internal UnicodeDecodeError when doctests contain + unicode. Thanks Jason R. Coombs for the report and Bruno Oliveira + for the PR. + * fix #1334: Add captured stdout to jUnit XML report on setup + error. Thanks Georgy Dyuldin for the PR. +- Update to version 2.8.5 + * fix #1243: fixed issue where class attributes injected during + collection could break pytest. + fix #1074: precompute junitxml chunks instead of storing the + whole tree in objects + fix #1238: fix pytest.deprecated_call() receiving multiple + arguments (Regression introduced in 2.8.4). +- update to version 2.8.4: + * fix #1190: deprecated_call() now works when the deprecated + function has been already called by another test in the same + module. Thanks Mikhail Chernykh for the report and Bruno Oliveira + for the PR. + * fix #1198: --pastebin option now works on Python 3. Thanks Mehdy + Khoshnoody for the PR. + * fix #1219: --pastebin now works correctly when captured output + contains non-ascii characters. Thanks Bruno Oliveira for the PR. + * fix #1204: another error when collecting with a nasty + __getattr__(). Thanks Florian Bruhin for the PR. + * fix the summary printed when no tests did run. Thanks Florian + Bruhin for the PR. + * a number of documentation modernizations wrt good + practices. Thanks Bruno Oliveira for the PR. +- update to version 2.8.3: + * fix #1169: add __name__ attribute to testcases in TestCaseFunction + to support the @unittest.skip decorator on functions and methods. + Thanks Lee Kamentsky for the PR. + * fix #1035: collecting tests if test module level obj has + __getattr__(). Thanks Suor for the report and Bruno Oliveira / + Tom Viner for the PR. + * fix #331: don't collect tests if their failure cannot be reported + correctly e.g. they are a callable instance of a class. + * fix #1133: fixed internal error when filtering tracebacks where + one entry belongs to a file which is no longer available. Thanks + Bruno Oliveira for the PR. + * enhancement made to highlight in red the name of the failing tests + so they stand out in the output. Thanks Gabriel Reis for the PR. + * add more talks to the documentation + * extend documentation on the --ignore cli option + * use pytest-runner for setuptools integration + * minor fixes for interaction with OS X El Capitan system integrity + protection (thanks Florian) + ------------------------------------------------------------------- Fri Oct 9 08:26:43 UTC 2015 - mcihar@suse.cz diff --git a/python-pytest.spec b/python-pytest.spec index 907b2f0..eb7aa00 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %bcond_with test Name: python-pytest -Version: 2.8.2 +Version: 2.8.7 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -40,6 +40,7 @@ BuildRequires: python-mock BuildRequires: python-pexpect %endif BuildRequires: python-xml +BuildRequires: python-PyYAML Requires: python-py >= 1.4.25 Requires(post): update-alternatives Requires(postun): update-alternatives