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 331 forks source link

Upgrade nbconvert above 6.0.7 #493

Closed MLecardonnel closed 12 months ago

MLecardonnel commented 12 months ago

I had an issue trying to generate a shapash report because of nbconvert and an incompatibility with Jinja2. importlib.import_module("nbconvert") in https://github.com/MAIF/shapash/blob/929f8b2cff18c9e84c3262e057be6e4cb3cd4be5/shapash/report/__init__.py#L14 fails with a version 3.1.2 of Jinja2.

I upgraded nbconvert>=6.0.7 version like it is done in requirements.dev.txt and it works. https://github.com/MAIF/shapash/blob/929f8b2cff18c9e84c3262e057be6e4cb3cd4be5/setup.py#L44