Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 4.6.2 (2019-06-03)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5370](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5370): Revert unrolling of `all()` to fix `NameError` on nested comprehensions.
> - [\#5371](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5371): Revert unrolling of `all()` to fix incorrect handling of generators with `if`.
> - [\#5372](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5372): Revert unrolling of `all()` to fix incorrect assertion when using `all()` in an expression.
>
> 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.
> ... (truncated)
Commits
- [`70f0b77`](https://github.com/pytest-dev/pytest/commit/70f0b77c729d689d79498bcb525a8ec6d5464dd0) Preparing release version 4.6.2
- [`2a8b463`](https://github.com/pytest-dev/pytest/commit/2a8b463b389bf6cfad87f932532e8e6c3eeff093) Merge pull request [#5376](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5376) from asottile/backport_5373
- [`12bf458`](https://github.com/pytest-dev/pytest/commit/12bf458719cf29734f200094819fbedd8acc3464) Merge pull request [#5373](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5373) from asottile/revert_all_handling
- [`114dba5`](https://github.com/pytest-dev/pytest/commit/114dba56f843466cbf7d876cb7edc8e372990b9d) Merge pull request [#5362](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5362) from asottile/release-4.6.1
- [`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
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.2.3...4.6.2)
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 3.2.3 to 4.6.2.
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 4.6.2 (2019-06-03) > ========================= > > Bug Fixes > --------- > > - [\#5370](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5370): Revert unrolling of `all()` to fix `NameError` on nested comprehensions. > - [\#5371](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5371): Revert unrolling of `all()` to fix incorrect handling of generators with `if`. > - [\#5372](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5372): Revert unrolling of `all()` to fix incorrect assertion when using `all()` in an expression. > > 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. > ... (truncated)Commits
- [`70f0b77`](https://github.com/pytest-dev/pytest/commit/70f0b77c729d689d79498bcb525a8ec6d5464dd0) Preparing release version 4.6.2 - [`2a8b463`](https://github.com/pytest-dev/pytest/commit/2a8b463b389bf6cfad87f932532e8e6c3eeff093) Merge pull request [#5376](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5376) from asottile/backport_5373 - [`12bf458`](https://github.com/pytest-dev/pytest/commit/12bf458719cf29734f200094819fbedd8acc3464) Merge pull request [#5373](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5373) from asottile/revert_all_handling - [`114dba5`](https://github.com/pytest-dev/pytest/commit/114dba56f843466cbf7d876cb7edc8e372990b9d) Merge pull request [#5362](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5362) from asottile/release-4.6.1 - [`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 - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.2.3...4.6.2)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.