Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66723 - [python-scikit-learn] 0.23.0-1 requires python-threadpoolctl

Attached to Project: Community Packages
Opened by Mateusz (Arvamer) - Wednesday, 20 May 2020, 14:05 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 21 May 2020, 14:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

scikit-learn requires threadpoolctl, which is currently not in official repos.

Additional info:
* package version(s): 0.23.0

Steps to reproduce:

>>> from sklearn.cluster import KMeans
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/sklearn/cluster/__init__.py", line 6, in <module>
from ._spectral import spectral_clustering, SpectralClustering
File "/usr/lib/python3.8/site-packages/sklearn/cluster/_spectral.py", line 18, in <module>
from ._kmeans import k_means
File "/usr/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py", line 34, in <module>
from ._k_means_lloyd import lloyd_iter_chunked_dense
File "sklearn/cluster/_k_means_lloyd.pyx", line 11, in init sklearn.cluster._k_means_lloyd
ModuleNotFoundError: No module named 'threadpoolctl'
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Thursday, 21 May 2020, 14:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.23.1.
Comment by Doug Newgard (Scimmia) - Wednesday, 20 May 2020, 16:53 GMT
Does it, though? _k_means_lloyd.pyx is not in the repos.

hmm, could come from _k_means_lloyd.cpython-38-x86_64-linux-gnu.so
Comment by Mateusz (Arvamer) - Wednesday, 20 May 2020, 18:53 GMT
It's also listed as dependency in their README on github.
Comment by Andrzej Giniewicz (Giniu) - Thursday, 21 May 2020, 11:31 GMT
They've switched k-means algorithm implementation very recently. Thanks for letting me know, I will deal with it soon.

Loading...