honzajavorek / py

python.cz under construction 🚧
https://pythoncz.now.sh/
MIT License
2 stars 0 forks source link

Bump pytest from 5.0.1 to 5.3.1 #66

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps pytest from 5.0.1 to 5.3.1.

Release notes *Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 5.3.1 > pytest 5.3.1 (2019-11-25) > ========================= > > Improvements > ------------ > > - [\#6231](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6231): Improve check for misspelling of `pytest.mark.parametrize`. > - [\#6257](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6257): Handle exit.Exception raised in notify\_exception (via pytest\_internalerror), e.g. when quitting pdb from post mortem. > > Bug Fixes > --------- > > - [\#5914](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5914): pytester: fix `no_fnmatch_line` when used after positive matching. > - [\#6082](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6082): Fix line detection for doctest samples inside `property` docstrings, as a workaround to [bpo-17446](https://bugs.python.org/issue17446). > - [\#6254](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6254): Fix compatibility with pytest-parallel (regression in pytest 5.3.0). > - [\#6255](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6255): Clear the `sys.last_traceback`, `sys.last_type` and `sys.last_value` attributes by deleting them instead of setting them to `None`. This better matches the behaviour of the Python standard library. > > > ## 5.3.0 > pytest 5.3.0 (2019-11-19) > ========================= > > Deprecations > ------------ > > - [\#6179](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6179): The > default value of `junit_family` option will change to `xunit2` in > pytest 6.0, given that this is the version supported by default in > modern tools that manipulate this type of file. > > In order to smooth the transition, pytest will issue a warning in > case the `--junitxml` option is given in the command line but > `junit_family` is not explicitly configured in `pytest.ini`. > > For more information, [see the > docs](https://docs.pytest.org/en/latest/deprecations.html#junit-family-default-value-change-to-xunit2). > > Features > -------- > > - [\#4488](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4488): The > pytest team has created the > [pytest-reportlog](https://github.com/pytest-dev/pytest-reportlog) > plugin, which provides a new `--report-log=FILE` option that writes > *report logs* into a file as the test session executes. > > Each line of the report log contains a self contained JSON object > corresponding to a testing event, such as a collection or a test > result report. The file is guaranteed to be flushed after writing > ... (truncated)
Changelog *Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 5.3.1 (2019-11-25) > ========================= > > Improvements > ------------ > > - [\#6231](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6231): Improve check for misspelling of `pytest.mark.parametrize`. > - [\#6257](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6257): Handle exit.Exception raised in notify\_exception (via pytest\_internalerror), e.g. when quitting pdb from post mortem. > > Bug Fixes > --------- > > - [\#5914](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5914): pytester: fix `no_fnmatch_line` when used after positive matching. > - [\#6082](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6082): Fix line detection for doctest samples inside `property` docstrings, as a workaround to [bpo-17446](https://bugs.python.org/issue17446). > - [\#6254](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6254): Fix compatibility with pytest-parallel (regression in pytest 5.3.0). > - [\#6255](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6255): Clear the `sys.last_traceback`, `sys.last_type` and `sys.last_value` attributes by deleting them instead of setting them to `None`. This better matches the behaviour of the Python standard library. > > pytest 5.3.0 (2019-11-19) > ========================= > > Deprecations > ------------ > > - [\#6179](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6179): The default value of `junit_family` option will change to `xunit2` in pytest 6.0, given that this is the version supported by default in modern tools that manipulate this type of file. > > In order to smooth the transition, pytest will issue a warning in case the `--junitxml` option is given in the command line but `junit_family` is not explicitly configured in `pytest.ini`. > > For more information, [see the docs](https://docs.pytest.org/en/latest/deprecations.html#junit-family-default-value-change-to-xunit2). > > Features > -------- > > - [\#4488](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4488): The pytest team has created the [pytest-reportlog](https://github.com/pytest-dev/pytest-reportlog) plugin, which provides a new `--report-log=FILE` option that writes *report logs* into a file as the test session executes. > > Each line of the report log contains a self contained JSON object corresponding to a testing event, such as a collection or a test result report. The file is guaranteed to be flushed after writing each line, so systems can read and process events in real-time. > > The plugin is meant to replace the `--resultlog` option, which is deprecated and meant to be removed in a future release. If you use `--resultlog`, please try out `pytest-reportlog` and provide feedback. > > - [\#4730](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4730): When `sys.pycache_prefix` (Python 3.8+) is set, it will be used by pytest to cache test files changed by the assertion rewriting mechanism. > > This makes it easier to benefit of cached `.pyc` files even on file systems without permissions. > > - [\#5515](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5515): Allow selective auto-indentation of multiline log messages. > > Adds command line option `--log-auto-indent`, config option `log_auto_indent` and support for per-entry configuration of indentation behavior on calls to `logging.log()`. > > Alters the default for auto-indention from `on` to `off`. This restores the older behavior that existed prior to v4.6.0. This reversion to earlier behavior was done because it is better to activate new features that may lead to broken tests explicitly rather than implicitly. > > - [\#5914](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5914): [testdir](https://docs.pytest.org/en/latest/reference.html#testdir) learned two new functions, [no\_fnmatch\_line](https://docs.pytest.org/en/latest/reference.html#_pytest.pytester.LineMatcher.no_fnmatch_line) and [no\_re\_match\_line](https://docs.pytest.org/en/latest/reference.html#_pytest.pytester.LineMatcher.no_re_match_line). > > ... (truncated)
Commits - [`05008f6`](https://github.com/pytest-dev/pytest/commit/05008f6b557ad35b71efd9e9ebca96c07402d793) Preparing release version 5.3.1 - [`9d90093`](https://github.com/pytest-dev/pytest/commit/9d900930dbf52fc79ac9414c1f6d9ec485f55e18) Merge pull request [#6242](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6242) from nicoddemus/testdir-changelog - [`a8230d7`](https://github.com/pytest-dev/pytest/commit/a8230d77f45984e80c4b528cd6f1909128816ed5) Merge pull request [#6270](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6270) from blueyed/docs-log_cli - [`b7d908f`](https://github.com/pytest-dev/pytest/commit/b7d908f4a5a8d27ab7cb84b2eb430830c641f7df) Merge pull request [#6269](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6269) from blueyed/docs - [`b9dd0e6`](https://github.com/pytest-dev/pytest/commit/b9dd0e621004f8849f6487316b6ff85f9691d251) docs: add missing `log_cli` confval - [`57f3dc1`](https://github.com/pytest-dev/pytest/commit/57f3dc19b9a26748f9238a0f9af8022c1cfcc106) tox: docs: --keep-going and posargs - [`ed67312`](https://github.com/pytest-dev/pytest/commit/ed67312bca2b8b51c6b309df1201be0f89bbb6ae) Merge pull request [#6268](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6268) from felixonmars/patch-2 - [`b7bc52f`](https://github.com/pytest-dev/pytest/commit/b7bc52f770dd3352cfaf54ed5ec82df382013e2d) Correct a typo in _pytest/config/__init__.py - [`d1eb89d`](https://github.com/pytest-dev/pytest/commit/d1eb89d6940d3081876f663622017d8952e77a80) Merge pull request [#6086](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6086) from kondratyev-nv/master - [`5e09797`](https://github.com/pytest-dev/pytest/commit/5e097970df24a47a5944f29a6dca1eb1219b5b8e) Fix line detection for properties in doctest tests - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.0.1...5.3.1)


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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

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.

dependabot-preview[bot] commented 4 years ago

Superseded by #68.