Hello community,
here is the log from the commit of package python-biplist for
openSUSE:Leap:15.2 checked in at 2020-04-23 18:16:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-biplist (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-biplist.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-biplist"
Thu Apr 23 18:16:43 2020 rev:13 rq:794666 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-biplist/python-biplist.changes
2020-03-09 18:03:03.764748925 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-biplist.new.2738/python-biplist.changes
2020-04-23 18:16:44.458514354 +0200
@@ -1,0 +2,6 @@
+Thu Apr 2 11:42:53 UTC 2020 - Paolo Stivanin <[email protected]>
+
+- Remove nose dep as upstream is using unittest
+- Add skip-test.patch to disable a failing test
+
+-------------------------------------------------------------------
New:
----
skip-test.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-biplist.spec ++++++
--- /var/tmp/diff_new_pack.adPS0h/_old 2020-04-23 18:16:44.946515289 +0200
+++ /var/tmp/diff_new_pack.adPS0h/_new 2020-04-23 18:16:44.950515297 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-biplist
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,9 @@
Group: Development/Languages/Python
URL: https://bitbucket.org/wooster/biplist
Source:
https://files.pythonhosted.org/packages/source/b/biplist/biplist-%{version}.tar.gz
+# Test on 32bit expects long==int which is true only on py3
+Patch0: skip-test.patch
BuildRequires: %{python_module coverage}
-BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,6 +43,7 @@
%prep
%setup -q -n biplist-%{version}
+%patch0 -p1
%build
%python_build
@@ -51,8 +53,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# Test on 32bit expects long==int which is true only on py3
-%python_expand nosetests-%{$python_bin_suffix} -e testIntBoundaries
+%python_exec -m unittest discover -s tests -v
%files %{python_files}
%license LICENSE
++++++ skip-test.patch ++++++
--- a/tests/test_write.py.orig 2020-04-02 15:40:20.717579396 +0200
+++ b/tests/test_write.py 2020-04-02 15:44:49.306034847 +0200
@@ -271,8 +271,9 @@
self.fail("Number is not a valid key in Cocoa.")
except InvalidPlistException as e:
pass
-
+
def testIntBoundaries(self):
+ self.skipTest("doesn't work on py2 i586")
edges = [0xff, 0xffff, 0xffffffff]
for edge in edges:
cases = [edge, edge-1, edge+1, edge-2, edge+2, edge*2, edge/2]