Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

Bump pytest from 3.4.2 to 4.6.2 #15

Merged
merged 2 commits into from
Jun 8, 2019
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jun 7, 2019

Bumps pytest from 3.4.2 to 4.6.2.

Changelog

Sourced from pytest's changelog.

pytest 4.6.2 (2019-06-03)

Bug Fixes

  • #5370: Revert unrolling of all() to fix NameError on nested comprehensions.
  • #5371: Revert unrolling of all() to fix incorrect handling of generators with if.
  • #5372: Revert unrolling of all() to fix incorrect assertion when using all() in an expression.

pytest 4.6.1 (2019-06-02)

Bug Fixes

  • #5354: Fix pytest.mark.parametrize when the argvalues is an iterator.
  • #5358: Fix assertion rewriting of all() calls to deal with non-generators.

pytest 4.6.0 (2019-05-31)

Important

The 4.6.X series will be the last series to support Python 2 and Python 3.4.

For more details, see our Python 2.7 and 3.4 support plan.

Features

  • #4559: Added the junit_log_passing_tests ini value which can be used to enable or disable logging of passing test output in the Junit XML file.
  • #4956: pytester's testdir.spawn uses tmpdir as HOME/USERPROFILE directory.
  • #5062: Unroll calls to all to full for-loops with assertion rewriting for better failure messages, especially when using Generator Expressions.
  • #5063: Switch from pkg_resources to importlib-metadata for entrypoint detection for improved performance and import time.
  • #5091: The output for ini options in --help has been improved.
  • #5269: pytest.importorskip includes the ImportError now in the default reason.
  • #5311: Captured logs that are output for each failing test are formatted using the ColoredLevelFormatter.
  • #5312: Improved formatting of multiline log messages in Python 3.

Bug Fixes

  • #2064: The debugging plugin imports the wrapped Pdb class (--pdbcls) on-demand now.
  • #4908: The pytest_enter_pdb hook gets called with post-mortem (--pdb).
  • #5036: Fix issue where fixtures dependent on other parametrized fixtures would be erroneously parametrized.
  • #5256: Handle internal error due to a lone surrogate unicode character not being representable in Jython.
  • #5257: Ensure that sys.stdout.mode does not include 'b' as it is a text stream.
  • #5278: Pytest's internal python plugin can be disabled using -p no:python again.
... (truncated)
Commits
  • 70f0b77 Preparing release version 4.6.2
  • 2a8b463 Merge pull request #5376 from asottile/backport_5373
  • 12bf458 Merge pull request #5373 from asottile/revert_all_handling
  • 114dba5 Merge pull request #5362 from asottile/release-4.6.1
  • abb853f Preparing release version 4.6.1
  • 8208a37 Merge pull request #5361 from asottile/backport_5360
  • f078984 Fix all() unroll for non-generators/non-list comprehensions (#5360)
  • dba62f8 [4.6] Fix pytest.mark.parametrize when the argvalue is an iterator (#5357)
  • f7bf914 Fix pytest.mark.parametrize when the argvalue is an iterator
  • 917195e Merge pull request #5350 from asottile/release-4.6.0
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 7, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/pytest-4.6.2 branch 5 times, most recently from 6c4a28d to b6b1637 Compare June 8, 2019 02:01
@enriquegh
Copy link
Owner

@dependabot rebase

Bumps [pytest](https://github.com/pytest-dev/pytest) from 3.4.2 to 4.6.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@3.4.2...4.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/pytest-4.6.2 branch from b6b1637 to c968c3c Compare June 8, 2019 02:25
@enriquegh
Copy link
Owner

Need to change test due to:
pytest-dev/pytest#3913

@enriquegh
Copy link
Owner

Change was on pytest 3.8.0
pytest-dev/pytest@1f20626

On version 3.8.0 of pytest a bug was fixed that an incorrect (or incomplete) flag returned EXIT_INTERRUPTED instead of EXIT_USAGEERROR.
This now checks for the correct error type
@enriquegh enriquegh merged commit 631bb17 into master Jun 8, 2019
@enriquegh enriquegh deleted the dependabot/pip/pytest-4.6.2 branch June 8, 2019 05:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant