Updates the requirements onpytest to permit the latest version.
Release notes
Sourced frompytest's releases.
pytest 5.4.0 (2020-03-12)
Breaking Changes
#6316: Matching of-k EXPRESSION to test names is now case-insensitive.
#6443: Plugins specified with-p are now loaded after internal plugins, which results in their hooks being calledbefore the internal ones.
This makes the-p behavior consistent withPYTEST_PLUGINS.
#6637: Removed the long-deprecatedpytest_itemstart hook.
This hook has been marked as deprecated and not been even called by pytest for over 10 years now.
#6673: Reversed / fix meaning of "+/-" in error diffs. "-" means that sth. expected is missing in the result and "+" means that there are unexpected extras in the result.
#6737: Thecached_result attribute ofFixtureDef is now set toNone whenthe result is unavailable, instead of being deleted.
If your plugin performs checks likehasattr(fixturedef, 'cached_result'),for example in apytest_fixture_post_finalizer hook implementation, replaceit withfixturedef.cached_result is not None. If youdel the attribute,set it toNone instead.
Deprecations
#3238: Option--no-print-logs is deprecated and meant to be removed in a future release. If you use--no-print-logs, please try out--show-capture andprovide feedback.
--show-capture command-line option was added inpytest 3.5.0 and allows to specify how todisplay captured output when tests fail:no,stdout,stderr,log orall (the default).
#571: Deprecate the unused/broken [pytest_collect_directory]{.title-ref} hook.It was misaligned since the removal of theDirectory collector in 2010and incorrect/unusable as soon as collection was split from test execution.
#5975: Deprecate using direct constructors forNodes.
Instead they are new constructed viaNode.from_parent.
This transitional mechanism enables us to detangle the very intenselyentangledNode relationships by enforcing more controlled creation/configruation patterns.
As part of that session/config are already disallowed parameters and as we work on the details we might need disallow a few more as well.
Subclasses are expected to use [super().from_parent]{.title-ref} if they intend to expand the creation of [Nodes]{.title-ref}.
#6779: TheTerminalReporter.writer attribute has been deprecated and should no longer be used. Thiswas inadvertently exposed as part of the public API of that plugin and ties it too much
... (truncated)
Changelog
Sourced frompytest's changelog.
Commits
c9fd1bd Preparing release version 5.4.093aa988 Merge pull request#6901 from RonnyPfannschmidt/regendoc-fix-simple7996724 Merge pull request#6902 from RoyalTS/filterwarnings-docfix90ee8a7 docfix378a75d run and fix tox -e regen to prepare 5.4e1b3a68 Merge pull request#6896 from nicoddemus/release-triggerfb7dbc9 Merge pull request#6893 from RonnyPfannschmidt/url-fixesa0ea300 Fix bot trigger event09b289e fix mozilla qa project link694dbe5 fix pydanny.com url to the one with ssl set up- Additional commits viewable incompare 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 Dependabotdashboard:
- 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)
Updates the requirements onpytest to permit the latest version.
Release notes
Sourced frompytest's releases.
Changelog
Sourced frompytest's changelog.
Commits
c9fd1bdPreparing release version 5.4.093aa988Merge pull request#6901 from RonnyPfannschmidt/regendoc-fix-simple7996724Merge pull request#6902 from RoyalTS/filterwarnings-docfix90ee8a7docfix378a75drun and fix tox -e regen to prepare 5.4e1b3a68Merge pull request#6896 from nicoddemus/release-triggerfb7dbc9Merge pull request#6893 from RonnyPfannschmidt/url-fixesa0ea300Fix bot trigger event09b289efix mozilla qa project link694dbe5fix pydanny.com url to the one with ssl set upDependabot 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 use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in your Dependabotdashboard: