https://bugzilla.redhat.com/show_bug.cgi?id=1280490



--- Comment #2 from Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> ---
Build fails in tests:

======================================================================
ERROR: Test Fit of Kmeans
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/builddir/build/BUILD/python-pyriemann-0.2.3/python2/tests/test_clustering.py",
line 20, in test_Kmeans_fit
    km.fit(covset)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 155, in fit
    tol=self.tol)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 20, in _fit_single
    X, n_clusters, init, random_state=random_state)
  File "/usr/lib64/python2.7/site-packages/sklearn/cluster/k_means_.py", line
620, in _init_centroids
    x_squared_norms = row_norms(X, squared=True)
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/extmath.py", line 69,
in row_norms
    norms = np.einsum('ij,ij->i', X, X)
ValueError: operand has more dimensions than subscripts given in einstein sum,
but no '...' ellipsis provided to broadcast the extra dimensions.
======================================================================
ERROR: Test Fit of Kmeans wit matric initialization
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/builddir/build/BUILD/python-pyriemann-0.2.3/python2/tests/test_clustering.py",
line 26, in test_Kmeans_fit_with_init
    km.fit(covset)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 141, in fit
    tol=self.tol)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 20, in _fit_single
    X, n_clusters, init, random_state=random_state)
  File "/usr/lib64/python2.7/site-packages/sklearn/cluster/k_means_.py", line
620, in _init_centroids
    x_squared_norms = row_norms(X, squared=True)
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/extmath.py", line 69,
in row_norms
    norms = np.einsum('ij,ij->i', X, X)
ValueError: operand has more dimensions than subscripts given in einstein sum,
but no '...' ellipsis provided to broadcast the extra dimensions.
======================================================================
ERROR: Test Fit of Kmeans with a given y
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/builddir/build/BUILD/python-pyriemann-0.2.3/python2/tests/test_clustering.py",
line 33, in test_Kmeans_fit_with_y
    km.fit(covset,y=labels)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 155, in fit
    tol=self.tol)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 20, in _fit_single
    X, n_clusters, init, random_state=random_state)
  File "/usr/lib64/python2.7/site-packages/sklearn/cluster/k_means_.py", line
620, in _init_centroids
    x_squared_norms = row_norms(X, squared=True)
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/extmath.py", line 69,
in row_norms
    norms = np.einsum('ij,ij->i', X, X)
ValueError: operand has more dimensions than subscripts given in einstein sum,
but no '...' ellipsis provided to broadcast the extra dimensions.
======================================================================
ERROR: Test Fit of Kmeans using paralell
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/builddir/build/BUILD/python-pyriemann-0.2.3/python2/tests/test_clustering.py",
line 39, in test_Kmeans_fit_parallel
    km.fit(covset)
  File
"/builddir/build/BUILDROOT/python-pyriemann-0.2.3-2.fc24.x86_64/usr/lib/python2.7/site-packages/pyriemann/clustering.py",
line 167, in fit
    for seed in seeds)
  File "/usr/lib/python2.7/site-packages/joblib/parallel.py", line 812, in
__call__
    self.retrieve()
  File "/usr/lib/python2.7/site-packages/joblib/parallel.py", line 762, in
retrieve
    raise exception
JoblibValueError: JoblibValueError
___________________________________________________________________________

This is with current rawhide:

DEBUG util.py:393:   python-pandas         x86_64 0.17.0-3.fc24                
       fedora 6.5 M
DEBUG util.py:393:   python-scikit-learn   x86_64 0.17-1.fc24                  
       fedora 3.8 M
DEBUG util.py:393:   python-six            noarch 1.10.0-1.fc24                
       fedora  34 k
DEBUG util.py:393:   python-tables         x86_64 3.2.2-2.fc24                 
       fedora 1.3 M
DEBUG util.py:393:   python-tools          x86_64 2.7.10-11.fc24               
       fedora 843 k
DEBUG util.py:393:   python2-joblib        noarch 0.9.3-2.fc24                 
       fedora 266 k
DEBUG util.py:393:   python2-matplotlib    x86_64 1.4.3-8.fc24                 
       fedora  35 M
DEBUG util.py:393:   python2-matplotlib-tk x86_64 1.4.3-8.fc24                 
       fedora  79 k
DEBUG util.py:393:   python2-numexpr       x86_64 2.4.6-2.fc24                 
       fedora 183 k
DEBUG util.py:393:   python2-numpy         x86_64 1:1.10.2-0.1rc1.fc24         
       fedora 3.1 M
DEBUG util.py:393:   python2-numpy-f2py    x86_64 1:1.10.2-0.1rc1.fc24         
       fedora 252 k
DEBUG util.py:393:   python2-scipy         x86_64 0.16.1-6.fc24                
       fedora  11 M
DEBUG util.py:393:   python3-Bottleneck    x86_64 0.6.0-7.fc24                 
       fedora 998 k
DEBUG util.py:393:   python3-cairo         x86_64 1.10.0-14.fc24               
       fedora 470 k
DEBUG util.py:393:   python3-dateutil      noarch 1:2.4.2-3.fc24               
       fedora  89 k
DEBUG util.py:393:   python3-devel         x86_64 3.5.0-5.fc24                 
       fedora 193 k
DEBUG util.py:393:   python3-joblib        noarch 0.9.3-2.fc24                 
       fedora 269 k
DEBUG util.py:393:   python3-matplotlib    x86_64 1.4.3-8.fc24                 
       fedora  35 M
DEBUG util.py:393:   python3-matplotlib-tk x86_64 1.4.3-8.fc24                 
       fedora  79 k
DEBUG util.py:393:   python3-nose          noarch 1.3.7-6.fc24                 
       fedora 288 k
DEBUG util.py:393:   python3-numexpr       x86_64 2.4.6-2.fc24                 
       fedora 186 k
DEBUG util.py:393:   python3-numpy         x86_64 1:1.10.2-0.1rc1.fc24         
       fedora 2.9 M
DEBUG util.py:393:   python3-numpy-f2py    x86_64 1:1.10.2-0.1rc1.fc24         
       fedora 216 k
DEBUG util.py:393:   python3-pandas        x86_64 0.17.0-3.fc24                
       fedora 6.4 M
DEBUG util.py:393:   python3-pyparsing     noarch 2.0.6-1.fc24                 
       fedora 109 k
DEBUG util.py:393:   python3-pytz          noarch 2015.7-2.fc24                
       fedora  52 k
DEBUG util.py:393:   python3-scikit-learn  x86_64 0.17-1.fc24                  
       fedora 3.6 M
DEBUG util.py:393:   python3-scipy         x86_64 0.16.1-6.fc24                
       fedora  10 M
DEBUG util.py:393:   python3-six           noarch 1.10.0-1.fc24                
       fedora  35 k
DEBUG util.py:393:   python3-tables        x86_64 3.2.2-2.fc24                 
       fedora 1.3 M
DEBUG util.py:393:   python3-tkinter       x86_64 3.5.0-5.fc24                 
       fedora 352 k

Rebuilding in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=11987784

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to