Skip to content

chore(deps): update pytest-bdd requirement from >=8.0 to >=9.0.0 - #166

Merged
sodejm merged 8 commits into
mainfrom
dependabot/pip/pytest-bdd-gte-9.0.0
Oct 6, 2026
Merged

sodejm merged 8 commits into
mainfrom
dependabot/pip/pytest-bdd-gte-9.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pytest-bdd to permit the latest version.

Changelog

Sourced from pytest-bdd's changelog.

[9.0.0] - 2026-09-30

Added +++++

Changed +++++++

  • Relaxed gherkin-official dependency requirement to >=29.0.0 to allow for newer versions of the gherkin-official package.
  • Excluded gherkin-official 31.0.0 and 32.0.0, which crash with StopIteration when parsing empty descriptions (fixed upstream in 32.0.1).
  • The --gherkin-terminal-reporter incompatibility errors (with another terminal reporter or with xdist) are now raised as pytest.UsageError instead of a bare Exception.

Deprecated ++++++++++

Removed +++++++

  • Dropped support for python 3.9 (end-of-life, and its locked dev dependencies had unfixable security alerts). Supported python versions: 3.10, 3.11, 3.12, 3.13, 3.14.
  • The following private attributes are not available anymore ([#658](https://github.com/pytest-dev/pytest-bdd/issues/658) <https://github.com/pytest-dev/pytest-bdd/pull/658>_):
    • _pytest.reports.TestReport.scenario; replaced by pytest_bdd.reporting.test_report_context WeakKeyDictionary (internal use)
    • __scenario__ attribute of test functions generated by the @scenario (and @scenarios) decorator; replaced by pytest_bdd.scenario.scenario_wrapper_template_registry WeakKeyDictionary (internal use)
    • _pytest.nodes.Item.__scenario_report__; replaced by pytest_bdd.reporting.scenario_reports_registry WeakKeyDictionary (internal use)
    • _pytest_bdd_step_context attribute of internal test function markers; replaced by pytest_bdd.steps.step_function_context_registry WeakKeyDictionary (internal use)

Fixed +++++

  • Backslashes in datatable and examples table cells are no longer over-quoted. A cell containing a single backslash now reaches the step as a single backslash, matching the Gherkin escaping rules. If you compensated by doubling backslashes in feature files, undo that. [#769](https://github.com/pytest-dev/pytest-bdd/issues/769) <https://github.com/pytest-dev/pytest-bdd/issues/769>_
  • Made type annotations stronger and removed most of the typing.Any usages and # type: ignore annotations. [#658](https://github.com/pytest-dev/pytest-bdd/issues/658) <https://github.com/pytest-dev/pytest-bdd/pull/658>_
  • Empty docstrings are now correctly forwarded to step functions as an empty string instead of being silently dropped, which previously caused pytest to report a missing docstring fixture. [#809](https://github.com/pytest-dev/pytest-bdd/issues/809) <https://github.com/pytest-dev/pytest-bdd/issues/809>_
  • Injecting a target_fixture no longer emits PytestRemovedIn10Warning on pytest 9.1+, which deprecated passing nodeid to _register_fixture. [#823](https://github.com/pytest-dev/pytest-bdd/issues/823) <https://github.com/pytest-dev/pytest-bdd/issues/823>_

Security ++++++++

[8.1.0] - 2024-12-05

Added +++++

Changed +++++++

  • Step arguments "datatable" and "docstring" are now reserved, and they can't be used as step argument names. An error is raised if a step parser uses these names.
  • Scenario description field is now set for Cucumber JSON output.

Deprecated ++++++++++

Removed +++++++

... (truncated)

Commits
  • c6cea53 Bump to version 9.0.0
  • 9eb8a78 Merge pull request #836 from pytest-dev/ruff-extend-select
  • 75c12e6 Don't require xdist to test the xdist incompatibility error
  • 673bddc Test gherkin-terminal-reporter incompatibility usage errors
  • c352767 Use ruff lint.extend-select to keep ruff's default rules
  • f67096a [pre-commit.ci] pre-commit autoupdate (#826)
  • 33b2b30 Merge pull request #834 from pytest-dev/switch-to-uv
  • e0346d3 Reintroduce license
  • 38d6b2f Update CI configuration to use --only-group flag for twine commands
  • f120acf Migrate project from Poetry to UV for dependency management and build processes
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [pytest-bdd](https://github.com/pytest-dev/pytest-bdd) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-bdd/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-bdd@8.0.0...9.0.0)

---
updated-dependencies:
- dependency-name: pytest-bdd
  dependency-version: 9.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 5, 2026
@dependabot
dependabot Bot requested a review from sodejm as a code owner October 5, 2026 01:25
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 5, 2026
Copilot AI and others added 7 commits October 6, 2026 01:22
Co-authored-by: sodejm <723679+sodejm@users.noreply.github.com>
[skip-tests: workflow-only change validated by YAML lint and hosted workflow execution]
[skip-docs: dependency-only update; existing contributor and workflow contracts remain applicable]
[skip-tests: dependency-only update exercised by existing full test suite and hosted version/platform matrices]
[skip-docs: dependency-only conflict resolution retains the existing contributor setup contract]

[skip-tests: dependency versions are exercised by the existing full test suite and hosted validation matrices]
@sodejm
sodejm merged commit ba2e8c9 into main Oct 6, 2026
17 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/pytest-bdd-gte-9.0.0 branch October 6, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants