django-magiclink
django-magiclink copied to clipboard
Bump pytest from 5.4.3 to 7.0.1
Bumps pytest from 5.4.3 to 7.0.1.
Release notes
Sourced from pytest's releases.
7.0.1
pytest 7.0.1 (2022-02-11)
Bug Fixes
- #9608: Fix invalid importing of
importlib.readersin Python 3.9.- #9610: Restore [UnitTestFunction.obj]{.title-ref} to return unbound rather than bound method. Fixes a crash during a failed teardown in unittest TestCases with non-default [__init__]{.title-ref}. Regressed in pytest 7.0.0.
- #9636: The
pythonpathplugin was renamed topython_path. This avoids a conflict with thepytest-pythonpathplugin.- #9642: Fix running tests by id with
::in the parametrize portion.- #9643: Delay issuing a
~pytest.PytestWarning{.interpreted-text role="class"} about diamond inheritance involving~pytest.Item{.interpreted-text role="class"} and~pytest.Collector{.interpreted-text role="class"} so it can be filtered usingstandard warning filters <warnings>{.interpreted-text role="ref"}.7.0.0
pytest 7.0.0 (2022-02-03)
(Please see the full set of changes for this release also in the 7.0.0rc1 notes below)
Deprecations
#9488: If custom subclasses of nodes like
pytest.Item{.interpreted-text role="class"} override the__init__method, they should take**kwargs. Seeuncooperative-constructors-deprecated{.interpreted-text role="ref"} for details.Note that a deprection warning is only emitted when there is a conflict in the arguments pytest expected to pass. This deprecation was already part of pytest 7.0.0rc1 but wasn't documented.
Bug Fixes
- #9355: Fixed error message prints function decorators when using assert in Python 3.8 and above.
- #9396: Ensure
pytest.Config.inifile{.interpreted-text role="attr"} is available during thepytest_cmdline_main <_pytest.hookspec.pytest_cmdline_main>{.interpreted-text role="func"} hook (regression during7.0.0rc1).Improved Documentation
- #9404: Added extra documentation on alternatives to common misuses of [pytest.warns(None)]{.title-ref} ahead of its deprecation.
- #9505: Clarify where the configuration files are located. To avoid confusions documentation mentions that configuration file is located in the root of the repository.
Trivial/Internal Changes
- #9521: Add test coverage to assertion rewrite path.
... (truncated)
Commits
3f12087[pre-commit.ci] auto fixes from pre-commit.com hooksbc3021cPrepare release version 7.0.1591d476Merge pull request #9673 from nicoddemus/backport-95116ca733eEnable testing with Python 3.11 (#9511)ac37b1bMerge pull request #9671 from nicoddemus/backport-9668c891e40Merge pull request #9672 from nicoddemus/backport-9669e2753a2Merge pull request #9669 from hugovk/ci-only-update-plugin-list-for-upstreamb5a154cMerge pull request #9668 from hugovk/test-me-latest-3.100fae45bMerge pull request #9660 from pytest-dev/backport-9646-to-7.0.x37d434f[7.0.x] Delay warning about collector/item diamond inheritance- 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)
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.
@dependabot rebase
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.