Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add matplotlib version ceiling #680

Merged
merged 3 commits into from
Sep 20, 2022
Merged

add matplotlib version ceiling #680

merged 3 commits into from
Sep 20, 2022

Conversation

fverac
Copy link
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

@@ -69,7 +69,8 @@ all =
tensorflow > 1.10, < 2.3
; Version capped due to tensorflow incompatibility
protobuf < 4
matplotlib
; Version capped due to shap incompatibility
matplotlib < 3.6.0
Copy link
Collaborator

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
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

@@ -69,7 +69,8 @@ all =
tensorflow > 1.10, < 2.3
; Version capped due to tensorflow incompatibility
protobuf < 4
matplotlib
; Version capped due to shap incompatibility
matplotlib < 3.6.0
Copy link
Collaborator

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
Collaborator

@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.

None yet

2 participants