PyPI / scikit-learn / 1.9.1
scikit-learn 1.9.1
- Source
- https://github.com/scikit-learn/scikit-learn
- Artifact scanned
scikit_learn-1.9.1.tar.gz- Compared with
scikit_learn-1.9.0.tar.gz(8 signals introduced since)- Files
- 1185 scanned, 364 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 15 info
- Scan time
- 13.3 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 15 of 15 warn and critical signals; 15 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 06:52
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/cupy/__init__.py:12:1new in this release# See the comment in the numpy __init__.pylikely benign Vendored array API shim imports its own linalg and fft submodules.Reasoning
Vendored array_api_compat code importing its own linalg and fft submodules relative to __spec__.parent, with a comment explaining the vendoring rationale. Benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/cupy/__init__.py:13:1new in this release: =likely benign Vendored array API shim imports its own linalg and fft submodules.Reasoning
Same vendored self-submodule import of linalg and fft; no external input or decoding.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/dask/array/__init__.py:16:1new in this release# See the comment in the numpy __init__.pylikely benign Vendored dask array shim imports its own linalg and fft submodules.Reasoning
Vendored array_api_compat dask module importing its own submodules by relative spec parent; benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/dask/array/__init__.py:17:1new in this release=likely benign Vendored dask array shim imports its own linalg and fft submodules.Reasoning
Same vendored self-import pattern; benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/numpy/__init__.py:22:1new in this release# dynamically so that the library can be vendored.likely benign Vendored numpy shim imports its own linalg submodule.Reasoning
Vendored numpy shim importing its own linalg submodule relative to package; the comment documents the purpose. Benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/numpy/__init__.py:24:1new in this release# type: ignore[no-redef] # noqa: F401likely benign Vendored numpy shim imports its own fft submodule.Reasoning
Vendored numpy shim importing its own fft submodule; benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/torch/__init__.py:13:1new in this release# See the comment in the numpy __init__.pylikely benign Vendored torch shim imports its own linalg and fft submodules.Reasoning
Vendored torch shim importing its own linalg and fft submodules; benign.
-
info
critical→ info by reviewdynamic-importsklearn/externals/array_api_compat/torch/__init__.py:14:1new in this release: =likely benign Vendored torch shim imports its own linalg and fft submodules.Reasoning
Same vendored torch self-import pattern; benign.
-
= = =likely benign Docs helper imports a module by name to locate an object's source file.Reasoning
Sphinx extension resolving a documented object's module by name from its own fullname metadata to find source for a GitHub link; a standard doc-tooling pattern with no network, decoding, or shell involved.
-
= return Nonelikely benign Docs helper imports a package dynamically to compute a relative source path.Reasoning
Imports a package named by the documented module to compute a relative path for a source link. Benign documentation tooling, though the import is dynamic.
-
returnlikely benign Lazy module __getattr__ looks up names in the module's own globals.Reasoning
Module-level __getattr__ returning globals()[name] for lazy attribute access, raising AttributeError otherwise. Standard PEP 562 lazy-loading idiom with no external input.
-
return # This is turned into the appropriate ImportErrorlikely benign Lazy module __getattr__ reads module globals by name.Reasoning
Same PEP 562 __getattr__ pattern reading the module's own globals; a benign lazy-import idiom.
-
] = # for callee, extract the innermost `function` (which is in METHODS) from the # stack; for caller, extract the *outermost* matching function so the expectedlikely benign Test helper inspects the call stack to match caller and callee names.Reasoning
Test helper using inspect.stack to find the calling function for metadata routing assertions. Frame introspection in tests is ordinary and benign.
-
continue = assert ,likely benign Test imports sklearn submodules by name to verify __all__ contents.Reasoning
Test iterating over sklearn's own module names and checking that __all__ entries exist; the modname comes from internal package walking. Benign.
-
likely benign Test imports an optional library to decide whether to skip.
Reasoning
Test checks whether an optional library is installed and skips otherwise. Benign and conventional.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|
&&