diff --git a/pytest-7.3.2.tar.gz b/pytest-7.3.2.tar.gz deleted file mode 100644 index 7f320e8..0000000 --- a/pytest-7.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee990a3cc55ba808b80795a79944756f315c67c12b56abd3ac993a7b8c17030b -size 1338457 diff --git a/pytest-7.4.0.tar.gz b/pytest-7.4.0.tar.gz new file mode 100644 index 0000000..403e917 --- /dev/null +++ b/pytest-7.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a +size 1349733 diff --git a/python-pytest.changes b/python-pytest.changes index 274a767..77c1ad6 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +Sat Jul 15 15:04:08 UTC 2023 - Dirk Müller + +- update to 7.4.0: + * Added + :func:`ExceptionInfo.from_exception() + `, a simpler way to + create an :class:`~pytest.ExceptionInfo` from an exception. + This can replace :func:`ExceptionInfo.from_exc_info() + ` for most uses. + * Update test log report annotation + to named tuple and fixed inconsistency in docs for + :hook:`pytest_report_teststatus` hook. + * When an exception traceback to be + displayed is completely filtered out (by mechanisms such as + ``__tracebackhide__``, internal frames, and similar), now + only the exception string and the following message are + shown: + "All traceback entries are hidden. Pass `--full-trace` to see + hidden and internal frames.". + * Improved verbose output (``-vv``) + of ``skip`` and ``xfail`` reasons by performing text wrapping + while leaving a clear margin for progress output. + * Added ``TerminalReporter.wrap_write()`` as a helper for that. + * Added handling of ``%f`` + directive to print microseconds in log format options, such + as ``log-date-format``. + * Added the underlying exception to the cache provider's path + creation and write warning messages. + * Added warning when :confval:`testpaths` is set, but paths are + not found by glob. + In this case, pytest will fall back to searching from the + current directory. + * When `--confcutdir` is not + specified, and there is no config file present, the conftest + cutoff directory (`--confcutdir`) is now set to the + :ref:`rootdir `. + * Previously in such cases, `conftest.py` files would be probed + all the way to the root directory of the filesystem. + * If you are badly affected by this change, consider adding an + empty config file to your desired cutoff directory, or + explicitly set `--confcutdir`. + * The :confval:`norecursedirs` + check is now performed in a :hook:`pytest_ignore_collect` + implementation, so plugins can affect it. + * If after updating to this version you see that your + `norecursedirs` setting is not being respected, + * it means that a conftest or a plugin you use has a bad + `pytest_ignore_collect` implementation. + * Most likely, your hook returns `False` for paths it does not + want to ignore which ends the processing and doesn't allow + other plugins, including pytest itself, to ignore the path. + * The fix is to return `None` instead of `False` for paths your + hook doesn't want to ignore. + * :func:`caplog.set_level() + ` and + :func:`caplog.at_level() ` + will temporarily enable the requested ``level`` if ``level`` + was disabled globally via ``logging.disable(LEVEL)``. + ------------------------------------------------------------------- Mon Jun 19 20:12:27 UTC 2023 - Dirk Müller diff --git a/python-pytest.spec b/python-pytest.spec index d436045..a18f31c 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -33,7 +33,7 @@ %{?sle15_python_module_pythons} Name: python-pytest%{psuffix} -Version: 7.3.2 +Version: 7.4.0 Release: 0 Summary: Simple powerful testing with Python License: MIT