Bump pytest from 5.4.3 to 6.0.1
Created by: dependabot-preview[bot]
Bumps pytest from 5.4.3 to 6.0.1.
Release notes
Sourced from pytest's releases.
6.0.1
pytest 6.0.1 (2020-07-30)
Bug Fixes
- #7394: Passing an empty
help
value toParser.add_option
is now accepted instead of crashing when runningpytest --help
. PassingNone
raises a more informativeTypeError
.- #7558: Fix pylint
not-callable
lint onpytest.mark.parametrize()
and the other builtin marks:skip
,skipif
,xfail
,usefixtures
,filterwarnings
.- #7559: Fix regression in plugins using
TestReport.longreprtext
(such aspytest-html
) whenTestReport.longrepr
is not a string.- #7569: Fix logging capture handler's level not reset on teardown after a call to
caplog.set_level()
.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
PytestDeprecationWarning
now 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.X
series, it is possible to change the errors back into warnings as a stopgap measure by adding this to yourpytest.ini
file:[pytest] filterwarnings = ignore::pytest.PytestDeprecationWarning
But this will stop working when pytest
6.1
is 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.Frame
have been removed.Features
Changelog
Sourced from pytest's changelog.
Commits
-
92af2e2
Prepare release version 6.0.1 -
0307213
Merge pull request #7582 from bluetech/backport-7581 -
df7b267
Merge pull request #7581 from bluetech/logging-setlevel-handler-restore -
1516780
Merge pull request #7578 from nicoddemus/backport-7555 -
b945b39
Merge pull request #7577 from nicoddemus/backport-7427 -
2d5b8a8
Warn about --basetemp removing the entire directory (#7555) -
8963644
Fix --help crash on add_ini(.., help='') and improve message on help=None (#7... -
e876157
Merge pull request #7574 from nicoddemus/backport-7561 -
3d2c114
Merge pull request #7573 from nicoddemus/backport-7571 -
fe25284
Merge pull request #7561 from nicoddemus/longreprtext-7559 - 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)