Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-bdd for openSUSE:Factory checked in at 2024-05-14 13:39:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-bdd (Old) and /work/SRC/openSUSE:Factory/.python-pytest-bdd.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-bdd" Tue May 14 13:39:05 2024 rev:11 rq:1172299 version:7.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-bdd/python-pytest-bdd.changes 2022-03-11 21:41:24.554077191 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-bdd.new.1880/python-pytest-bdd.changes 2024-05-14 13:40:56.496231598 +0200 @@ -1,0 +2,46 @@ +Mon May 6 06:41:12 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 7.1.2: + * Address another compatibility issue with pytest 8.1 (fixture registration). + * Address a bug introduced in pytest-bdd 7.1 caused by incorrect pytest + version check. + * Address compatibility issue with pytest 8.1. + * Fix errors occurring if `pytest_unconfigure` is called before + `pytest_configure`. + * parsers.re now does a fullmatch instead of a partial match. This is to + make it work just like the other parsers, since they don't ignore + non-matching characters at the end of the string. + * Drop python 3.7 compatibility, as it's no longer supported. + * Declare official support for python 3.12 + * Improve parser performance by 15% + * Fix regression introduced in version 6.1.0 where the + pytest_bdd_after_scenario hook would be called after every step instead + of after the scenario. + * Fix bug where steps without parsers would take precedence over steps + with parsers. + * Step functions can now be decorated multiple times with @given, @when, + @then. Previously every decorator would override converters and + target_fixture every at every application. + * Require pytest>=6.2 + * Using modern way to specify hook options to avoid deprecation warnings + with pytest >=7.2. + * Add generic step decorator that will be used for all kind of steps + * Add stacklevel param to given, when, then, step decorators. This allows + for programmatic step generation + * Hide pytest-bdd internal method in user tracebacks + * Make the package PEP 561-compatible + * Configuration option bdd_features_base_dir is interpreted as relative + to the pytest root directory. + * Fix regression introduced in 6.0.0 where a step function decorated + multiple using a parsers times would not be executed correctly. + * Step arguments are no longer fixtures + * Drop support of python 3.6, pytest 4 + * 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. + * pytest_bdd.parsers.StepParser now is an Abstract Base Class. Subclasses + must make sure to implement the abstract methods. +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- Old: ---- pytest-bdd-5.0.0.tar.gz New: ---- pytest-bdd-7.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-bdd.spec ++++++ --- /var/tmp/diff_new_pack.4RKifx/_old 2024-05-14 13:40:56.980249249 +0200 +++ /var/tmp/diff_new_pack.4RKifx/_new 2024-05-14 13:40:56.984249394 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-bdd # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,34 +16,36 @@ # -%{?!python_module:%define python_module() python3-%{**}} Name: python-pytest-bdd -Version: 5.0.0 +Version: 7.1.2 Release: 0 Summary: BDD for pytest License: MIT URL: https://github.com/pytest-dev/pytest-bdd Source: https://github.com/pytest-dev/pytest-bdd/archive/%{version}.tar.gz#/pytest-bdd-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Mako -Requires: python-glob2 +Requires: python-packaging Requires: python-parse Requires: python-parse_type -Requires: python-py -Requires: python-pytest >= 4.3.0 +Requires: python-pytest >= 6.2.0 +Requires: python-typing_extensions Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Mako} BuildRequires: %{python_module execnet} -BuildRequires: %{python_module glob2} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module parse_type} BuildRequires: %{python_module parse} -BuildRequires: %{python_module pytest >= 4.3.0} -BuildRequires: %{python_module py} +BuildRequires: %{python_module pytest >= 6.2.0} +BuildRequires: %{python_module typing_extensions} %python_subpackages %description @@ -64,13 +66,12 @@ %prep %setup -q -n pytest-bdd-%{version} -sed -i '/tox/d' setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pytest-bdd @@ -93,5 +94,6 @@ %doc AUTHORS.rst CHANGES.rst README.rst %license LICENSE.txt %python_alternative %{_bindir}/pytest-bdd -%{python_sitelib}/* +%{python_sitelib}/pytest_bdd +%{python_sitelib}/pytest_bdd-%{version}.dist-info ++++++ pytest-bdd-5.0.0.tar.gz -> pytest-bdd-7.1.2.tar.gz ++++++ ++++ 11820 lines of diff (skipped)