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

Use public get_data_path for matplotlib hook #5568

Merged
merged 2 commits into from Feb 24, 2021

Conversation

richardsheridan
Copy link
Contributor

Fixes #5567. The bigger question is if this breaks earlier versions of matplotlib and how to deal with that if so.

@bwoodsend
Copy link
Member

Well our CI/CD is using matplotlib 3.2.2 and that hasn't broken so that's a good start. To be honest, I'm unaware of any reason why we can't just use the generic collect_data_files("matplotlib") that we normally use.

Copy link
Member

@bwoodsend bwoodsend left a comment

Choose a reason for hiding this comment

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

This needs a news entry.

Also can you spruce up the commit message? We've got quite a specific format going. Try git log-ing to get the idea.

@richardsheridan
Copy link
Contributor Author

This needs a news entry.

on it

Also can you spruce up the commit message? We've got quite a specific format going. Try git log-ing to get the idea.

Certainly, I noticed that just after I made the PR. 🤦 I'll do a force push after the appveyor build passes.

Private _get_data_path was removed in matplotlib-3.4.0rc1.
This change simply removes the underscore to use the public
version. (pyinstaller#5567)
@bwoodsend
Copy link
Member

... and I can confirm that this still work on matplotlib 2.2.2 which is several years ago.

@bwoodsend bwoodsend merged commit 6ae99e2 into pyinstaller:develop Feb 24, 2021
@bwoodsend
Copy link
Member

Thanks @richardsheridan.

This was referenced Apr 8, 2021
@Legorooj Legorooj removed their request for review April 27, 2021 08:43
@richardsheridan richardsheridan deleted the mpl_get_data_path branch May 3, 2021 13:02
orenadav pushed a commit to SeeTrueAI/pyinstaller that referenced this pull request Jul 26, 2021
Private _get_data_path was removed in matplotlib-3.4.0rc1.
This change simply removes the underscore to use the public
version. (pyinstaller#5567)
orenadav pushed a commit to SeeTrueAI/pyinstaller that referenced this pull request Jul 26, 2021
Private _get_data_path was removed in matplotlib-3.4.0rc1.
This change simply removes the underscore to use the public
version. (pyinstaller#5567)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support matplotlib-3.4.0rc1
2 participants