commit python-pylink-square for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pylink-square for openSUSE:Factory checked in at 2024-03-26 19:25:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pylink-square (Old) and /work/SRC/openSUSE:Factory/.python-pylink-square.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pylink-square" Tue Mar 26 19:25:49 2024 rev:3 rq:1161713 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pylink-square/python-pylink-square.changes 2023-12-15 21:48:34.348993242 +0100 +++ /work/SRC/openSUSE:Factory/.python-pylink-square.new.1905/python-pylink-square.changes 2024-03-26 19:29:35.602085029 +0100 @@ -1,0 +2,5 @@ +Tue Mar 26 11:23:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com> + +- Fix tests for python 3.12 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pylink-square.spec ++++++ --- /var/tmp/diff_new_pack.UBAGjt/_old 2024-03-26 19:29:36.046101367 +0100 +++ /var/tmp/diff_new_pack.UBAGjt/_new 2024-03-26 19:29:36.046101367 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pylink-square # -# Copyright (c) 2023 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 @@ -38,7 +38,7 @@ Requires: python-psutil >= 5.2.2 Requires: python-six Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -47,6 +47,8 @@ %prep %setup -q -n pylink-square-%{version} +sed -i 's/assertEquals/assertEqual/g' tests/unit/test_library.py +sed -i 's/\.called_once_with/.assert_called_once_with/g' tests/unit/test_jlink.py %build %pyproject_wheel @@ -67,6 +69,8 @@ IGNORED_CHECKS="test_initialize_windows" IGNORED_CHECKS="${IGNORED_CHECKS} or test_unlock_kinetis_read_fail" IGNORED_CHECKS="${IGNORED_CHECKS} or test_unlock_kinetis_success" +# Fails because parameter order in assert_called_once_with +IGNORED_CHECKS="${IGNORED_CHECKS} or test_cp15_register_write_success or test_set_log_file_success" %pytest -k "not (${IGNORED_CHECKS})" %post
participants (1)
-
Source-Sync