Skip to content

add matplotlib version ceiling#680

Merged
fverac merged 3 commits intomainfrom
fverac/cap_matplotlib_version
Sep 20, 2022
Merged

add matplotlib version ceiling#680
fverac merged 3 commits intomainfrom
fverac/cap_matplotlib_version

Conversation

@fverac
Copy link
Copy Markdown
Collaborator

@fverac fverac commented Sep 20, 2022

It seems that a recently released matplotlib version has broken some things for the shap library, which in turn causes some of our tests/functionality to fail.

Capping the version to avoid for now.

Relevant issues:
shap/shap#2687
SeldonIO/alibi#774

@fverac fverac requested a review from kbattocchi September 20, 2022 16:21
Comment thread setup.cfg
protobuf < 4
matplotlib
; Version capped due to shap incompatibility
matplotlib < 3.6.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using

Suggested change
matplotlib < 3.6.0
matplotlib != 3.6.0

if this seems like a matplotlib issue that will be fixed soon.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem like matplotlib plans to address this judging by this issue:

matplotlib/matplotlib#23924

Comment thread setup.cfg
protobuf < 4
matplotlib
; Version capped due to shap incompatibility
matplotlib < 3.6.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that whatever change you make here, the same change should also be made to the plt extra.

Copy link
Copy Markdown
Member

@kbattocchi kbattocchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fverac fverac merged commit 8281424 into main Sep 20, 2022
@fverac fverac deleted the fverac/cap_matplotlib_version branch September 20, 2022 19:56
AnthonyCampbell208 pushed a commit to AnthonyCampbell208/EconML-CS696DS that referenced this pull request Apr 20, 2023
* add matplotlib version ceiling

* complete matplotlib cap

Signed-off-by: AnthonyCampbell208 <78286293+AnthonyCampbell208@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants