Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).*
> ## 5.2.4
> pytest 5.2.4 (2019-11-15)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#6194](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6194): Fix
> incorrect discovery of non-test `__init__.py` files.
> - [\#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197): Revert
> "The first test in a package (`__init__.py`) marked with
> `@pytest.mark.skip` is now correctly skipped.".
>
> ## 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
> ... (truncated)
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> pytest 5.2.4 (2019-11-15)
> =========================
>
> Bug Fixes
> ---------
>
> - [\#6194](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6194): Fix incorrect discovery of non-test `__init__.py` files.
> - [\#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197): Revert "The first test in a package (`__init__.py`) marked with `@pytest.mark.skip` is now correctly skipped.".
>
> 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.
> ... (truncated)
Commits
- [`c9a96cd`](https://github.com/pytest-dev/pytest/commit/c9a96cdee8ee7c1a9ead49b355fab9aef73196fe) Preparing release version 5.2.4
- [`19a15a9`](https://github.com/pytest-dev/pytest/commit/19a15a94eeb403631f847fab5fe5073bc56e8bcc) Merge pull request [#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197) from asottile/fix_init_py_discovery
- [`4e0f992`](https://github.com/pytest-dev/pytest/commit/4e0f99260d438d750b55a0881110658b8bba5a4a) Add regression tests for __init__.py breakage
- [`176c777`](https://github.com/pytest-dev/pytest/commit/176c7771fb4f3bd703bb6c9650cc32e31d548a2b) Revert "fix bug with nonskipped first test in package ([#5831](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5831))"
- [`e856638`](https://github.com/pytest-dev/pytest/commit/e856638ba086fcf5bebf1bebea32d5cf78de87b4) Preparing release version 5.2.3 ([#6190](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6190))
- [`dd9a27c`](https://github.com/pytest-dev/pytest/commit/dd9a27cf543c39f91039ecd7aa6aa595b3e79330) Adjust CHANGELOG
- [`d4e4ab5`](https://github.com/pytest-dev/pytest/commit/d4e4ab5b3d8bd8fd51430536808bfa3a0805689d) Update text in PR template ([#6188](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6188))
- [`e2a0987`](https://github.com/pytest-dev/pytest/commit/e2a0987156c7b95b27f454d3b8710fd36aa13758) Update advice about _called_from_test. ([#6168](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6168))
- [`bd68c2a`](https://github.com/pytest-dev/pytest/commit/bd68c2a3dca6e6aadd1f9a0e4810f53256d4f6a8) Update advice about _called_from_test.
- [`5e8c47f`](https://github.com/pytest-dev/pytest/commit/5e8c47faad91ccf49897a290efd62bcac1971ff7) Preparing release version 5.2.3
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.9.2...5.2.4)
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)
- 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)
Coverage remained the same at ?% when pulling 531ba7fcac0594daf42f749ab3a3fdd600a5c8be on dependabot/pip/pytest-5.2.4 into 30c301c72f100af3db01820bafacc9f62a20784b on master.
Bumps pytest from 3.9.2 to 5.2.4.
Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 5.2.4 > pytest 5.2.4 (2019-11-15) > ========================= > > Bug Fixes > --------- > > - [\#6194](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6194): Fix > incorrect discovery of non-test `__init__.py` files. > - [\#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197): Revert > "The first test in a package (`__init__.py`) marked with > `@pytest.mark.skip` is now correctly skipped.". > > ## 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 > ... (truncated)Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > pytest 5.2.4 (2019-11-15) > ========================= > > Bug Fixes > --------- > > - [\#6194](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6194): Fix incorrect discovery of non-test `__init__.py` files. > - [\#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197): Revert "The first test in a package (`__init__.py`) marked with `@pytest.mark.skip` is now correctly skipped.". > > 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. > ... (truncated)Commits
- [`c9a96cd`](https://github.com/pytest-dev/pytest/commit/c9a96cdee8ee7c1a9ead49b355fab9aef73196fe) Preparing release version 5.2.4 - [`19a15a9`](https://github.com/pytest-dev/pytest/commit/19a15a94eeb403631f847fab5fe5073bc56e8bcc) Merge pull request [#6197](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6197) from asottile/fix_init_py_discovery - [`4e0f992`](https://github.com/pytest-dev/pytest/commit/4e0f99260d438d750b55a0881110658b8bba5a4a) Add regression tests for __init__.py breakage - [`176c777`](https://github.com/pytest-dev/pytest/commit/176c7771fb4f3bd703bb6c9650cc32e31d548a2b) Revert "fix bug with nonskipped first test in package ([#5831](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5831))" - [`e856638`](https://github.com/pytest-dev/pytest/commit/e856638ba086fcf5bebf1bebea32d5cf78de87b4) Preparing release version 5.2.3 ([#6190](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6190)) - [`dd9a27c`](https://github.com/pytest-dev/pytest/commit/dd9a27cf543c39f91039ecd7aa6aa595b3e79330) Adjust CHANGELOG - [`d4e4ab5`](https://github.com/pytest-dev/pytest/commit/d4e4ab5b3d8bd8fd51430536808bfa3a0805689d) Update text in PR template ([#6188](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6188)) - [`e2a0987`](https://github.com/pytest-dev/pytest/commit/e2a0987156c7b95b27f454d3b8710fd36aa13758) Update advice about _called_from_test. ([#6168](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6168)) - [`bd68c2a`](https://github.com/pytest-dev/pytest/commit/bd68c2a3dca6e6aadd1f9a0e4810f53256d4f6a8) Update advice about _called_from_test. - [`5e8c47f`](https://github.com/pytest-dev/pytest/commit/5e8c47faad91ccf49897a290efd62bcac1971ff7) Preparing release version 5.2.3 - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/3.9.2...5.2.4)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) - 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)