See this build https://koji.fedoraproject.org/koji/taskinfo?taskID=44638804 which fails to import sklearn: tests/mixin_tests.py:1: in <module> from geoplot.geoplot import (Plot, HueMixin, ScaleMixin, ClipMixin, LegendMixin, webmap) ../../BUILDROOT/python-geoplot-0.4.1-1.fc33.noarch/usr/lib/python3.8/site-packages/geoplot/__init__.py:1: in <module> from .geoplot import ( ../../BUILDROOT/python-geoplot-0.4.1-1.fc33.noarch/usr/lib/python3.8/site-packages/geoplot/geoplot.py:18: in <module> import mapclassify as mc /usr/lib/python3.8/site-packages/mapclassify/__init__.py:4: in <module> from .classifiers import ( /usr/lib/python3.8/site-packages/mapclassify/classifiers.py:8: in <module> from sklearn.cluster import KMeans as KMEANS /usr/lib/python3.8/site-packages/sklearn/cluster/__init__.py:6: in <module> from ._spectral import spectral_clustering, SpectralClustering /usr/lib/python3.8/site-packages/sklearn/cluster/_spectral.py:18: in <module> from ._kmeans import k_means /usr/lib/python3.8/site-packages/sklearn/cluster/_kmeans.py:34: in <module> from ._k_means_lloyd import lloyd_iter_chunked_dense sklearn/cluster/_k_means_lloyd.pyx:11: in init sklearn.cluster._k_means_lloyd ??? E ModuleNotFoundError: No module named 'threadpoolctl' Version-Release number of selected component (if applicable): python3-scikit-learn armv7hl 0.23.0-1.fc33
Oh, great. I missed the dependency in this new package threadpoolctl, which is not in Fedora yet. I have created a review request for it
New package, please check https://koji.fedoraproject.org/koji/buildinfo?buildID=1510955
This comment is mass posted to all bugs blocking the Python 3.9 tracker, sorry if it is not 100 % relevant. When in doubt, please ask. The Python 3.9 rebuild is in progress in a Koji side tag. If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with: $ fedpkg build --target=f33-python The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you. You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together. If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned in the initial comment of this bug: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/
Python 3.9 update: The f33-python side tag is currently being merged. New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with: $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3 And build the packages normally after that.