Overview

Request 1172297 review

- 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 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.

Request History
Steve Kowalik's avatar

StevenK created request

- 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 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.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:L as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:L"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:L"


Marco Strigl's avatar

mstrigl accepted review

Accepted review for by_group opensuse-review-team request 1172297 from user anag+factory


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:L"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:H as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:H"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:I as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Ana Guerrero's avatar

anag+factory staged request

Picked "openSUSE:Factory:Staging:J"

openSUSE Build Service is sponsored by