Hello community, here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2018-11-12 09:49:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pytest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest" Mon Nov 12 09:49:12 2018 rev:42 rq:646342 version:3.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes 2018-09-26 14:54:02.139050632 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 2018-11-12 09:49:15.236480071 +0100 @@ -1,0 +2,104 @@ +Mon Nov 5 08:13:05 UTC 2018 - Ondřej Súkup <[email protected]> + +- update to 3.10.0 + * Resume capturing output after continue with __import__("pdb").set_trace(). + * Add -sw, --stepwise as an alternative to --lf -x for stopping at the first + failure, but starting the next test invocation from that test. + * Make --color emit colorful dots when not running in verbose mode. + * Improve performance with collection reporting in non-quiet mode with terminals. + * The "collecting …" message is only printed/updated every 0.5s. + * Fix false RemovedInPytest4Warning: usage of Session... is deprecated, + please use pytest warnings. + * Fix problems with running tests in package __init__.py files. + * Swallow warnings during anonymous compilation of source. + * Fix access denied error when deleting stale directories + created by tmpdir / tmp_path. + * Naming a fixture request will now raise a warning: the request fixture + is internal and should not be overwritten as it will lead to internal errors. + * Handle (ignore) exceptions raised during collection, e.g. + with Django's LazySettings proxy class. + * Added missing documentation about the fact that module names passed + to filter warnings are not regex-escaped. + * Display cachedir also in non-verbose mode if non-default. + * pdb: improve message about output capturing with set_trace. + * Do not display "IO-capturing turned off/on" when -s is used to avoid confusion. + * Improve message and stack level of warnings issued by monkeypatch.setenv + when the value of the environment variable is not a str. + * Fix "ValueError: Plugin already registered" with conftest plugins via symlink. + * Handle race condition between creation and deletion of temporary folders. + * Fix bug where the warning summary at the end of the test session was + not showing the test where the warning was originated. + * Fix regression when stacklevel for warnings was passed as positional + argument on python2. + * Add reference to empty_parameter_set_mark ini option in documentation + of @pytest.mark.parametrize + * Revert patching of sys.breakpointhook since it appears to do nothing. + * Apply an import sorter (reorder-python-imports) to the codebase. + * Remove use of unnecessary compat shim, six.binary_type + +------------------------------------------------------------------- +Fri Oct 26 10:59:13 UTC 2018 - Ondřej Súkup <[email protected]> + +- update to 3.9.2 + * Improve error message when a recursive dependency between fixtures is detected. + * Fix logging messages not shown in hooks pytest_sessionstart() and pytest_sessionfinish(). + * Fix unescaped XML raw objects in JUnit report for skipped tests + * Python 2: safely format warning message about passing unicode strings to + warnings.warn, which may cause surprising MemoryError exception when monkey + patching warnings.warn itself. + * Improve error message when it is not possible to determine a function’s signature. + * Pin setuptools>=40.0 to support py_modules in setup.cfg + * Restore the tmpdir behaviour of symlinking the current test run. + * Fix filename reported by warnings.warn when using recwarn under python2. + * For test-suites containing test classes, the information about the subclassed + module is now output only if a higher verbosity level is specified (at least “-vv”). + * The following accesses have been documented as deprecated for years, but are now + actually emitting deprecation warnings. + * Add a Deprecation warning for pytest.ensuretemp as it was deprecated since a while. + * Improve usage errors messages by hiding internal details which can + be distracting and noisy. + This has the side effect that some error conditions that previously raised + generic errors (such as ValueError for unregistered marks) are now raising + Failed exceptions. + * Log messages generated in the collection phase are shown when live-logging + is enabled and/or when they are logged to a file. + * Introduce tmp_path as a fixture providing a Path object. + * Deprecation warnings are now shown even if you customize the warnings + filters yourself. In the previous version any customization would override + pytest’s filters and deprecation warnings would fall back to being hidden by default. + * Allow specification of timeout for Testdir.runpytest_subprocess() and Testdir.run(). + * Add returncode argument to pytest.exit() to exit pytest with a specific return code. + * Reimplement pytest.deprecated_call using pytest.warns so it supports + the match='...' keyword argument. + This has the side effect that pytest.deprecated_call now raises + pytest.fail.Exception instead of AssertionError. + * Improve error message when test functions of unittest.TestCase subclasses + use a parametrized fixture. + * request.fixturenames now correctly returns the name of fixtures + created by request.getfixturevalue(). + * Warning filters passed as command line options using -W now take precedence + over filters defined in ini configuration files. + * Fix source reindenting by using textwrap.dedent directly. + * pytest.warn will capture previously-warned warnings in Python 2. + Previously they were never raised. + * Resolve symbolic links for args. + This fixes running pytest tests/test_foo.py::test_bar, where tests is + a symlink to project/app/tests: previously project/app/conftest.py would be + ignored for fixtures then. + * Fix duplicate printing of internal errors when using --pdb. + * pathlib based tmpdir cleanup now correctly handles symlinks in the folder. + * Display the filename when encountering SyntaxWarning. + * Update usefixtures documentation to clarify that it can’t be used + with fixture functions. + * Update fixture documentation to specify that a fixture can be invoked twice + in the scope it’s defined for. + * According to unittest.rst, setUpModule and tearDownModule were not implemented, + but it turns out they are. So updated the documentation for unittest. + * Add tempir testing example to CONTRIBUTING.rst guide + * The internal MarkerError exception has been removed. + * Port the implementation of tmpdir to pathlib. + * Exclude 0.00 second entries from --duration output unless -vv is passed + on the command-line. + * Fixed formatting of string literals in internal tests. + +------------------------------------------------------------------- python-pytest.changes: same change Old: ---- pytest-3.8.1.tar.gz New: ---- pytest-3.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-doc.spec ++++++ --- /var/tmp/diff_new_pack.d9JrQA/_old 2018-11-12 09:49:17.244477047 +0100 +++ /var/tmp/diff_new_pack.d9JrQA/_new 2018-11-12 09:49:17.244477047 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-doc -Version: 3.8.1 +Version: 3.10.0 Release: 0 Summary: Documentation for python-pytest, a testing tool with autodiscovery License: MIT ++++++ python-pytest.spec ++++++ --- /var/tmp/diff_new_pack.d9JrQA/_old 2018-11-12 09:49:17.264477017 +0100 +++ /var/tmp/diff_new_pack.d9JrQA/_new 2018-11-12 09:49:17.264477017 +0100 @@ -18,17 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest -Version: 3.8.1 +Version: 3.10.0 Release: 0 Summary: Python testing tool with autodiscovery and detailed asserts License: MIT Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz +BuildRequires: %{python_module setuptools >= 40.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-atomicwrites +Requires: python-atomicwrites >= 1.0 Requires: python-attrs >= 17.4.0 Requires: python-more-itertools >= 4.0.0 Requires: python-pluggy >= 0.7 ++++++ pytest-3.8.1.tar.gz -> pytest-3.10.0.tar.gz ++++++ ++++ 11477 lines of diff (skipped)
