Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-munkres for openSUSE:Factory checked in at 2022-04-22 21:54:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-munkres (Old) and /work/SRC/openSUSE:Factory/.python-munkres.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-munkres" Fri Apr 22 21:54:57 2022 rev:6 rq:972151 version:1.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-munkres/python-munkres.changes 2022-03-26 22:32:40.970086462 +0100 +++ /work/SRC/openSUSE:Factory/.python-munkres.new.1538/python-munkres.changes 2022-04-22 21:56:10.290937077 +0200 @@ -1,0 +2,6 @@ +Fri Apr 22 10:38:15 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Add test_profil_float_32bit.patch to skip test_profil_float + test which fails on 32bit systems (gh#bmc/munkres#40). + +------------------------------------------------------------------- New: ---- test_profil_float_32bit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-munkres.spec ++++++ --- /var/tmp/diff_new_pack.IYd6nZ/_old 2022-04-22 21:56:10.762937614 +0200 +++ /var/tmp/diff_new_pack.IYd6nZ/_new 2022-04-22 21:56:10.770937624 +0200 @@ -26,6 +26,9 @@ Group: Development/Languages/Python URL: https://software.clapper.org/munkres/ Source: https://github.com/bmc/munkres/archive/release-%{version}.tar.gz +# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mc...@suse.com +# this patch makes things totally awesome +Patch0: test_profil_float_32bit.patch BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module pytest} @@ -47,7 +50,7 @@ http://csclab.murraystate.edu/~bob.pilgrim/445/munkres.html. %prep -%setup -q -n munkres-release-%{version} +%autosetup -p1 -n munkres-release-%{version} %build %python_build ++++++ test_profil_float_32bit.patch ++++++ --- test/test_munkres.py | 4 ++++ 1 file changed, 4 insertions(+) --- a/test/test_munkres.py +++ b/test/test_munkres.py @@ -1,3 +1,5 @@ +import platform + from munkres import Munkres, DISALLOWED, UnsolvableMatrix import munkres import pytest @@ -156,6 +158,8 @@ def test_profit(): profit = sum([profit_matrix[row][column] for row, column in indices]) assert profit == 392 +@pytest.mark.skipif(platform.architecture()[0] == "32bit", + reason="Doesn't work on 32bit systems, gh#bmc/munkres#40") def test_profit_float(): profit_matrix = [[94.01, 66.02, 100.03, 18.04, 48.05], [51.06, 63.07, 97.08, 79.09, 11.1],