-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
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",
]