MAIF / shapash

🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
https://maif.github.io/shapash/
Apache License 2.0
2.71k stars 329 forks source link

Temporary Fix for NumPy 2.0 Incompatibility #559

Closed guillaume-vignal closed 2 months ago

guillaume-vignal commented 2 months ago

Temporary Fix for NumPy 2.0 Incompatibility

Description

This pull request introduces a temporary fix for the recent incompatibility issues with NumPy 2.0 by setting an upper limit on the NumPy version in setup.py.

Changes

Rationale

NumPy 2.0 includes breaking changes that are currently incompatible with Shapash and other libraries like SHAP. By limiting the NumPy version, we prevent potential issues for users until a permanent compatibility update is available.

Additional Notes

We will continue working on making Shapash compatible with NumPy 2.0 and will remove this restriction once the necessary updates are implemented and tested.

Related Issues

Checklist


This pull request ensures that users will not unintentionally upgrade to NumPy 2.0 and encounter breaking changes. Thank you for your understanding and patience as we work on a more permanent solution.