Overview
Request 636148 superseded
- update to 3.8.0
* Config.warn has been deprecated, it should be replaced by calls
to the standard warnings.warn.
* Node.warn now supports two signatures:
+ node.warn(PytestWarning("some message")): is now the recommended way
to call this function. The warning instance must be a PytestWarning
or subclass instance.
+ node.warn("CI", "some message"): this code/message form is now deprecated
and should be converted to the warning instance form above.
* RemovedInPytest4Warning and PytestExperimentalApiWarning are now part
of the public API and should be accessed using pytest.RemovedInPytest4Warning
and pytest.PytestExperimentalApiWarning.
* @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
making it possible to actually use regular expressions to check the warning message.
+ Note: regex-escaping the match string was an implementation oversight
that might break test suites which depend on the old behavior.
* Internal pytest warnings are now issued using the standard warnings module,
making it possible to use the standard warnings filters to manage those
warnings. This introduces PytestWarning, PytestDeprecationWarning
and RemovedInPytest4Warning warning types as part of the public API.
* DeprecationWarning and PendingDeprecationWarning are now shown by default
if no other warning filter is configured. This makes pytest more compliant
with PEP-0506. See the docs for more info.
* Warnings are now captured and displayed during test collection.
* PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable disables
plugin auto-loading when set.
* Added the count option to console_output_style to enable displaying
the progress as a count instead of a percentage.
* Added support for ‘xfailed’ and ‘xpassed’ outcomes
to the pytester.RunResult.assert_outcomes signature.
- Created by mimi_vx
- In state superseded
- Supersedes 634981
- Superseded by 637656
- Open review for openSUSE:Factory:Staging:G
Request History
mimi_vx created request
- update to 3.8.0
* Config.warn has been deprecated, it should be replaced by calls
to the standard warnings.warn.
* Node.warn now supports two signatures:
+ node.warn(PytestWarning("some message")): is now the recommended way
to call this function. The warning instance must be a PytestWarning
or subclass instance.
+ node.warn("CI", "some message"): this code/message form is now deprecated
and should be converted to the warning instance form above.
* RemovedInPytest4Warning and PytestExperimentalApiWarning are now part
of the public API and should be accessed using pytest.RemovedInPytest4Warning
and pytest.PytestExperimentalApiWarning.
* @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
making it possible to actually use regular expressions to check the warning message.
+ Note: regex-escaping the match string was an implementation oversight
that might break test suites which depend on the old behavior.
* Internal pytest warnings are now issued using the standard warnings module,
making it possible to use the standard warnings filters to manage those
warnings. This introduces PytestWarning, PytestDeprecationWarning
and RemovedInPytest4Warning warning types as part of the public API.
* DeprecationWarning and PendingDeprecationWarning are now shown by default
if no other warning filter is configured. This makes pytest more compliant
with PEP-0506. See the docs for more info.
* Warnings are now captured and displayed during test collection.
* PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable disables
plugin auto-loading when set.
* Added the count option to console_output_style to enable displaying
the progress as a count instead of a percentage.
* Added support for ‘xfailed’ and ‘xpassed’ outcomes
to the pytester.RunResult.assert_outcomes signature.
licensedigger accepted review
ok
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto added repo-checker as a reviewer
Please review build success
factory-auto accepted review
Check script succeeded
maxlin_factory added openSUSE:Factory:Staging:D as a reviewer
Being evaluated by staging project "openSUSE:Factory:Staging:D"
maxlin_factory accepted review
Picked openSUSE:Factory:Staging:D
maxlin_factory accepted review
Removing from openSUSE:Factory:Staging:D, re-evaluation needed
maxlin_factory added factory-staging as a reviewer
Requesting new staging review
maxlin_factory set openSUSE:Factory:Staging:G as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:G"
maxlin_factory accepted review
Picked openSUSE:Factory:Staging:G
repo-checker accepted review
cycle and install check passed
namtrac accepted review
superseded by 637656
breaks setuptools_scm:test https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:D/python-setuptools_scm:test/standard/x86_64
backlog: breaks several python package build
setuptools_scm:test fixed in last SR
@dimstar_suse, @factory-repo-checker: review reminder