Bump pytest from 5.4.3 to 6.0.0
Created by: dependabot[bot]
Bumps pytest from 5.4.3 to 6.0.0.
Release notes
Sourced from pytest's releases.
6.0.0
pytest 6.0.0 (2020-07-28)
(Please see the full set of changes for this release also in the 6.0.0rc1 notes below)
Breaking Changes
#5584: PytestDeprecationWarning are now errors by default.
Following our plan to remove deprecated features with as little disruption as possible, all warnings of type
PytestDeprecationWarningnow generate errors instead of warning messages.The affected features will be effectively removed in pytest 6.1, so please consult the Deprecations and Removals section in the docs for directions on how to update existing code.
In the pytest
6.0.Xseries, it is possible to change the errors back into warnings as a stopgap measure by adding this to yourpytest.inifile:[pytest] filterwarnings = ignore::pytest.PytestDeprecationWarningBut this will stop working when pytest
6.1is released.If you have concerns about the removal of a specific feature, please add a comment to #5584.
#7472: The
exec_()andis_true()methods of_pytest._code.Framehave been removed.Features
- #7464: Added support for NO_COLOR and FORCE_COLOR environment variables to control colored output.
Improvements
- #7467:
--log-fileCLI option andlog_fileini marker now create subdirectories if needed.- #7489: The pytest.raises function has a clearer error message when
matchequals the obtained string but is not a regex match. In this case it is suggested to escape the regex.Bug Fixes
- #7392: Fix the reported location of tests skipped with
@pytest.mark.skipwhen--runxfailis used.
Commits
-
41a4539Add link to 6.0.0rc1 changelog -
45ced1dUpdate doc/en/announce/release-6.0.0.rst -
1e4b8d4Prepare release version 6.0.0 -
3802982Support generating major releases using issue comments (#7548) -
c2c0b7aMerge pull request #7545 from asottile/pylib_in_docs -
9818899remove usage of pylib in docs -
3a060b7Revert change to traceback repr (#7535) -
7ec6401Change pytest deprecation warnings into errors for 6.0 release (#7362) -
a9799f0Merge pull request #7531 from bluetech/changelog-mypy-version -
102360bMerge pull request #7519 from hroncok/pytest_warning_captured_deprecated - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)