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 4.6.2 to 5.0.0 #40

Merged
merged 1 commit into from Jul 1, 2019

Conversation

Projects
None yet
1 participant
@dependabot-preview
Copy link
Contributor

commented Jul 1, 2019

Bumps pytest from 4.6.2 to 5.0.0.

Changelog

Sourced from pytest's changelog.

pytest 5.0.0 (2019-06-28)

Important

This release is a Python3.5+ only release.

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

Removals

  • #1149: Pytest no longer accepts prefixes of command-line arguments, for example typing pytest --doctest-mod inplace of --doctest-modules. This was previously allowed where the ArgumentParser thought it was unambiguous, but this could be incorrect due to delayed parsing of options for plugins. See for example issues #1149, #3413, and #4009.

  • #5402: PytestDeprecationWarning are now errors by default.

    Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestDeprecationWarning now generate errors instead of warning messages.

    The affected features will be effectively removed in pytest 5.1, so please consult the Deprecations and Removals section in the docs for directions on how to update existing code.

    In the pytest 5.0.X series, it is possible to change the errors back into warnings as a stop gap measure by adding this to your pytest.ini file:

    [pytest]
    filterwarnings =
        ignore::pytest.PytestDeprecationWarning
    

    But this will stop working when pytest 5.1 is released.

    If you have concerns about the removal of a specific feature, please add a comment to #5402.

  • #5412: ExceptionInfo objects (returned by pytest.raises) now have the same str representation as repr, which avoids some confusion when users use print(e) to inspect the object.

Deprecations

  • #4488: The removal of the --result-log option and module has been postponed to (tentatively) pytest 6.0 as the team has not yet got around to implement a good alternative for it.
  • #466: The funcargnames attribute has been an alias for fixturenames since pytest 2.3, and is now deprecated in code too.

Features

  • #3457: New pytest_assertion_pass hook, called with context information when an assertion passes.

    This hook is still experimental so use it with caution.

  • #5440: The faulthandler standard library module is now enabled by default to help users diagnose crashes in C modules.

    This functionality was provided by integrating the external pytest-faulthandler plugin into the core, so users should remove that plugin from their requirements if used.

... (truncated)
Commits
  • 58bfc77 Use shutil.which to avoid distutils+imp warning
  • 97f0a20 Add notice about py35+ and move ExitCode changelog entry
  • 55d2fe0 Use importlib instead of imp in demo
  • 5e39eb9 Correct Zac-HD's name in changelogs
  • fd2f320 Preparing release version 5.0.0
  • 73d918d Remove astor and reproduce the original assertion expression (#5512)
  • 7ee2444 Remove astor and reproduce the original assertion expression
  • 3c9b46f Remove stray comment from tox.ini (#5507)
  • f7bfbb5 Merge pull request #5506 from asottile/fix_no_terminal
  • 45af361 Remove stray comment from tox.ini
  • 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). To ignore the version in this PR you can just close it
  • @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)
  • 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.

@aashutoshrathi

This comment has been minimized.

Copy link
Owner

commented Jul 1, 2019

@dependabot rebase

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/pytest-5.0.0 branch from a1e146f to b6823b1 Jul 1, 2019

@aashutoshrathi aashutoshrathi merged commit e631295 into master Jul 1, 2019

0 of 2 checks passed

Travis CI - Branch Build Errored
Details
Travis CI - Pull Request Build Errored
Details

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/pytest-5.0.0 branch Jul 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.