Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pytest from 5.3.5 to 5.4.0 #470

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pytest from 5.3.5 to 5.4.0.

Release notes

Sourced from pytest'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 called before the internal ones.

    This makes the -p behavior consistent with PYTEST_PLUGINS.

  • #6637: Removed the long-deprecated pytest_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: The cached_result attribute of FixtureDef is now set to None when the result is unavailable, instead of being deleted.

    If your plugin performs checks like hasattr(fixturedef, 'cached_result'), for example in a pytest_fixture_post_finalizer hook implementation, replace it with fixturedef.cached_result is not None. If you del the attribute, set it to None 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 and provide feedback.

    --show-capture command-line option was added in pytest 3.5.0 and allows to specify how to display captured output when tests fail: no, stdout, stderr, log or all (the default).

  • #571: Deprecate the unused/broken [pytest_collect_directory]{.title-ref} hook. It was misaligned since the removal of the Directory collector in 2010 and incorrect/unusable as soon as collection was split from test execution.

  • #5975: Deprecate using direct constructors for Nodes.

    Instead they are new constructed via Node.from_parent.

    This transitional mechanism enables us to detangle the very intensely entangled Node 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: The TerminalReporter.writer attribute has been deprecated and should no longer be used. This was inadvertently exposed as part of the public API of that plugin and ties it too much

... (truncated)
Changelog

Sourced from pytest's changelog.

Commits
  • c9fd1bd Preparing release version 5.4.0
  • 93aa988 Merge pull request #6901 from RonnyPfannschmidt/regendoc-fix-simple
  • 7996724 Merge pull request #6902 from RoyalTS/filterwarnings-docfix
  • 90ee8a7 docfix
  • 378a75d run and fix tox -e regen to prepare 5.4
  • e1b3a68 Merge pull request #6896 from nicoddemus/release-trigger
  • fb7dbc9 Merge pull request #6893 from RonnyPfannschmidt/url-fixes
  • a0ea300 Fix bot trigger event
  • 09b289e fix mozilla qa project link
  • 694dbe5 fix pydanny.com url to the one with ssl set up
  • Additional commits viewable in compare view

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot requested a review from asvetlov as a code owner March 13, 2020 06:42
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 13, 2020
@codecov
Copy link

codecov bot commented Mar 13, 2020

Codecov Report

Merging #470 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #470   +/-   ##
=======================================
  Coverage   76.31%   76.31%           
=======================================
  Files           5        5           
  Lines         494      494           
=======================================
  Hits          377      377           
  Misses        117      117

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c53f23...8eb03b5. Read the comment docs.

@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot-preview dependabot-preview bot merged commit a780176 into master Mar 13, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/pytest-5.4.0 branch March 13, 2020 06:46
aio-libs-github-bot bot pushed a commit that referenced this pull request May 17, 2021
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.11.1 to 2.12.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p>
<blockquote>
<h2>2.12.0 (2021-05-14)</h2>
<ul>
<li>Added coverage's <code>toml</code> extra to install requirements in setup.py.
Contributed by Christian Riedel in <code>[#410](pytest-dev/pytest-cov#410) &lt;https://github.com/pytest-dev/pytest-cov/pull/410&gt;</code>_.</li>
<li>Fixed <code>pytest_cov.__version__</code> to have the right value (string with version instead of a string
including <code>__version__ =</code>).</li>
<li>Fixed license classifier in <code>setup.py</code>.
Contributed by Chris Sreesangkom in <code>[#467](pytest-dev/pytest-cov#467) &lt;https://github.com/pytest-dev/pytest-cov/pull/467&gt;</code>_.</li>
<li>Fixed <em>commits since</em> badge.
Contributed by Terence Honles in <code>[#470](pytest-dev/pytest-cov#470) &lt;https://github.com/pytest-dev/pytest-cov/pull/470&gt;</code>_.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/9692bad8c3501b77cf950d0732ae9cb5c8bb0bd4"><code>9692bad</code></a> Bump version: 2.11.1 → 2.12.0</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/f533121b78d479ee4bf0c3c09b48d9513523ffb1"><code>f533121</code></a> Update changelog.</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/62d2e94debe6230e0160b1d5f711ae7f42158e9f"><code>62d2e94</code></a> Fix configuration file, ref f2ee249.</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/f2ee249e7214b9cad53f56fe33b6c8012a8ef08e"><code>f2ee249</code></a> fix link in readme (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest-cov/issues/470">#470</a>)</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/f5a4d7e008087913ce2bc9dc2305d05a5f545a41"><code>f5a4d7e</code></a> Fix version value. Fixes <a href="https://github-redirect.dependabot.com/pytest-dev/pytest-cov/issues/468">#468</a>.</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/2cd009442ddb08dc873117019b13ef972803d5c4"><code>2cd0094</code></a> change in setup.py from BSD to MIT to match LICENSE file (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest-cov/issues/467">#467</a>)</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/daf54e79fcb8f549699d28e691302a9251f7e54b"><code>daf54e7</code></a> Added toml as extra (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest-cov/issues/410">#410</a>)</li>
<li><a href="https://github.com/pytest-dev/pytest-cov/commit/c2dfa778a85c1f64f3f59007b8d8ca98c877cac8"><code>c2dfa77</code></a> Update test deps. Remove unnecessary assertion. Closes <a href="https://github-redirect.dependabot.com/pytest-dev/pytest-cov/issues/452">#452</a>.</li>
<li>See full diff in <a href="https://github.com/pytest-dev/pytest-cov/compare/v2.11.1...v2.12.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-cov&package-manager=pip&previous-version=2.11.1&new-version=2.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants