Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2026 15:57:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 295938] science/py-scikit-learn: Missing dependency math/py-narwhals
Message-ID:  <bug-295938-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295938

            Bug ID: 295938
           Summary: science/py-scikit-learn: Missing dependency
                    math/py-narwhals
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dwhite-freebsd-bugs@gumbysoft.com
                CC: sunpoet@FreeBSD.org, wen@FreeBSD.org
                CC: sunpoet@FreeBSD.org, wen@FreeBSD.org

py-scikit-learn now requires py-narwhals, please add it to the dependency list.

This is from a system just after 'pkg install py311-scikit-learn' was run.

>>> from sklearn.linear_models import Ridge
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.11/site-packages/sklearn/__init__.py", line 70,
in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/sklearn/base.py", line 20, in
<module>
    from sklearn.utils._metadata_requests import _MetadataRequester,
_routing_enabled
  File "/usr/local/lib/python3.11/site-packages/sklearn/utils/__init__.py",
line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/usr/local/lib/python3.11/site-packages/sklearn/utils/_chunking.py",
line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File
"/usr/local/lib/python3.11/site-packages/sklearn/utils/_param_validation.py",
line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/usr/local/lib/python3.11/site-packages/sklearn/utils/validation.py",
line 14, in <module>
    import narwhals.stable.v2 as nw

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

home | help

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