Bump pytest from 6.1.1 to 6.2.0
Created by: dependabot[bot]
Bumps pytest from 6.1.1 to 6.2.0.
Release notes
Sourced from pytest's releases.
6.2.0
pytest 6.2.0 (2020-12-12)
Breaking Changes
- #7808: pytest now supports python3.6+ only.
Deprecations
#7469: Directly constructing/calling the following classes/functions is now deprecated:
_pytest.cacheprovider.Cache_pytest.cacheprovider.Cache.for_config()_pytest.cacheprovider.Cache.clear_cache()_pytest.cacheprovider.Cache.cache_dir_from_config()_pytest.capture.CaptureFixture_pytest.fixtures.FixtureRequest_pytest.fixtures.SubRequest_pytest.logging.LogCaptureFixture_pytest.pytester.Pytester_pytest.pytester.Testdir_pytest.recwarn.WarningsRecorder_pytest.recwarn.WarningsChecker_pytest.tmpdir.TempPathFactory_pytest.tmpdir.TempdirFactoryThese have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.
#7530: The
--strictcommand-line option has been deprecated, use--strict-markersinstead.We have plans to maybe in the future to reintroduce
--strictand make it an encompassing flag for all strictness related options (--strict-markersand--strict-configat the moment, more might be introduced in the future).#7988: The
@pytest.yield_fixturedecorator/function is now deprecated. Use pytest.fixture instead.
yield_fixturehas been an alias forfixturefor a very long time, so can be search/replaced safely.Features
#5299: pytest now warns about unraisable exceptions and unhandled thread exceptions that occur in tests on Python>=3.8. See unraisable for more information.
#7425: New pytester fixture, which is identical to testdir but its methods return pathlib.Path when appropriate instead of
py.path.local.This is part of the movement to use pathlib.Path objects internally, in order to remove the dependency to
pyin the future.Internally, the old Testdir <_pytest.pytester.Testdir> is now a thin wrapper around Pytester <_pytest.pytester.Pytester>, preserving the old interface.
... (truncated)
Commits
-
e7073afPrepare release version 6.2.0 -
683f29fMerge pull request #8129 from bluetech/docs-pygments-workaround -
0feeddfdoc: temporary workaround for pytest-pygments lexing error -
b478275Merge pull request #8128 from bluetech/skip-reason-empty -
3302ff9terminal: when the skip/xfail is empty, don't show it as "()" -
59bd0f6Merge pull request #8126 from bluetech/tox-regen-pretend-scm2 -
6298ff1tox: use pip legacy resolver for regen job -
d51ecbdMerge pull request #8125 from bluetech/tox-rm-pip-req -
f237b07tox: remove requires: pip>=20.3.1 -
95e0e19Merge pull request #8124 from bluetech/s0undt3ch-feature/skip-context-hook - 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)