Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 4.6.1 (2019-06-02)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5354](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5354): Fix `pytest.mark.parametrize` when the argvalues is an iterator.
> - [\#5358](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5358): Fix assertion rewriting of `all()` calls to deal with non-generators.
>
> pytest 4.6.0 (2019-05-31)
> =========================
>
> Important
> ---------
>
> The `4.6.X` series will be the last series to support **Python 2 and Python 3.4**.
>
> For more details, see our [Python 2.7 and 3.4 support plan](https://docs.pytest.org/en/latest/py27-py34-deprecation.html).
>
> Features
> --------
>
> - [\#4559](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4559): Added the `junit_log_passing_tests` ini value which can be used to enable or disable logging of passing test output in the Junit XML file.
> - [\#4956](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4956): pytester's `testdir.spawn` uses `tmpdir` as HOME/USERPROFILE directory.
> - [\#5062](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5062): Unroll calls to `all` to full for-loops with assertion rewriting for better failure messages, especially when using Generator Expressions.
> - [\#5063](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5063): Switch from `pkg_resources` to `importlib-metadata` for entrypoint detection for improved performance and import time.
> - [\#5091](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5091): The output for ini options in `--help` has been improved.
> - [\#5269](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5269): `pytest.importorskip` includes the `ImportError` now in the default `reason`.
> - [\#5311](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5311): Captured logs that are output for each failing test are formatted using the ColoredLevelFormatter.
> - [\#5312](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5312): Improved formatting of multiline log messages in Python 3.
>
> Bug Fixes
> ---------
>
> - [\#2064](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2064): The debugging plugin imports the wrapped `Pdb` class (`--pdbcls`) on-demand now.
> - [\#4908](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4908): The `pytest_enter_pdb` hook gets called with post-mortem (`--pdb`).
> - [\#5036](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5036): Fix issue where fixtures dependent on other parametrized fixtures would be erroneously parametrized.
> - [\#5256](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5256): Handle internal error due to a lone surrogate unicode character not being representable in Jython.
> - [\#5257](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5257): Ensure that `sys.stdout.mode` does not include `'b'` as it is a text stream.
> - [\#5278](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5278): Pytest's internal python plugin can be disabled using `-p no:python` again.
> - [\#5286](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5286): Fix issue with `disable_test_id_escaping_and_forfeit_all_rights_to_community_support` option not working when using a list of test IDs in parametrized tests.
> - [\#5330](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5330): Show the test module being collected when emitting `PytestCollectionWarning` messages for test classes with `__init__` and `__new__` methods to make it easier to pin down the problem.
> - [\#5333](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5333): Fix regression in 4.5.0 with `--lf` not re-running all tests with known failures from non-selected tests.
>
> Improved Documentation
> ----------------------
>
> - [\#5250](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5250): Expand docs on use of `setenv` and `delenv` with `monkeypatch`.
Commits
- [`abb853f`](https://github.com/pytest-dev/pytest/commit/abb853f482e5fa37b2f18f22662d33e52117e696) Preparing release version 4.6.1
- [`8208a37`](https://github.com/pytest-dev/pytest/commit/8208a376cc440ea98174b5d7e9bb0955f7fa2d8c) Merge pull request [#5361](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5361) from asottile/backport_5360
- [`f078984`](https://github.com/pytest-dev/pytest/commit/f078984c2e2775f9c47f43f248c366d638213b76) Fix all() unroll for non-generators/non-list comprehensions ([#5360](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5360))
- [`dba62f8`](https://github.com/pytest-dev/pytest/commit/dba62f8a465a0fe4f57758544b0d9faac6fe2562) [4.6] Fix `pytest.mark.parametrize` when the argvalue is an iterator ([#5357](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5357))
- [`f7bf914`](https://github.com/pytest-dev/pytest/commit/f7bf91410824e9090677943d51c46eed290bf736) Fix `pytest.mark.parametrize` when the argvalue is an iterator
- [`917195e`](https://github.com/pytest-dev/pytest/commit/917195ea8efb23b033fd0c4ad8c5f34d451f7f6c) Merge pull request [#5350](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5350) from asottile/release-4.6.0
- [`e7cd00a`](https://github.com/pytest-dev/pytest/commit/e7cd00ac920f3db2855becd75193d2241b84e56d) Preparing release version 4.6.0
- [`693c3b7`](https://github.com/pytest-dev/pytest/commit/693c3b7f61d4d32f8927a74f34ce8ac56d63958e) Merge pull request [#5349](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5349) from asottile/mm
- [`fb3ae5e`](https://github.com/pytest-dev/pytest/commit/fb3ae5eaa94594c211bbef801943e73282762025) Merge remote-tracking branch 'origin/master' into mm
- [`c8d23c2`](https://github.com/pytest-dev/pytest/commit/c8d23c206bd25d869acac2ee87d01289b04c3cda) logging: Improve formatting of multiline message ([#5312](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5312))
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.5.0...4.6.1)
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](https://app.dependabot.com):
- 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.
Bumps pytest from 4.5.0 to 4.6.1.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.6.1 (2019-06-02) > ========================= > > Bug Fixes > --------- > > - [\#5354](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5354): Fix `pytest.mark.parametrize` when the argvalues is an iterator. > - [\#5358](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5358): Fix assertion rewriting of `all()` calls to deal with non-generators. > > pytest 4.6.0 (2019-05-31) > ========================= > > Important > --------- > > The `4.6.X` series will be the last series to support **Python 2 and Python 3.4**. > > For more details, see our [Python 2.7 and 3.4 support plan](https://docs.pytest.org/en/latest/py27-py34-deprecation.html). > > Features > -------- > > - [\#4559](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4559): Added the `junit_log_passing_tests` ini value which can be used to enable or disable logging of passing test output in the Junit XML file. > - [\#4956](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4956): pytester's `testdir.spawn` uses `tmpdir` as HOME/USERPROFILE directory. > - [\#5062](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5062): Unroll calls to `all` to full for-loops with assertion rewriting for better failure messages, especially when using Generator Expressions. > - [\#5063](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5063): Switch from `pkg_resources` to `importlib-metadata` for entrypoint detection for improved performance and import time. > - [\#5091](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5091): The output for ini options in `--help` has been improved. > - [\#5269](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5269): `pytest.importorskip` includes the `ImportError` now in the default `reason`. > - [\#5311](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5311): Captured logs that are output for each failing test are formatted using the ColoredLevelFormatter. > - [\#5312](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5312): Improved formatting of multiline log messages in Python 3. > > Bug Fixes > --------- > > - [\#2064](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/2064): The debugging plugin imports the wrapped `Pdb` class (`--pdbcls`) on-demand now. > - [\#4908](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4908): The `pytest_enter_pdb` hook gets called with post-mortem (`--pdb`). > - [\#5036](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5036): Fix issue where fixtures dependent on other parametrized fixtures would be erroneously parametrized. > - [\#5256](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5256): Handle internal error due to a lone surrogate unicode character not being representable in Jython. > - [\#5257](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5257): Ensure that `sys.stdout.mode` does not include `'b'` as it is a text stream. > - [\#5278](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5278): Pytest's internal python plugin can be disabled using `-p no:python` again. > - [\#5286](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5286): Fix issue with `disable_test_id_escaping_and_forfeit_all_rights_to_community_support` option not working when using a list of test IDs in parametrized tests. > - [\#5330](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5330): Show the test module being collected when emitting `PytestCollectionWarning` messages for test classes with `__init__` and `__new__` methods to make it easier to pin down the problem. > - [\#5333](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5333): Fix regression in 4.5.0 with `--lf` not re-running all tests with known failures from non-selected tests. > > Improved Documentation > ---------------------- > > - [\#5250](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5250): Expand docs on use of `setenv` and `delenv` with `monkeypatch`.Commits
- [`abb853f`](https://github.com/pytest-dev/pytest/commit/abb853f482e5fa37b2f18f22662d33e52117e696) Preparing release version 4.6.1 - [`8208a37`](https://github.com/pytest-dev/pytest/commit/8208a376cc440ea98174b5d7e9bb0955f7fa2d8c) Merge pull request [#5361](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5361) from asottile/backport_5360 - [`f078984`](https://github.com/pytest-dev/pytest/commit/f078984c2e2775f9c47f43f248c366d638213b76) Fix all() unroll for non-generators/non-list comprehensions ([#5360](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5360)) - [`dba62f8`](https://github.com/pytest-dev/pytest/commit/dba62f8a465a0fe4f57758544b0d9faac6fe2562) [4.6] Fix `pytest.mark.parametrize` when the argvalue is an iterator ([#5357](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5357)) - [`f7bf914`](https://github.com/pytest-dev/pytest/commit/f7bf91410824e9090677943d51c46eed290bf736) Fix `pytest.mark.parametrize` when the argvalue is an iterator - [`917195e`](https://github.com/pytest-dev/pytest/commit/917195ea8efb23b033fd0c4ad8c5f34d451f7f6c) Merge pull request [#5350](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5350) from asottile/release-4.6.0 - [`e7cd00a`](https://github.com/pytest-dev/pytest/commit/e7cd00ac920f3db2855becd75193d2241b84e56d) Preparing release version 4.6.0 - [`693c3b7`](https://github.com/pytest-dev/pytest/commit/693c3b7f61d4d32f8927a74f34ce8ac56d63958e) Merge pull request [#5349](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5349) from asottile/mm - [`fb3ae5e`](https://github.com/pytest-dev/pytest/commit/fb3ae5eaa94594c211bbef801943e73282762025) Merge remote-tracking branch 'origin/master' into mm - [`c8d23c2`](https://github.com/pytest-dev/pytest/commit/c8d23c206bd25d869acac2ee87d01289b04c3cda) logging: Improve formatting of multiline message ([#5312](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5312)) - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/4.5.0...4.6.1)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](https://app.dependabot.com): - 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.