Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pywbem for openSUSE:Factory checked in at 2024-09-29 18:09:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pywbem (Old) and /work/SRC/openSUSE:Factory/.python-pywbem.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pywbem" Sun Sep 29 18:09:19 2024 rev:23 rq:1204076 version:1.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pywbem/python-pywbem.changes 2024-05-17 20:05:33.956256365 +0200 +++ /work/SRC/openSUSE:Factory/.python-pywbem.new.29891/python-pywbem.changes 2024-09-29 18:09:37.883135728 +0200 @@ -1,0 +2,6 @@ +Thu Sep 26 06:02:23 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-new-testfixtures.patch: + * Support testfixtures >= 8.3.0. + +------------------------------------------------------------------- New: ---- support-new-testfixtures.patch BETA DEBUG BEGIN: New: - Add patch support-new-testfixtures.patch: * Support testfixtures >= 8.3.0. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pywbem.spec ++++++ --- /var/tmp/diff_new_pack.FQb1Uz/_old 2024-09-29 18:09:38.483160518 +0200 +++ /var/tmp/diff_new_pack.FQb1Uz/_new 2024-09-29 18:09:38.487160684 +0200 @@ -26,6 +26,8 @@ Group: System/Management URL: https://pywbem.github.io/ Source0: https://github.com/pywbem/pywbem/archive/%{version}.tar.gz#/pywbem-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Based on gh#pywbem/pywbem#3217 +Patch0: support-new-testfixtures.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 38.4.1} BuildRequires: %{python_module wheel} ++++++ support-new-testfixtures.patch ++++++ >From f6acfc45af0c8b5b592890a3ff222708902f2ae7 Mon Sep 17 00:00:00 2001 From: Andreas Maier <andreas.r.ma...@gmx.de> Date: Mon, 19 Aug 2024 18:29:10 +0200 Subject: [PATCH] Test: In test_recorder.py avoid a new AssertionError by testfixtures 8.3.0 Details: * The setup_method() in BaseLogOperationRecorderTests had called logging.shutdown() which triggered a new AssertionError raised by testfixtures 8.3.0 that complains about LogCapture handlers being closed but still installed. Uninstalling the LogCapture handlers via LogCapture.uninstall_all() introduced the new problem that logging was not performed correctly anymore. The solution seems to be to not call logging.shutdown() in setup_method(), which is also understandable given that it is only supposed to be used before exiting the program. Note that we still call it in teardown_method(). Fixed steps to start new version; removed types from _version.py Signed-off-by: Andreas Maier <andreas.r.ma...@gmx.de> --- docs/changes.rst | 4 ++-- test-requirements.txt | 7 +------ tests/unittest/pywbem/test_recorder.py | 9 ++++----- 3 files changed, 7 insertions(+), 13 deletions(-) ddiff --git a/tests/unittest/pywbem/test_recorder.py b/tests/unittest/pywbem/test_recorder.py index be618fe15..f7eb1797a 100755 --- a/tests/unittest/pywbem/test_recorder.py +++ b/tests/unittest/pywbem/test_recorder.py @@ -1620,14 +1620,13 @@ def setup_method(self): """ Setup that is run before each test method. """ - # Shut down any existing logger and reset WBEMConnection and - # reset WBEMConnection class attributes - # pylint: disable=protected-access - WBEMConnection._reset_logging_config() - logging.shutdown() + # Reset WBEMConnection logging. # NOTE We do not clean up handlers or logger names already defined. # That should not affect the tests. + # pylint: disable=protected-access + WBEMConnection._reset_logging_config() + def recorder_setup(self, detail_level=None): """ Setup the recorder for a defined max output size