Files
python-pytest/python-pytest.changes
Steve Kowalik dbd4f04da5 - Update to 8.2.0:
* A deprecation warning is now raised when implementations of one of the
    following hooks request a deprecated py.path.local parameter.
  * Added support for reading command line arguments from a file using the
    prefix character @.
  * Fixed a regression in pytest 8.0.0 where test classes containing
    setup_method and tests using @staticmethod or @classmethod would crash
    with AttributeError.
  * pluggy>=1.5.0 is now required.
  * Added PYTEST_VERSION environment variable which is defined at the start
    of the pytest session and undefined afterwards.
  * Improved namespace packages detection when consider_namespace_packages
    is enabled.
  * pytest.importorskip will now issue a warning if the module could be
    found, but raised ImportError.
  * Fixed error in pytest.approx when used with numpy arrays and comparing
    with other types.
  * Added the new consider_namespace_packages configuration option,
    defaulting to False.
  * Added the new verbosity_test_cases configuration option for fine-grained
    control of test execution verbosity.
  * --import-mode=importlib <import-mode-importlib> now tries to import
    modules using the standard import mechanism.
  * Added support for sys.last_exc for post-mortem debugging on Python>=3.12.
  * Fixed a regression in pytest 8.0.0 that would cause test collection to
    fail due to permission errors when using --pyargs.
  * Fix the stacklevel used when warning about marks used on fixtures.
  * Fix an edge case where ExceptionInfo._stringify_exception could crash.
  * Fix an IndexError crash raising from getstatementrange_ast.
  * PytestRemovedIn8Warning deprecation warnings are now errors by default.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=136
2024-05-06 05:25:02 +00:00

153 KiB