Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).*
> ## 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.
> - [\#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.
>
> ... (truncated)
Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).*
> 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
> ---------
>
> - [\#5807](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5807): Fix pypy3.6 (nightly) on windows.
> - [\#5811](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5811): Handle `--fulltrace` correctly with `pytest.raises`.
> - [\#5819](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5819): Windows: Fix regression with conftest whose qualified name contains uppercase characters (introduced by [#5792](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5792)).
Commits
- [`12cc729`](https://github.com/pytest-dev/pytest/commit/12cc729f6b50abbd3708dfc64e76ff454852b805) Preparing release version 5.2.1
- [`1c5efff`](https://github.com/pytest-dev/pytest/commit/1c5efffd904e0068a3e7b4090d94bbe589be66bf) Add changelog entry for [#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902)
- [`8c9ea5e`](https://github.com/pytest-dev/pytest/commit/8c9ea5e055e7ef7a7d33db65c781adee16b55bc0) Fix warnings with attrs 19.2 and fix object assertions ([#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902))
- [`c58b0fb`](https://github.com/pytest-dev/pytest/commit/c58b0fb4acefefc81a12ab92ad3f37384218ee78) Use ATTRS_EQ_FIELD for attrs 19.2 compat
- [`4011af6`](https://github.com/pytest-dev/pytest/commit/4011af68cd84a69f0b222503eb5f2dc71bdd7e83) Merge pull request [#5910](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5910) from pytest-dev/asottile-patch-1
- [`9637b3e`](https://github.com/pytest-dev/pytest/commit/9637b3e376d6e94c10af5c7132f97fd3cb308125) Fix dynamic scoping changelog link
- [`33c3ec6`](https://github.com/pytest-dev/pytest/commit/33c3ec66b77b8e5b3abbe0a81aafceafec1932ee) Merge pull request [#5898](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5898) from kevinjfoley/doc-typo-fix
- [`a79acf2`](https://github.com/pytest-dev/pytest/commit/a79acf279a80bbbac0a05d8fadf62649753c668a) Fix warnings with attrs 19.2 and fix object assertions
- [`9a4c0b9`](https://github.com/pytest-dev/pytest/commit/9a4c0b991b07dff83896999717545b2b44b38901) Update doc: pytest section in setup.cfg ([#5894](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5894))
- [`b490f5f`](https://github.com/pytest-dev/pytest/commit/b490f5f97915ebe63666e1a51816f81c43d16267) Fix doc typo
- Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.1.2...5.2.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 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.1.2 to 5.2.1.
Release notes
*Sourced from [pytest's releases](https://github.com/pytest-dev/pytest/releases).* > ## 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. > - [\#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. > > ... (truncated)Changelog
*Sourced from [pytest's changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst).* > 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 > --------- > > - [\#5807](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5807): Fix pypy3.6 (nightly) on windows. > - [\#5811](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5811): Handle `--fulltrace` correctly with `pytest.raises`. > - [\#5819](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5819): Windows: Fix regression with conftest whose qualified name contains uppercase characters (introduced by [#5792](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5792)).Commits
- [`12cc729`](https://github.com/pytest-dev/pytest/commit/12cc729f6b50abbd3708dfc64e76ff454852b805) Preparing release version 5.2.1 - [`1c5efff`](https://github.com/pytest-dev/pytest/commit/1c5efffd904e0068a3e7b4090d94bbe589be66bf) Add changelog entry for [#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902) - [`8c9ea5e`](https://github.com/pytest-dev/pytest/commit/8c9ea5e055e7ef7a7d33db65c781adee16b55bc0) Fix warnings with attrs 19.2 and fix object assertions ([#5902](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5902)) - [`c58b0fb`](https://github.com/pytest-dev/pytest/commit/c58b0fb4acefefc81a12ab92ad3f37384218ee78) Use ATTRS_EQ_FIELD for attrs 19.2 compat - [`4011af6`](https://github.com/pytest-dev/pytest/commit/4011af68cd84a69f0b222503eb5f2dc71bdd7e83) Merge pull request [#5910](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5910) from pytest-dev/asottile-patch-1 - [`9637b3e`](https://github.com/pytest-dev/pytest/commit/9637b3e376d6e94c10af5c7132f97fd3cb308125) Fix dynamic scoping changelog link - [`33c3ec6`](https://github.com/pytest-dev/pytest/commit/33c3ec66b77b8e5b3abbe0a81aafceafec1932ee) Merge pull request [#5898](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5898) from kevinjfoley/doc-typo-fix - [`a79acf2`](https://github.com/pytest-dev/pytest/commit/a79acf279a80bbbac0a05d8fadf62649753c668a) Fix warnings with attrs 19.2 and fix object assertions - [`9a4c0b9`](https://github.com/pytest-dev/pytest/commit/9a4c0b991b07dff83896999717545b2b44b38901) Update doc: pytest section in setup.cfg ([#5894](https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5894)) - [`b490f5f`](https://github.com/pytest-dev/pytest/commit/b490f5f97915ebe63666e1a51816f81c43d16267) Fix doc typo - Additional commits viewable in [compare view](https://github.com/pytest-dev/pytest/compare/5.1.2...5.2.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 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)