Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).*
> ## 5.2.2
> pytest 5.2.2 (2019-10-24)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5206](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5206): Fix
> `--nf` to not forget about known nodeids with partial
> test selection.
> - [\#5906](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5906): Fix
> crash with `KeyboardInterrupt` during `--setup-show`.
> - [\#5946](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5946): Fixed
> issue when parametrizing fixtures with numpy arrays (and possibly
> other sequence-like types).
> - [\#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044): Properly
> ignore `FileNotFoundError` exceptions when trying to remove old
> temporary directories, for instance when multiple processes try to
> remove the same directory (common with `pytest-xdist` for example).
>
> ## 5.2.1
> pytest 5.2.1 (2019-10-06)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902): Fix
> warnings about deprecated `cmp` attribute in `attrs>=19.2`.
>
> ## 5.2.0
> pytest 5.2.0 (2019-09-28)
> =========================
>
> Deprecations
> ------------
>
> - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): Passing
> arguments to pytest.fixture() as positional arguments is
> deprecated - pass them as a keyword argument instead.
>
> Features
> --------
>
> - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): The
> `scope` parameter of `@pytest.fixture` can now be a callable that
> receives the fixture name and the `config` object as keyword-only
> parameters. See [the
> docs](https://docs.pytest.org/en/fixture.html#dynamic-scope) for
> more information.
> ... (truncated)
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 5.2.2 (2019-10-24)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5206](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5206): Fix `--nf` to not forget about known nodeids with partial test selection.
> - [\#5906](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5906): Fix crash with `KeyboardInterrupt` during `--setup-show`.
> - [\#5946](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5946): Fixed issue when parametrizing fixtures with numpy arrays (and possibly other sequence-like types).
> - [\#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044): Properly ignore `FileNotFoundError` exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common with `pytest-xdist` for example).
>
> pytest 5.2.1 (2019-10-06)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902): Fix warnings about deprecated `cmp` attribute in `attrs>=19.2`.
>
> pytest 5.2.0 (2019-09-28)
> =========================
>
> Deprecations
> ------------
>
> - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead.
>
> Features
> --------
>
> - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): The `scope` parameter of `@pytest.fixture` can now be a callable that receives the fixture name and the `config` object as keyword-only parameters. See [the docs](https://docs.pytest.org/en/latest/fixture.html#dynamic-scope) for more information.
> - [\#5764](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5764): New behavior of the `--pastebin` option: failures to connect to the pastebin server are reported, without failing the pytest run
>
> Bug Fixes
> ---------
>
> - [\#5806](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5806): Fix "lexer" being used when uploading to bpaste.net from `--pastebin` to "text".
> - [\#5884](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5884): Fix `--setup-only` and `--setup-show` for custom pytest items.
>
> Trivial/Internal Changes
> ------------------------
>
> - [\#5056](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5056): The HelpFormatter uses `py.io.get_terminal_width` for better width detection.
>
> pytest 5.1.3 (2019-09-18)
> =========================
>
> Bug Fixes
> ---------
>
> ... (truncated)
Commits
- [`b27ba97`](https://github.com/pytest-dev/pytest/commit/b27ba977219260528f4e47c9614c129d680dee90) Preparing release version 5.2.2
- [`2b56c7e`](https://github.com/pytest-dev/pytest/commit/2b56c7e1cefe58e4a94073a30ad0d698f366c7d4) Update Tidelift docs with latest campaign ([#6053](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6053))
- [`2bee7d7`](https://github.com/pytest-dev/pytest/commit/2bee7d7c3ed4bc80169f2ad1ff6af7ca2db3da7d) Update Tidelift docs with latest campaign
- [`713b9e5`](https://github.com/pytest-dev/pytest/commit/713b9e54c31a8ec66c59ebe44c3e86a9b60fa7c7) Review rm_rf handling of FileNotFoundErrors ([#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044))
- [`ba4b8c8`](https://github.com/pytest-dev/pytest/commit/ba4b8c869c70f6c46b780a1e1478ec75da61417a) Review rm_rf handling of FileNotFoundErrors
- [`82e9013`](https://github.com/pytest-dev/pytest/commit/82e9013e73ca6da796ff85627875936887ba213e) Merge pull request [#6004](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6004) from blueyed/fix-nf
- [`14142b9`](https://github.com/pytest-dev/pytest/commit/14142b911377d5354acf07ca1c9a7f11e9298b84) tests: remove unnecessary test, clarify ([#6013](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6013))
- [`0123b29`](https://github.com/pytest-dev/pytest/commit/0123b29ed754afd77b737845e5a205cc2404afbe) tests: remove unnecessary test, clarify
- [`16efa1b`](https://github.com/pytest-dev/pytest/commit/16efa1bfef19ee41f3a74f464139b4129ff804dc) Merge pull request [#6009](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6009) from yoavcaspi/fix_keyboardInterrupt_on_setup_show
- [`5624e36`](https://github.com/pytest-dev/pytest/commit/5624e366c1c812e200231e70c6ba2f15dc04a323) add more indications to the result of the tests
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.0.1...5.2.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.
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)
Bumps pytest from 5.0.1 to 5.2.2.
Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 5.2.2 > pytest 5.2.2 (2019-10-24) > ========================= > > Bug Fixes > --------- > > - [\#5206](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5206): Fix > `--nf` to not forget about known nodeids with partial > test selection. > - [\#5906](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5906): Fix > crash with `KeyboardInterrupt` during `--setup-show`. > - [\#5946](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5946): Fixed > issue when parametrizing fixtures with numpy arrays (and possibly > other sequence-like types). > - [\#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044): Properly > ignore `FileNotFoundError` exceptions when trying to remove old > temporary directories, for instance when multiple processes try to > remove the same directory (common with `pytest-xdist` for example). > > ## 5.2.1 > pytest 5.2.1 (2019-10-06) > ========================= > > Bug Fixes > --------- > > - [\#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902): Fix > warnings about deprecated `cmp` attribute in `attrs>=19.2`. > > ## 5.2.0 > pytest 5.2.0 (2019-09-28) > ========================= > > Deprecations > ------------ > > - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): Passing > arguments to pytest.fixture() as positional arguments is > deprecated - pass them as a keyword argument instead. > > Features > -------- > > - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): The > `scope` parameter of `@pytest.fixture` can now be a callable that > receives the fixture name and the `config` object as keyword-only > parameters. See [the > docs](https://docs.pytest.org/en/fixture.html#dynamic-scope) for > more information. > ... (truncated)Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 5.2.2 (2019-10-24) > ========================= > > Bug Fixes > --------- > > - [\#5206](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5206): Fix `--nf` to not forget about known nodeids with partial test selection. > - [\#5906](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5906): Fix crash with `KeyboardInterrupt` during `--setup-show`. > - [\#5946](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5946): Fixed issue when parametrizing fixtures with numpy arrays (and possibly other sequence-like types). > - [\#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044): Properly ignore `FileNotFoundError` exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common with `pytest-xdist` for example). > > pytest 5.2.1 (2019-10-06) > ========================= > > Bug Fixes > --------- > > - [\#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902): Fix warnings about deprecated `cmp` attribute in `attrs>=19.2`. > > pytest 5.2.0 (2019-09-28) > ========================= > > Deprecations > ------------ > > - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead. > > Features > -------- > > - [\#1682](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/1682): The `scope` parameter of `@pytest.fixture` can now be a callable that receives the fixture name and the `config` object as keyword-only parameters. See [the docs](https://docs.pytest.org/en/latest/fixture.html#dynamic-scope) for more information. > - [\#5764](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5764): New behavior of the `--pastebin` option: failures to connect to the pastebin server are reported, without failing the pytest run > > Bug Fixes > --------- > > - [\#5806](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5806): Fix "lexer" being used when uploading to bpaste.net from `--pastebin` to "text". > - [\#5884](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5884): Fix `--setup-only` and `--setup-show` for custom pytest items. > > Trivial/Internal Changes > ------------------------ > > - [\#5056](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5056): The HelpFormatter uses `py.io.get_terminal_width` for better width detection. > > pytest 5.1.3 (2019-09-18) > ========================= > > Bug Fixes > --------- > > ... (truncated)Commits
- [`b27ba97`](https://github.com/pytest-dev/pytest/commit/b27ba977219260528f4e47c9614c129d680dee90) Preparing release version 5.2.2 - [`2b56c7e`](https://github.com/pytest-dev/pytest/commit/2b56c7e1cefe58e4a94073a30ad0d698f366c7d4) Update Tidelift docs with latest campaign ([#6053](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6053)) - [`2bee7d7`](https://github.com/pytest-dev/pytest/commit/2bee7d7c3ed4bc80169f2ad1ff6af7ca2db3da7d) Update Tidelift docs with latest campaign - [`713b9e5`](https://github.com/pytest-dev/pytest/commit/713b9e54c31a8ec66c59ebe44c3e86a9b60fa7c7) Review rm_rf handling of FileNotFoundErrors ([#6044](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6044)) - [`ba4b8c8`](https://github.com/pytest-dev/pytest/commit/ba4b8c869c70f6c46b780a1e1478ec75da61417a) Review rm_rf handling of FileNotFoundErrors - [`82e9013`](https://github.com/pytest-dev/pytest/commit/82e9013e73ca6da796ff85627875936887ba213e) Merge pull request [#6004](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6004) from blueyed/fix-nf - [`14142b9`](https://github.com/pytest-dev/pytest/commit/14142b911377d5354acf07ca1c9a7f11e9298b84) tests: remove unnecessary test, clarify ([#6013](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6013)) - [`0123b29`](https://github.com/pytest-dev/pytest/commit/0123b29ed754afd77b737845e5a205cc2404afbe) tests: remove unnecessary test, clarify - [`16efa1b`](https://github.com/pytest-dev/pytest/commit/16efa1bfef19ee41f3a74f464139b4129ff804dc) Merge pull request [#6009](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6009) from yoavcaspi/fix_keyboardInterrupt_on_setup_show - [`5624e36`](https://github.com/pytest-dev/pytest/commit/5624e366c1c812e200231e70c6ba2f15dc04a323) add more indications to the result of the tests - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.0.1...5.2.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
.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)