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 3.6.2 to 4.4.0 #220

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps pytest from 3.6.2 to 4.4.0.

Changelog

Sourced from pytest's changelog.

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.

  • #5008: If a setup.cfg file contains [tool:pytest] and also the no longer supported [pytest] section, pytest will use [tool:pytest] ignoring [pytest]. Previously it would unconditionally error out.

    This makes it simpler for plugins to support old pytest versions.

Bug Fixes

  • #1895: Fix bug where fixtures requested dynamically via request.getfixturevalue() might be teardown before the requesting fixture.
  • #4851: pytester unsets PYTEST_ADDOPTS now to not use outer options with testdir.runpytest().
  • #4903: Use the correct modified time for years after 2038 in rewritten .pyc files.
  • #4928: Fix line offsets with ScopeMismatch errors.
... (truncated)
Commits
  • 4621638 Update CHANGELOG.rst
  • 8881b20 Preparing release version 4.4.0
  • 278b289 Merge pull request #4968 from blueyed/pdb-do_debug-quit
  • e7ade06 Merge pull request #5011 from blueyed/merge-master-into-features
  • dee520e Merge pull request #5008 from blueyed/setup-cfg-tool-pytest
  • 4e931b2 Merge master into features
  • 4011021 pdb: do not raise outcomes.Exit with quit in debug
  • bfda2a0 setup.cfg: use existing [tool:pytest] (ignoring [pytest])
  • 2812c08 Merge pull request #5010 from garytyler/docupdate
  • 6b5cddc Merge pull request #4951 from blueyed/fix-pdb-capfix
  • 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 dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 1, 2019
@dependabot-preview
Copy link
Author

Superseded by #223.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/pytest-4.4.0 branch April 16, 2019 06:22
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.

1 participant