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.0.1 to 5.1.1 #1196

Merged
merged 1 commit into from
Aug 21, 2019
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pytest from 5.0.1 to 5.1.1.

Release notes

Sourced from pytest's releases.

5.1.1

pytest 5.1.1 (2019-08-20)

Bug Fixes

  • #5751: Fixed
    TypeError when importing pytest on Python 3.5.0 and 3.5.1.

5.1.0

pytest 5.1.0 (2019-08-15)

Removals

  • #5180: As per
    our policy, the following features have been deprecated in the 4.X
    series and are now removed:

    • Request.getfuncargvalue: use Request.getfixturevalue
      instead.
    • pytest.raises and pytest.warns no longer support strings as
      the second argument.
    • message parameter of pytest.raises.
    • pytest.raises, pytest.warns and ParameterSet.param now use
      native keyword-only syntax. This might change the exception
      message from previous versions, but they still raise TypeError
      on unknown keyword arguments as before.
    • pytest.config global variable.
    • tmpdir_factory.ensuretemp method.
    • pytest_logwarning hook.
    • RemovedInPytest4Warning warning type.
    • request is now a reserved name for fixtures.

    For more information consult Deprecations and
    Removals
    in
    the docs.

  • #5565: Removed
    unused support code for
    unittest2.

    The unittest2 backport module is no longer necessary since Python
    3.3+, and the small amount of code in pytest to support it also
    doesn't seem to be used: after removed, all tests still pass
    unchanged.

    Although our policy is to introduce a deprecation period before

... (truncated)
Changelog

Sourced from pytest's changelog.

pytest 5.1.1 (2019-08-20)

Bug Fixes

  • #5751: Fixed TypeError when importing pytest on Python 3.5.0 and 3.5.1.

pytest 5.1.0 (2019-08-15)

Removals

  • #5180: As per our policy, the following features have been deprecated in the 4.X series and are now removed:

    • Request.getfuncargvalue: use Request.getfixturevalue instead.
    • pytest.raises and pytest.warns no longer support strings as the second argument.
    • message parameter of pytest.raises.
    • pytest.raises, pytest.warns and ParameterSet.param now use native keyword-only syntax. This might change the exception message from previous versions, but they still raise TypeError on unknown keyword arguments as before.
    • pytest.config global variable.
    • tmpdir_factory.ensuretemp method.
    • pytest_logwarning hook.
    • RemovedInPytest4Warning warning type.
    • request is now a reserved name for fixtures.

    For more information consult Deprecations and Removals in the docs.

  • #5565: Removed unused support code for unittest2.

    The unittest2 backport module is no longer necessary since Python 3.3+, and the small amount of code in pytest to support it also doesn't seem to be used: after removed, all tests still pass unchanged.

    Although our policy is to introduce a deprecation period before removing any features or support for third party libraries, because this code is apparently not used at all (even if unittest2 is used by a test suite executed by pytest), it was decided to remove it in this release.

    If you experience a regression because of this, please file an issue.

  • #5615: pytest.fail, pytest.xfail and pytest.skip no longer support bytes for the message argument.

    This was supported for Python 2 where it was tempting to use "message" instead of u"message".

    Python 3 code is unlikely to pass bytes to these functions. If you do, please decode it to an str beforehand.

Features

  • #5564: New Config.invocation_args attribute containing the unchanged arguments passed to pytest.main().
  • #5576: New NUMBER option for doctests to ignore irrelevant differences in floating-point numbers. Inspired by Sébastien Boisgérault's numtest extension for doctest.

Improvements

... (truncated)
Commits
  • b135f5a Preparing release version 5.1.1
  • daff906 Merge pull request #5752 from bluetech/typing-py350-fix
  • 43eab91 Fix coverage
  • 0e569fa Merge pull request #5769 from The-Compiler/remove-training
  • a7c2357 Pypy doesn't have sys.getrefcount(), so go back to gc
  • cec2183 Add workaround for test_raises_cyclic_reference in Python 3.5.{0,1}
  • c049fd8 Remove cancelled training
  • a7ede64 Move @overload to compat
  • 3076522 Merge pull request #5762 from pytest-dev/hugovk-patch-1
  • a287aea Docs: update tense
  • 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)
  • 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 Aug 21, 2019
@codecov
Copy link

codecov bot commented Aug 21, 2019

Codecov Report

Merging #1196 into master will decrease coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1196      +/-   ##
==========================================
- Coverage   99.57%   99.32%   -0.25%     
==========================================
  Files         106      106              
  Lines       12823    12823              
  Branches      984      984              
==========================================
- Hits        12768    12736      -32     
- Misses         35       63      +28     
- Partials       20       24       +4
Impacted Files Coverage Δ
trio/_subprocess_platform/waitid.py 60.52% <0%> (-39.48%) ⬇️
trio/socket.py 92.85% <0%> (-7.15%) ⬇️
trio/_util.py 95.19% <0%> (-4.81%) ⬇️
trio/_core/_multierror.py 96.36% <0%> (-3.64%) ⬇️
trio/_socket.py 98.34% <0%> (-1.24%) ⬇️
trio/tests/test_ssl.py 99.85% <0%> (-0.15%) ⬇️

@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.

@njsmith
Copy link
Member

njsmith commented Aug 21, 2019

Codecov seems to have completely ignored Travis for some reason: https://codecov.io/gh/python-trio/trio/commit/633a18825dd68fec5872358ee7b44cb15f74517a/build

@njsmith njsmith merged commit f787faa into master Aug 21, 2019
@njsmith njsmith deleted the dependabot/pip/pytest-5.1.1 branch August 21, 2019 05:57
@pquentin
Copy link
Member

In fact, there were HTTP 400 errors when trying to submit coverage to codecov from Travis: https://travis-ci.org/python-trio/trio/jobs/574694896.

I'm "happy" to see that because I have the same issue in python-trio/urllib3 and it made no sense to me.

@pquentin
Copy link
Member

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.

2 participants