-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Always install mpl_toolkits. #12317
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
Always install mpl_toolkits. #12317
Conversation
I don't think there's really a reason to make this configurable. Also work towards auto-registering mplot3d. This PR also ensures that mpl_toolkits baseline images don't get installed if mpl_toolkits tests are not installed (previously, the baseline images would incorrectly be installed; that behavior goes back to at least mpl1.5, and is also present on PyPI wheels). Given that the baseline images are actually much heavier than the sources, this commit will actually help *decrease* the weight of wheels by making baseline images truly optional.
attn @QuLogic @sandrotosi @felixonmars Do any of you use this option when packaging mpl? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nominally 👍 , but want sign off from down-stream packagers.
Anyone can dismiss my review on feedback from packagers. |
The only reason we use these options is to set them to |
Arch doesn't do anything special here: the relevant files are https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/python-matplotlib and https://git.archlinux.org/svntogit/community.git/tree/trunk/setup.cfg?h=packages/python-matplotlib (https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/python-matplotlib). Looking at the relevant files in https://packages.debian.org/sid/python3-matplotlib (matplotlib_2.2.2-4.debian.tar.xz) I don't see anything specific either; their setup.cfg just sets
|
Is this worth a api_changes note? |
Wouldn't bother with it, as we're yet to find anyone who doesn't install them... |
thanks @anntzer for checking debian too :) it's all good to me, obvi |
I don't think there's really a reason to make this configurable. Also
work towards auto-registering mplot3d (#12249 (comment)).
This PR also ensures that mpl_toolkits baseline images don't get
installed if mpl_toolkits tests are not installed (previously, the
baseline images would incorrectly be installed; that behavior goes back
to at least mpl1.5, and is also present on PyPI wheels). Given that the
baseline images are actually much heavier than the sources, this commit
will actually help decrease the weight of wheels by making baseline
images truly optional.
PR Summary
PR Checklist