Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2022 08:17:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261028] science/py-scikit-learn: Missing dependency threadpoolctl
Message-ID:  <bug-261028-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261028

            Bug ID: 261028
           Summary: science/py-scikit-learn: Missing dependency
                    threadpoolctl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(wen@FreeBSD.org)
          Assignee: wen@FreeBSD.org

py38-scikit-learn-1.0.2 installs the file
> /usr/local/lib/python3.8/site-packages/sklearn/utils/fixes.py
that contains
> import threadpoolctl
that isn't resolved through dependencies.

This causes py38-nilearn-0.8.1 to break:
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "setup.py", line 65, in <module>
>     module_check_fn(is_nilearn_installing=3DTrue)
>   File "<string>", line 124, in _check_module_dependencies
>   File "<string>", line 73, in _import_module_with_version_check
>   File "/usr/local/lib/python3.8/site-packages/sklearn/__init__.py", line=
 82, in <module>
>     from .base import clone
>   File "/usr/local/lib/python3.8/site-packages/sklearn/base.py", line 17,=
 in <module>
>     from .utils import _IS_32BIT
>   File "/usr/local/lib/python3.8/site-packages/sklearn/utils/__init__.py"=
, line 28, in <module>
>     from .fixes import np_version, parse_version
>   File "/usr/local/lib/python3.8/site-packages/sklearn/utils/fixes.py", l=
ine 22, in <module>
>     import threadpoolctl
> ModuleNotFoundError: No module named 'threadpoolctl'. Module "sklearn" co=
uld not be found. See http://nilearn.github.io/introduction.html#installati=
on for installation information.
> *** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261028-7788>