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.0.2 to 4.4.1 #209

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 16, 2019

Bumps pytest from 4.0.2 to 4.4.1.

Changelog

Sourced from pytest's changelog.

pytest 4.4.1 (2019-04-15)

Bug Fixes

  • #5031: Environment variables are properly restored when using pytester's testdir fixture.
  • #5039: Fix regression with --pdbcls, which stopped working with local modules in 4.0.0.
  • #5092: Produce a warning when unknown keywords are passed to pytest.param(...).
  • #5098: Invalidate import caches with monkeypatch.syspath_prepend, which is required with namespace packages being used.

pytest 4.4.0 (2019-03-29)

Features

  • #2224: async test functions are skipped and a warning is emitted when a suitable async plugin is not installed (such as pytest-asyncio or pytest-trio).

    Previously async functions would not execute at all but still be marked as "passed".

  • #2482: Include new disable_test_id_escaping_and_forfeit_all_rights_to_community_support option to disable ascii-escaping in parametrized values. This may cause a series of problems and as the name makes clear, use at your own risk.

  • #4718: The -p option can now be used to early-load plugins also by entry-point name, instead of just by module name.

    This makes it possible to early load external plugins like pytest-cov in the command-line:

    pytest -p pytest_cov
    
  • #4855: The --pdbcls option handles classes via module attributes now (e.g. pdb:pdb.Pdb with pdb++), and its validation was improved.

  • #4875: The testpaths configuration option is now displayed next to the rootdir and inifile lines in the pytest header if the option is in effect, i.e., directories or file names were not explicitly passed in the command line.

    Also, inifile is only displayed if there's a configuration file, instead of an empty inifile: string.

  • #4911: Doctests can be skipped now dynamically using pytest.skip().

  • #4920: Internal refactorings have been made in order to make the implementation of the pytest-subtests plugin possible, which adds unittest sub-test support and a new subtests fixture as discussed in #1367.

    For details on the internal refactorings, please see the details on the related PR.

  • #4931: pytester's LineMatcher asserts that the passed lines are a sequence.

  • #4936: Handle -p plug after -p no:plug.

    This can be used to override a blocked plugin (e.g. in "addopts") from the command line etc.

  • #4951: Output capturing is handled correctly when only capturing via fixtures (capsys, capfs) with pdb.set_trace().

  • #4956: pytester sets $HOME and $USERPROFILE to the temporary directory during test runs.

    This ensures to not load configuration files from the real user's home directory.

  • #4980: Namespace packages are handled better with monkeypatch.syspath_prepend and testdir.syspathinsert (via pkg_resources.fixup_namespace_packages).

  • #4993: The stepwise plugin reports status information now.

... (truncated)
Commits
  • 006dc30 Preparing release version 4.4.1
  • 533e610 Merge pull request #5098 from blueyed/fix-syspath_prepend
  • 8fd5a65 monkeypatch.syspath_prepend: invalidate import cache
  • c3b7efc Merge pull request #5097 from asottile/unknown_kwargs_param
  • 43e7401 Produce a warning when unknown arguments are passed to pytest.param()
  • a9e850f Merge pull request #5096 from asottile/docs_highlight
  • da2e092 pre-commit autoupdate
  • 8449294 blacken-docs more code samples in docs
  • 1dafe96 Merge pull request #5093 from blueyed/tbreportdemo
  • 1f66e3b docs: tbreportdemo: remove obsolete comment
  • 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.


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
Copy link
Contributor Author

A newer version of pytest exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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.

2 participants