Skip to content

chore(deps): update dependency pytest-bdd to v9 - #1703

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pytest-bdd-9.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pytest-bdd-9.x

Conversation

@renovate

@renovate renovate Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-bdd ~=8.0 → ~=9.0 age confidence

Release Notes

pytest-dev/pytest-bdd (pytest-bdd)

v9.0.0

Compare Source

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 (#&#8203;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. #&#8203;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. #&#8203;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. #&#8203;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. #&#8203;823 <https://github.com/pytest-dev/pytest-bdd/issues/823>_

Security
++++++++


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) October 1, 2026 14:58
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74%. Comparing base (8c85586) to head (a34bdc6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1703   +/-   ##
====================================
  Coverage    74%     74%           
====================================
  Files        36      36           
  Lines      4109    4109           
====================================
  Hits       3063    3063           
  Misses     1046    1046           
Flag Coverage Δ
examples 36% <ø> (ø)
tests 73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

This branch has not been deployed

No deployments
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.

0 participants