Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).*
> ## 5.2.3
> pytest 5.2.3 (2019-11-14)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5830](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5830): The
> first test in a package (`__init__.py`) marked with
> `@pytest.mark.skip` is now correctly skipped.
> - [\#6099](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6099): Fix
> `--trace` when used with parametrized functions.
> - [\#6183](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6183): Using
> `request` as a parameter name in `@pytest.mark.parametrize` now
> produces a more user-friendly error.
>
> ## 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)
> =========================
>
> ... (truncated)
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 5.2.3 (2019-11-14)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#5830](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5830): The first test in a package (`__init__.py`) marked with `@pytest.mark.skip` is now correctly skipped.
> - [\#6099](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6099): Fix `--trace` when used with parametrized functions.
> - [\#6183](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6183): Using `request` as a parameter name in `@pytest.mark.parametrize` now produces a more user-friendly error.
>
> 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
> ... (truncated)
Commits
- [`dd9a27c`](https://github.com/pytest-dev/pytest/commit/dd9a27cf543c39f91039ecd7aa6aa595b3e79330) Adjust CHANGELOG
- [`5e8c47f`](https://github.com/pytest-dev/pytest/commit/5e8c47faad91ccf49897a290efd62bcac1971ff7) Preparing release version 5.2.3
- [`92d6a05`](https://github.com/pytest-dev/pytest/commit/92d6a0500b9f528a9adcd6bbcda46ebf9b6baf03) Show a better message when 'request' is used in parametrize ([#6184](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6184))
- [`6f2c0fd`](https://github.com/pytest-dev/pytest/commit/6f2c0fd2e8e8154c8129900c9a1c650068811404) Show a better message when 'request' is used in parametrize
- [`55a58bc`](https://github.com/pytest-dev/pytest/commit/55a58bcd3d15887610e1303f4076401bd16ba742) Merge pull request [#6173](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6173) from brettcannon/patch-1
- [`0b40749`](https://github.com/pytest-dev/pytest/commit/0b40749c9826d67ff44044608778d6ccd763e95a) Delineate syntactically that the 'match' argument to 'raises' is keyword-only
- [`adccb63`](https://github.com/pytest-dev/pytest/commit/adccb63de01965ff873038fa2b1bacfa7dbaf049) setup.cfg: fix check-manifest ignore [ci skip] ([#6156](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6156))
- [`41604ee`](https://github.com/pytest-dev/pytest/commit/41604eeb3e70c35103b5260b20419a817a0fe6ac) setup.cfg: fix check-manifest ignore [ci skip]
- [`85288b5`](https://github.com/pytest-dev/pytest/commit/85288b53218d4e0037dce9c34bd37f86fa9e212d) fix bug with nonskipped first test in package ([#5831](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5831))
- [`5f9db8a`](https://github.com/pytest-dev/pytest/commit/5f9db8a01721e10162769b96b82794dd069bbaeb) Merge pull request [#6138](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6138) from blueyed/ci-py38
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.1.2...5.2.3)
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 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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps pytest from 5.1.2 to 5.2.3.
Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 5.2.3 > pytest 5.2.3 (2019-11-14) > ========================= > > Bug Fixes > --------- > > - [\#5830](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5830): The > first test in a package (`__init__.py`) marked with > `@pytest.mark.skip` is now correctly skipped. > - [\#6099](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6099): Fix > `--trace` when used with parametrized functions. > - [\#6183](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6183): Using > `request` as a parameter name in `@pytest.mark.parametrize` now > produces a more user-friendly error. > > ## 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) > ========================= > > ... (truncated)Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 5.2.3 (2019-11-14) > ========================= > > Bug Fixes > --------- > > - [\#5830](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5830): The first test in a package (`__init__.py`) marked with `@pytest.mark.skip` is now correctly skipped. > - [\#6099](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6099): Fix `--trace` when used with parametrized functions. > - [\#6183](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6183): Using `request` as a parameter name in `@pytest.mark.parametrize` now produces a more user-friendly error. > > 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 > ... (truncated)Commits
- [`dd9a27c`](https://github.com/pytest-dev/pytest/commit/dd9a27cf543c39f91039ecd7aa6aa595b3e79330) Adjust CHANGELOG - [`5e8c47f`](https://github.com/pytest-dev/pytest/commit/5e8c47faad91ccf49897a290efd62bcac1971ff7) Preparing release version 5.2.3 - [`92d6a05`](https://github.com/pytest-dev/pytest/commit/92d6a0500b9f528a9adcd6bbcda46ebf9b6baf03) Show a better message when 'request' is used in parametrize ([#6184](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6184)) - [`6f2c0fd`](https://github.com/pytest-dev/pytest/commit/6f2c0fd2e8e8154c8129900c9a1c650068811404) Show a better message when 'request' is used in parametrize - [`55a58bc`](https://github.com/pytest-dev/pytest/commit/55a58bcd3d15887610e1303f4076401bd16ba742) Merge pull request [#6173](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6173) from brettcannon/patch-1 - [`0b40749`](https://github.com/pytest-dev/pytest/commit/0b40749c9826d67ff44044608778d6ccd763e95a) Delineate syntactically that the 'match' argument to 'raises' is keyword-only - [`adccb63`](https://github.com/pytest-dev/pytest/commit/adccb63de01965ff873038fa2b1bacfa7dbaf049) setup.cfg: fix check-manifest ignore [ci skip] ([#6156](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6156)) - [`41604ee`](https://github.com/pytest-dev/pytest/commit/41604eeb3e70c35103b5260b20419a817a0fe6ac) setup.cfg: fix check-manifest ignore [ci skip] - [`85288b5`](https://github.com/pytest-dev/pytest/commit/85288b53218d4e0037dce9c34bd37f86fa9e212d) fix bug with nonskipped first test in package ([#5831](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5831)) - [`5f9db8a`](https://github.com/pytest-dev/pytest/commit/5f9db8a01721e10162769b96b82794dd069bbaeb) Merge pull request [#6138](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6138) from blueyed/ci-py38 - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.1.2...5.2.3)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 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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)