Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency pytest-bdd to v8 #1952

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-bdd (source) 7.3.0 -> 8.1.0 age adoption passing confidence

Release Notes

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

v8.1.0

Compare Source

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
+++++++

Fixed
+++++

  • Fixed an issue with the upcoming pytest release related to the use of @pytest.mark.usefixtures with an empty list.
  • Render template variables in docstrings and datatable cells with example table entries, as we already do for steps definitions.

Security
++++++++

v8.0.0

Compare Source

Added
+++++

  • Gherkin keyword aliases can now be used and correctly reported in json and terminal output (see Keywords <https://cucumber.io/docs/gherkin/reference/#keywords>_ for permitted list).
  • Added localization support. The language of the feature file can be specified using the # language: <language> directive at the beginning of the file.
  • Rule keyword can be used in feature files (see Rule <https://cucumber.io/docs/gherkin/reference/#rule>_)
  • Added support for multiple example tables
  • Added filtering by tags against example tables
  • Since the 7.x series:
    • Tags can now be on multiple lines (stacked)
    • Continuation of steps using asterisks (*) instead of And/But supported.
    • Added datatable argument for steps that contain a datatable (see Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>_).
    • Added docstring argument for steps that contain a docstring (see Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>_).

Changed
+++++++

  • Changelog format updated to follow Keep a Changelog <https://keepachangelog.com/en/1.1.0/>_.

  • Text after the # character is no longer stripped from the Scenario and Feature name.

  • Since the 7.x series:

    • Use the gherkin-official <https://pypi.org/project/gherkin-official/>_ parser, replacing the custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
    • Multiline steps must now always use triple-quotes for the additional lines.
    • All feature files must now use the keyword Feature: to be considered valid.
    • Tags can no longer have spaces (e.g. @tag one and @tag two are no longer valid).
    • Text after the # character is no longer stripped from the Step name.
    • Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.

Removed
+++++++

  • Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.

  • Since the 7.x series:

    • Drop compatibility with pytest < 7.0.0.

Fixed
+++++

  • Since the 7.x series:

    • Updated documentation to clarify that --gherkin-terminal-reporter needs to be used with -v or -vv.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 added the packaging Updates to packaging (dependencies, etc) label Nov 14, 2024
@renovate renovate bot requested review from micahellison and wren November 14, 2024 22:32
@renovate renovate bot force-pushed the renovate/pytest-bdd-8.x-lockfile branch from 1f1a16d to 8958b6d Compare December 6, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Updates to packaging (dependencies, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants