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

Update pytest requirement from ~=4.0.2 to ~=4.1.0 #337

Merged
merged 1 commit into from Jan 7, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on pytest to permit the latest version.

Changelog

Sourced from pytest's changelog.

pytest 4.1.0 (2019-01-05)

Removals

  • #2169 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2169>_: pytest.mark.parametrize: in previous versions, errors raised by id functions were suppressed and changed into warnings. Now the exceptions are propagated, along with a pytest message informing the node, parameter value and index where the exception occurred.

  • #3078 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3078>_: Remove legacy internal warnings system: config.warn, Node.warn. The pytest_logwarning now issues a warning when implemented.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#config-warn-and-node-warn>__ on information on how to update your code.

  • #3079 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3079>_: Removed support for yield tests - they are fundamentally broken because they don't support fixtures properly since collection and test execution were separated.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#yield-tests>__ on information on how to update your code.

  • #3082 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3082>_: Removed support for applying marks directly to values in [**pytest**](https://github.com/pytest).mark.parametrize. Use pytest.param instead.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize>__ on information on how to update your code.

  • #3083 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3083>_: Removed Metafunc.addcall. This was the predecessor mechanism to [**pytest**](https://github.com/pytest).mark.parametrize.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#metafunc-addcall>__ on information on how to update your code.

  • #3085 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3085>_: Removed support for passing strings to pytest.main. Now, always pass a list of strings instead.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#passing-command-line-string-to-pytest-main>__ on information on how to update your code.

  • #3086 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3086>_: [pytest] section in setup.cfg files is not longer supported, use [tool:pytest] instead. setup.cfg files
    are meant for use with distutils, and a section named pytest has notoriously been a source of conflicts and bugs.

    Note that for pytest.ini and tox.ini files the section remains [pytest].

  • #3616 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/3616>_: Removed the deprecated compat properties for node.Class/Function/Module - use pytest.Class/Function/Module now.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#internal-classes-accessed-through-node>__ on information on how to update your code.

  • #4421 <https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4421>_: Removed the implementation of the pytest_namespace hook.

    See our docs <https://docs.pytest.org/en/latest/deprecations.html#pytest-namespace>__ on information on how to update your code.

... (truncated)
Commits

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 cancel merge will cancel a previously requested merge
  • @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.

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/commits/4.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@Mr0grog Mr0grog merged commit 61d6c8a into master Jan 7, 2019
@Mr0grog Mr0grog deleted the dependabot/pip/pytest-approx-eq-4.1.0 branch January 7, 2019 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants