- 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
This commit is contained in:
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 05:24:11 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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.
|
||||
* Dropped support for Python 3.7.
|
||||
* Files and directories are now collected in alphabetical order jointly.
|
||||
* Sanitized the handling of the default parameter when defining
|
||||
configuration options.
|
||||
* Avoid microsecond exceeds 1_000_000 when using log-date-format with
|
||||
%f specifier.
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 09:15:31 UTC 2024 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user