Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-behave for openSUSE:Factory 
checked in at 2025-11-13 17:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-behave (Old)
 and      /work/SRC/openSUSE:Factory/.python-behave.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-behave"

Thu Nov 13 17:26:41 2025 rev:9 rq:1317437 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-behave/python-behave.changes      
2025-06-04 20:30:28.977780915 +0200
+++ /work/SRC/openSUSE:Factory/.python-behave.new.2061/python-behave.changes    
2025-11-13 17:28:55.395066585 +0100
@@ -1,0 +2,43 @@
+Wed Nov 12 14:13:28 UTC 2025 - Marius Grossu <[email protected]>
+
+- update to 1.3.3:
+  * v1.3.2: Broke Python 2.7 support (submitted by: silent-observer)
+- 1.3.2:
+  * Recursive discovery and import in steps directory is now disabled by 
default.
+  * RTFD: Enable PDF output format again (for download).
+  * Improve command-line option descriptions (show: value).
+  * Use "confval" directive for config-file parameters.
+  * api: Add "Configuration" class description.
+  * Include changes from pull #1258
+  * Fix more deadlinks in docs
+  * behave4cmd0: Update version info to v1.3.1
+  * behave4cmd0.command_shell: Cleanup of BEHAVE_CMD value usage.
+  * Update to python-version: "3.14.0-rc.2" (was: "3.14.0-rc.1")
+  * Update actions/checkout to v5 (was: v4).
+  * Use astral-sh/setup-uv@v6 (was: v3).
+- 1.3.1:
+  * ImportError: cannot import name 'asynccontextmanager' not found in python 
3.6 (submitted by: rzuckerm)
+  * AmbiguousStep error on step import with "re" step-matcher (submitted by: 
VolodymyrDan00)
+  * Add section with description of "Runners" extension point.
+  * Add section with "Cucumber-Expressions".
+  * docs: userdata (provided by: Therdel, fixes: #1234)
+  * userdata_defines configuration file parameter is not up to date (submitted 
by: vvavrychuk)
+- 1.3.0:
+  * Gherkin v6 support
+  * Native support for cucumber-expressions as step matcher
+  * Native support for async-steps
+  * Support for tag-expressions v2
+  * Distinguish in outcome between failures (assert-failed) and errors 
(unexpected exceptions at runtime)
+  * Improved captured-output support
+  * Improved logging support and log-to-file support
+  * And many things more ...
+- added new BuildRequires in spec file: 
+  * %{python_module cucumber-tag-expressions}
+  * %{python_module assertpy >= 1.1}
+  * %{python_module chardet}
+- removed the setuptools related files
+- removed the patches not in use anymore and fixed upstream:
+  * no2to3.patch
+  * python-behave-fix-tests.patch
+
+-------------------------------------------------------------------

Old:
----
  behave-1.2.6.tar.gz
  no2to3.patch
  python-behave-fix-tests.patch

New:
----
  behave-1.3.3.tar.gz

----------(Old B)----------
  Old:- removed the patches not in use anymore and fixed upstream:
  * no2to3.patch
  * python-behave-fix-tests.patch
  Old:  * no2to3.patch
  * python-behave-fix-tests.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-behave.spec ++++++
--- /var/tmp/diff_new_pack.BJaOyM/_old  2025-11-13 17:28:56.083095789 +0100
+++ /var/tmp/diff_new_pack.BJaOyM/_new  2025-11-13 17:28:56.087095959 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-behave
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,19 +19,16 @@
 %bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-behave
-Version:        1.2.6
+Version:        1.3.3
 Release:        0
 Summary:        Behaviour-driven development, Python style
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/behave/behave
 Source:         
https://files.pythonhosted.org/packages/source/b/behave/behave-%{version}.tar.gz
-Patch1:         no2to3.patch
-# 
https://github.com/behave/behave/commit/83906ba779956af9437defcb8975debb18440e0d
-# 
https://github.com/behave/behave/commit/66fcadb23bea79e60f370e66bf7588de2f1934e3
-Patch2:         python-behave-fix-tests.patch
 # https://github.com/behave/behave/issues/1028
-Patch3:         python-behave-no-mock.patch
+Patch1:         python-behave-no-mock.patch
+BuildRequires:  %{python_module cucumber-tag-expressions}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -63,10 +60,13 @@
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module PyHamcrest >= 1.8}
+BuildRequires:  %{python_module assertpy >= 1.1}
+BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module parse >= 1.8.2}
 BuildRequires:  %{python_module parse_type >= 0.4.2}
 BuildRequires:  %{python_module path.py >= 10.1}
 BuildRequires:  %{python_module pytest >= 3.0}
+BuildRequires:  %{python_module pytest-html >= 2.0}
 BuildRequires:  %{python_module six >= 1.11}
 # /SECTION
 %python_subpackages
@@ -104,7 +104,5 @@
 %doc CHANGES.rst README.rst
 %python_alternative %{_bindir}/behave
 %{python_sitelib}/behave
-%{python_sitelib}/setuptools_behave.py
-%pycache_only %{python_sitelib}/__pycache__/setuptools_behave*
 %{python_sitelib}/behave-%{version}*-info
 

++++++ behave-1.2.6.tar.gz -> behave-1.3.3.tar.gz ++++++
++++ 94655 lines of diff (skipped)

++++++ python-behave-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.BJaOyM/_old  2025-11-13 17:28:56.727123124 +0100
+++ /var/tmp/diff_new_pack.BJaOyM/_new  2025-11-13 17:28:56.739123634 +0100
@@ -1,144 +1,221 @@
-diff -upr behave-1.2.6.orig/test/reporters/test_summary.py 
behave-1.2.6/test/reporters/test_summary.py
---- behave-1.2.6.orig/test/reporters/test_summary.py   2022-05-17 
16:51:03.364286060 +0200
-+++ behave-1.2.6/test/reporters/test_summary.py        2022-05-17 
16:51:03.432286489 +0200
-@@ -2,7 +2,7 @@
- 
- from __future__ import absolute_import, division
+Index: behave-1.3.3/tests/api/_test_async_step35.py
+===================================================================
+--- behave-1.3.3.orig/tests/api/_test_async_step35.py
++++ behave-1.3.3/tests/api/_test_async_step35.py
+@@ -24,7 +24,7 @@ from platform import python_implementati
  import sys
--from mock import Mock, patch
-+from unittest.mock import Mock, patch
- from nose.tools import *
- from behave.model import ScenarioOutline, Scenario
- from behave.model_core import Status
-diff -upr behave-1.2.6.orig/test/test_formatter.py 
behave-1.2.6/test/test_formatter.py
---- behave-1.2.6.orig/test/test_formatter.py   2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_formatter.py        2022-05-17 16:51:03.432286489 
+0200
+ 
+ from hamcrest import assert_that, close_to
+-from mock import Mock
++from unittest.mock import Mock
+ import pytest
+ 
+ from behave._stepimport import use_step_import_modules, SimpleStepContainer
+Index: behave-1.3.3/tests/unit/test_context_cleanups.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_context_cleanups.py
++++ behave-1.3.3/tests/unit/test_context_cleanups.py
+@@ -13,7 +13,7 @@ OPEN ISSUES:
+ from __future__ import print_function
+ from behave.configuration import Configuration
+ from behave.runner import Context, Runner, scoped_context_layer
+-from mock import Mock
++from unittest.mock import Mock
+ import pytest
+ 
+ 
+Index: behave-1.3.3/tests/unit/test_formatter.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_formatter.py
++++ behave-1.3.3/tests/unit/test_formatter.py
 @@ -6,7 +6,7 @@ import sys
  import tempfile
  import unittest
  import six
 -from mock import Mock, patch
 +from unittest.mock import Mock, patch
- from nose.tools import *    # pylint: disable=wildcard-import, 
unused-wildcard-import
- 
  from behave.formatter._registry import make_formatters
-diff -upr behave-1.2.6.orig/test/test_log_capture.py 
behave-1.2.6/test/test_log_capture.py
---- behave-1.2.6.orig/test/test_log_capture.py 2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_log_capture.py      2022-05-17 16:51:03.436286514 
+0200
-@@ -1,7 +1,7 @@
+ from behave.formatter import pretty
+ from behave.formatter.base import StreamOpener
+Index: behave-1.3.3/tests/unit/test_log_capture.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_log_capture.py
++++ behave-1.3.3/tests/unit/test_log_capture.py
+@@ -1,6 +1,6 @@
+ # -*- coding: UTF-8 -*-
  from __future__ import absolute_import, with_statement
- 
- from nose.tools import *
 -from mock import patch
 +from unittest.mock import patch
- 
  from behave.log_capture import LoggingCapture
  from six.moves import range
-diff -upr behave-1.2.6.orig/test/test_matchers.py 
behave-1.2.6/test/test_matchers.py
---- behave-1.2.6.orig/test/test_matchers.py    2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_matchers.py 2022-05-17 16:51:03.436286514 +0200
-@@ -1,6 +1,6 @@
- # -*- coding: UTF-8 -*-
+ 
+Index: behave-1.3.3/tests/unit/test_matchers.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_matchers.py
++++ behave-1.3.3/tests/unit/test_matchers.py
+@@ -2,7 +2,7 @@
+ # ruff: noqa: E731
  from __future__ import absolute_import, with_statement
+ import pytest
 -from mock import Mock, patch
 +from unittest.mock import Mock, patch
- from nose.tools import *  # pylint: disable=wildcard-import, 
unused-wildcard-import
  import parse
- from behave.matchers import Match, Matcher, ParseMatcher, RegexMatcher, \
-diff -upr behave-1.2.6.orig/test/test_model.py behave-1.2.6/test/test_model.py
---- behave-1.2.6.orig/test/test_model.py       2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_model.py    2022-05-17 16:51:03.436286514 +0200
-@@ -3,7 +3,7 @@
- 
+ from behave.exception import NotSupportedWarning
+ from behave.matchers import (
+Index: behave-1.3.3/tests/unit/test_model.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_model.py
++++ behave-1.3.3/tests/unit/test_model.py
+@@ -4,7 +4,7 @@
  from __future__ import absolute_import, print_function, with_statement
  import unittest
+ import pytest
 -from mock import Mock, patch
 +from unittest.mock import Mock, patch
- from nose.tools import *  # pylint: disable=wildcard-import, 
unused-wildcard-import
  import six
  from six.moves import range     # pylint: disable=redefined-builtin
-diff -upr behave-1.2.6.orig/test/test_runner.py 
behave-1.2.6/test/test_runner.py
---- behave-1.2.6.orig/test/test_runner.py      2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_runner.py   2022-05-17 16:51:03.436286514 +0200
-@@ -12,7 +12,7 @@ import unittest
- import six
+ from six.moves import zip       # pylint: disable=redefined-builtin
+Index: behave-1.3.3/tests/unit/test_runner.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_runner.py
++++ behave-1.3.3/tests/unit/test_runner.py
+@@ -8,7 +8,7 @@ import sys
+ import unittest
  from six import StringIO
- 
+ import pytest
 -from mock import Mock, patch
 +from unittest.mock import Mock, patch
- from nose.tools import *  # pylint: disable=wildcard-import, 
unused-wildcard-import
- 
  from behave import runner_util
-diff -upr behave-1.2.6.orig/test/test_step_registry.py 
behave-1.2.6/test/test_step_registry.py
---- behave-1.2.6.orig/test/test_step_registry.py       2022-05-17 
16:51:03.364286060 +0200
-+++ behave-1.2.6/test/test_step_registry.py    2022-05-17 16:51:03.436286514 
+0200
-@@ -1,7 +1,7 @@
- # -*- coding: UTF-8 -*-
- # pylint: disable=unused-wildcard-import
+ from behave.runner import Context, Runner
+ from behave.exception import ConfigError
+Index: behave-1.3.3/tests/unit/test_step_registry.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_step_registry.py
++++ behave-1.3.3/tests/unit/test_step_registry.py
+@@ -3,7 +3,7 @@
+ # ruff: noqa: E731
+ 
  from __future__ import absolute_import, with_statement
 -from mock import Mock, patch
 +from unittest.mock import Mock, patch
- from nose.tools import *        # pylint: disable=wildcard-import
  from six.moves import range     # pylint: disable=redefined-builtin
  from behave import step_registry
-diff -upr behave-1.2.6.orig/test/test_tag_matcher.py 
behave-1.2.6/test/test_tag_matcher.py
---- behave-1.2.6.orig/test/test_tag_matcher.py 2022-05-17 16:51:03.364286060 
+0200
-+++ behave-1.2.6/test/test_tag_matcher.py      2022-05-17 16:51:03.436286514 
+0200
-@@ -2,7 +2,7 @@
+
+Index: behave-1.3.3/tests/functional/test_capture_on_failed.py
+===================================================================
+--- behave-1.3.3.orig/tests/functional/test_capture_on_failed.py
++++ behave-1.3.3/tests/functional/test_capture_on_failed.py
+@@ -5,7 +5,7 @@ if the TEST ASSUMPTION, that is used her
+ * TEST ASSUMPTION: STORE_CAPTURED_ON_SUCCESS is False (only failures are 
captured)
+ """
  
- from __future__ import absolute_import
- from behave.tag_matcher import *
--from mock import Mock
-+from unittest.mock import Mock
- from unittest import TestCase
- import warnings
- # -- REQUIRES: pytest
-diff -upr behave-1.2.6.orig/tests/api/_test_async_step34.py 
behave-1.2.6/tests/api/_test_async_step34.py
---- behave-1.2.6.orig/tests/api/_test_async_step34.py  2022-05-17 
16:51:03.412286363 +0200
-+++ behave-1.2.6/tests/api/_test_async_step34.py       2022-05-17 
16:51:03.436286514 +0200
-@@ -9,7 +9,7 @@ from behave.api.async_step import AsyncC
- from behave._stepimport import use_step_import_modules
- from behave.runner import Context, Runner
- import sys
 -from mock import Mock
 +from unittest.mock import Mock
  import pytest
  
- from .testing_support import StopWatch, SimpleStepContainer
-diff -upr behave-1.2.6.orig/tests/unit/test_capture.py 
behave-1.2.6/tests/unit/test_capture.py
---- behave-1.2.6.orig/tests/unit/test_capture.py       2022-05-17 
16:51:03.412286363 +0200
-+++ behave-1.2.6/tests/unit/test_capture.py    2022-05-17 16:51:03.440286539 
+0200
-@@ -6,7 +6,7 @@ Unittests for :mod:`behave.capture` modu
- from __future__ import absolute_import, print_function
- import sys
- from behave.capture import Captured, CaptureController
+ from behave.configuration import Configuration
+Index: behave-1.3.3/tests/functional/test_capture_on_success.py
+===================================================================
+--- behave-1.3.3.orig/tests/functional/test_capture_on_success.py
++++ behave-1.3.3/tests/functional/test_capture_on_success.py
+@@ -5,7 +5,7 @@ if the TEST ASSUMPTION, that is used her
+ * TEST ASSUMPTION: STORE_CAPTURED_ON_SUCCESS is True (everything is captured)
+ """
+ 
 -from mock import Mock
 +from unittest.mock import Mock
  import pytest
  
- # 
-----------------------------------------------------------------------------
-diff -upr behave-1.2.6.orig/tests/unit/test_context_cleanups.py 
behave-1.2.6/tests/unit/test_context_cleanups.py
---- behave-1.2.6.orig/tests/unit/test_context_cleanups.py      2022-05-17 
16:51:03.412286363 +0200
-+++ behave-1.2.6/tests/unit/test_context_cleanups.py   2022-05-17 
16:51:03.440286539 +0200
-@@ -13,7 +13,7 @@ OPEN ISSUES:
- from __future__ import print_function
+ from behave.configuration import Configuration
+Index: behave-1.3.3/tests/issues/test_issue0619.py
+===================================================================
+--- behave-1.3.3.orig/tests/issues/test_issue0619.py
++++ behave-1.3.3/tests/issues/test_issue0619.py
+@@ -20,7 +20,7 @@ so the default behaviour of getattr is n
+ from __future__ import absolute_import
+ from behave.configuration import Configuration
  from behave.runner import Context, scoped_context_layer
- from contextlib import contextmanager
--from mock import Mock, NonCallableMock
-+from unittest.mock import Mock, NonCallableMock
- import pytest
+-from mock import Mock
++from unittest.mock import Mock
  
  
-diff -upr behave-1.2.6.orig/tests/unit/test_fixture.py 
behave-1.2.6/tests/unit/test_fixture.py
---- behave-1.2.6.orig/tests/unit/test_fixture.py       2022-05-17 
16:51:03.412286363 +0200
-+++ behave-1.2.6/tests/unit/test_fixture.py    2022-05-17 16:51:03.440286539 
+0200
-@@ -12,7 +12,7 @@ from behave.fixture import \
- from behave.runner import Context, CleanupError, scoped_context_layer
- from behave._types import Unknown
- import pytest
+ def 
test_issue__getattr_with_protected_unknown_context_attribute_raises_no_error():
+Index: behave-1.3.3/tests/issues/test_issue0767.py
+===================================================================
+--- behave-1.3.3.orig/tests/issues/test_issue0767.py
++++ behave-1.3.3/tests/issues/test_issue0767.py
+@@ -14,7 +14,7 @@ Behave returns nothing. ::
+ This seems to be an oversight.
+ """
+ 
+-from mock import Mock
++from unittest.mock import Mock
+ from behave.fixture import fixture, use_fixture_by_tag
+ from behave.runner import Context
+ 
+Index: behave-1.3.3/tests/unit/reporter/test_summary.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/reporter/test_summary.py
++++ behave-1.3.3/tests/unit/reporter/test_summary.py
+@@ -1,7 +1,7 @@
+ # -*- coding: UTF-8 -*-
+ 
+ from __future__ import absolute_import, print_function, division
+-from mock import Mock, patch
++from unittest.mock import Mock, patch
+ from behave.model import ScenarioOutline
+ from behave.model_type import Status
+ from behave.reporter.summary import (
+Index: behave-1.3.3/tests/unit/test_deprecated.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_deprecated.py
++++ behave-1.3.3/tests/unit/test_deprecated.py
+@@ -11,7 +11,7 @@ from behave.configuration import Configu
+ from behave.python_feature import PythonFeature
+ from behave.runner import Context, ModelRunner
+ from behave.tag_matcher import ActiveTagMatcher
 -from mock import Mock
 +from unittest.mock import Mock
+ import pytest
+ 
+ 
+Index: behave-1.3.3/tests/unit/test_runner_context.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_runner_context.py
++++ behave-1.3.3/tests/unit/test_runner_context.py
+@@ -7,7 +7,7 @@ import unittest
+ import warnings
+ from platform import python_implementation
+ 
+-from mock import Mock, patch
++from unittest.mock import Mock, patch
+ import pytest
  import six
  
+Index: behave-1.3.3/tests/unit/test_runner_hook.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_runner_hook.py
++++ behave-1.3.3/tests/unit/test_runner_hook.py
+@@ -3,7 +3,7 @@ Tests for :mod:`behave.runner` related t
+ """
+ 
+ from __future__ import absolute_import, print_function
+-from mock import Mock
++from unittest.mock import Mock
+ from behave.capture import CaptureSinkAsCollector
+ from behave.configuration import Configuration
+ from behave.runner import Context, ModelRunner
+Index: behave-1.3.3/tests/unit/test_tag_matcher.py
+===================================================================
+--- behave-1.3.3.orig/tests/unit/test_tag_matcher.py
++++ behave-1.3.3/tests/unit/test_tag_matcher.py
+@@ -9,7 +9,7 @@ Unit tests for active tag-matcher (mod:`
+ """
  
+ from __future__ import absolute_import
+-from mock import Mock
++from unittest.mock import Mock
+ from unittest import TestCase
+ import operator
+ import pytest
 

Reply via email to