Skip to content

Explain Extention with Orange Portable Windows 3.40.0Β #7238

@jcmhk

Description

@jcmhk

Orange 3.40.0 uses NumPy 2.1.3 and Python 3.12.10.
Orange3-Explain 0.6.10 currently forces shap==0.42.1 (see setup.py, line 51), which is incompatible with this NumPy and Python version.

I downloaded the Explain add-on sources and modified setup.py to remove the fixed shap version, and everything works correctly.

Could you please publish an updated version of Orange3-Explain on PyPI without pinning shap==0.42.1?

Proposed INSTALL_REQUIRES:
INSTALL_REQUIRES = [
"AnyQt",
# shap's requirement, force users for numba to get updated because compatibility
# issues with numpy - completely remove this pin after october 2024
"numba >=0.58",
"numpy",
"Orange3 >=3.36.2",
"orange-canvas-core >=0.1.30",
"orange-widget-base >=4.22.0",
"pyqtgraph",
"scipy",
"shap",
"scikit-learn>=1.3.0",
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportBug is reported by user, not yet confirmed by the core teamneeds discussionCore developers need to discuss the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions