Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-MulticoreTSNE for
openSUSE:Factory checked in at 2022-03-04 00:17:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-MulticoreTSNE (Old)
and /work/SRC/openSUSE:Factory/.python-MulticoreTSNE.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MulticoreTSNE"
Fri Mar 4 00:17:12 2022 rev:5 rq:958539 version:0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-MulticoreTSNE/python-MulticoreTSNE.changes
2021-05-06 22:53:12.050607573 +0200
+++
/work/SRC/openSUSE:Factory/.python-MulticoreTSNE.new.1958/python-MulticoreTSNE.changes
2022-03-04 00:17:33.672284212 +0100
@@ -1,0 +2,6 @@
+Wed Mar 2 23:38:34 UTC 2022 - Matej Cepl <[email protected]>
+
+- Add fix_sklearn.patch adjusting for changed API of
+ sklearn.datasets.make_blobs.
+
+-------------------------------------------------------------------
New:
----
fix_sklearn.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-MulticoreTSNE.spec ++++++
--- /var/tmp/diff_new_pack.izCeeZ/_old 2022-03-04 00:17:35.760284653 +0100
+++ /var/tmp/diff_new_pack.izCeeZ/_new 2022-03-04 00:17:35.764284653 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-MulticoreTSNE
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,9 @@
Group: Development/Languages/Python
URL: https://github.com/DmitryUlyanov/Multicore-TSNE
Source:
https://files.pythonhosted.org/packages/source/M/MulticoreTSNE/MulticoreTSNE-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix_sklearn.patch gh#DmitryUlyanov/Multicore-TSNE#90
[email protected]
+# signature of sklearn.datasets.make_blogs changed
+Patch0: fix_sklearn.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: c++_compiler
@@ -51,7 +54,8 @@
and Torch CFFI-based wrappers.
%prep
-%setup -q -n MulticoreTSNE-%{version}
+%autosetup -p1 -n MulticoreTSNE-%{version}
+
# fix optflags
sed -i \
-e 's:-O3 -fPIC -ffast-math -funroll-loops:%optflags:' \
++++++ fix_sklearn.patch ++++++
---
MulticoreTSNE/tests/test_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/MulticoreTSNE/tests/test_base.py
+++ b/MulticoreTSNE/tests/test_base.py
@@ -21,7 +21,7 @@ def pdist(X):
class TestMulticoreTSNE(unittest.TestCase):
@classmethod
def setUpClass(cls):
- cls.Xy = make_blobs(20, 100, 2, shuffle=False)
+ cls.Xy = make_blobs(20, 100, centers=2, shuffle=False)
def test_tsne(self):
X, y = self.Xy