Bump pytest from 6.1.1 to 6.2.1
Created by: dependabot[bot]
Bumps pytest from 6.1.1 to 6.2.1.
Release notes
Sourced from pytest's releases.
6.2.1
pytest 6.2.1 (2020-12-15)
Bug Fixes
#7678: Fixed bug where
ImportPathMismatchErrorwould be raised for files compiled in the host and loaded later from an UNC mounted path (Windows).#8132: Fixed regression in
approx: in 6.2.0approxno longer raisesTypeErrorwhen dealing with non-numeric types, falling back to normal comparison. Before 6.2.0, array types like tf.DeviceArray fell through to the scalar case, and happened to compare correctly to a scalar if they had only one element. After 6.2.0, these types began failing, because they inherited neither from standard Python number hierarchy nor fromnumpy.ndarray.
approxnow converts arguments tonumpy.ndarrayif they expose the array protocol and are not scalars. This treats array-like objects like numpy arrays, regardless of size.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.
... (truncated)
Commits
-
d3971c3Prepare release version 6.2.1 -
780044bMerge pull request #8147 from nicoddemus/backport-8137 -
8354995python_api: handle array-like args in approx() (#8137) -
8b8b121Merge pull request #8135 from nicoddemus/backport-8123 -
f854cf6Merge pull request #8123 from nicoddemus/import-mismatch-unc -
c475106Merge pull request #8130 from pytest-dev/release-6.2.0 -
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 - 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)