Skip to content

build(deps): Bump pytest-bdd from 5.0.0 to 6.0.1 in /testing/plugins_integration - #57

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/testing/plugins_integration/pytest-bdd-6.0.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/testing/plugins_integration/pytest-bdd-6.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 11, 2022

Copy link
Copy Markdown

Bumps pytest-bdd from 5.0.0 to 6.0.1.

Release notes

Sourced from pytest-bdd's releases.

Release 6.0.0

This release introduces breaking changes in order to be more in line with the official gherkin specification.

Changelog

Sourced from pytest-bdd's changelog.

6.0.1

  • Fix regression introduced in 6.0.0 where a step function decorated multiple using a parsers times would not be executed correctly. [#530](https://github.com/pytest-dev/pytest-bdd/issues/530) <https://github.com/pytest-dev/pytest-bdd/pull/530>_ [#528](https://github.com/pytest-dev/pytest-bdd/issues/528) <https://github.com/pytest-dev/pytest-bdd/issues/528>_

6.0.0

This release introduces breaking changes in order to be more in line with the official gherkin specification.

  • Cleanup of the documentation and tests related to parametrization (elchupanebrej) [#469](https://github.com/pytest-dev/pytest-bdd/issues/469) <https://github.com/pytest-dev/pytest-bdd/pull/469>_
  • Removed feature level examples for the gherkin compatibility (olegpidsadnyi) [#490](https://github.com/pytest-dev/pytest-bdd/issues/490) <https://github.com/pytest-dev/pytest-bdd/pull/490>_
  • Removed vertical examples for the gherkin compatibility (olegpidsadnyi) [#492](https://github.com/pytest-dev/pytest-bdd/issues/492) <https://github.com/pytest-dev/pytest-bdd/pull/492>_
  • Step arguments are no longer fixtures (olegpidsadnyi) [#493](https://github.com/pytest-dev/pytest-bdd/issues/493) <https://github.com/pytest-dev/pytest-bdd/pull/493>_
  • Drop support of python 3.6, pytest 4 (elchupanebrej) [#495](https://github.com/pytest-dev/pytest-bdd/issues/495) <https://github.com/pytest-dev/pytest-bdd/pull/495>_ [#504](https://github.com/pytest-dev/pytest-bdd/issues/504) <https://github.com/pytest-dev/pytest-bdd/issues/504>_
  • Step definitions can have "yield" statements again (4.0 release broke it). They will be executed as normal fixtures: code after the yield is executed during teardown of the test. (youtux) [#503](https://github.com/pytest-dev/pytest-bdd/issues/503) <https://github.com/pytest-dev/pytest-bdd/issues/503>_
  • Scenario outlines unused example parameter validation is removed (olegpidsadnyi) [#499](https://github.com/pytest-dev/pytest-bdd/issues/499) <https://github.com/pytest-dev/pytest-bdd/pull/499>_
  • Add type annotations (youtux) [#505](https://github.com/pytest-dev/pytest-bdd/issues/505) <https://github.com/pytest-dev/pytest-bdd/pull/505>_
  • pytest_bdd.parsers.StepParser now is an Abstract Base Class. Subclasses must make sure to implement the abstract methods. (youtux) [#505](https://github.com/pytest-dev/pytest-bdd/issues/505) <https://github.com/pytest-dev/pytest-bdd/pull/505>_
  • Angular brackets in step definitions are only parsed in "Scenario Outline" (previously they were parsed also in normal "Scenario"s) (youtux) [#524](https://github.com/pytest-dev/pytest-bdd/issues/524) <https://github.com/pytest-dev/pytest-bdd/pull/524>_.
Commits
  • 7393b46 Merge pull request #530 from pytest-dev/fix-parsed-step-aliases
  • 533b5cd Bump version, update changelog
  • 15e1a8a Handle multiple parsers connected to a step function
  • 81a9264 Merge pull request #529 from pytest-dev/changelog-6.0.0
  • 658c202 Update changelog for 6.0.0 release
  • 55e43da Merge pull request #518 from pytest-dev/pre-commit-ci-update-config
  • 2411ac2 Merge branch 'master' into pre-commit-ci-update-config
  • 2ae7d33 Merge pull request #526 from pytest-dev/update-readme
  • 0cd4d14 Fix filename
  • a9bbf89 Fix copy
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [pytest-bdd](https://github.com/pytest-dev/pytest-bdd) from 5.0.0 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest-bdd/releases)
- [Changelog](https://github.com/pytest-dev/pytest-bdd/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-bdd@5.0.0...6.0.1)

---
updated-dependencies:
- dependency-name: pytest-bdd
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
RonnyPfannschmidt added a commit that referenced this pull request Jul 31, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 10, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 20, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 22, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 25, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 26, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
RonnyPfannschmidt added a commit that referenced this pull request Aug 26, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
RonnyPfannschmidt added a commit that referenced this pull request Sep 1, 2026
Python evaluates a comparison chain lazily -- in `a < b < c`, c is never
evaluated when a < b is false.  visit_Compare walked the comparators in
a loop and only combined the results with `and` afterwards, by which
time everything had already run:

    assert 1 < 0 < 1 / 0    # ZeroDivisionError, not AssertionError

Each link past the first now goes inside an `if` on the link before it,
the same shape visit_BoolOp has used since #57 was fixed for and/or.

The failure path builds a tuple of every link's result and every
operand, so the temporaries belonging to links that never ran are set to
None ahead of the chain rather than left unbound.  None is falsey, which
is also what _call_reprcompare wants: it stops at the first falsey
result, and that is the link that actually failed.

Closes the order-chained-compare-lazy group in the coverage matrix.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant