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

matplotlib's dependency on qt should be optional #3218

Closed
Readon opened this issue Dec 17, 2017 · 8 comments
Closed

matplotlib's dependency on qt should be optional #3218

Readon opened this issue Dec 17, 2017 · 8 comments

Comments

@Readon
Copy link

Readon commented Dec 17, 2017

Every time the installation of matplotlib requires qt lib, which will increase the download file size and disk usage up to several gigabytes.
However matplotlib is a multi-backend tools, it can work with tk, gtk, qt and others where qt is optional.
Why not add the qt requirements to optional dependency section?

@stahta01
Copy link
Contributor

It is likely because MSys2 mingw qt5 package is one monolithic package; instead of smaller packages.
I am guessing it really needs qt5-base to run even when not using the qt5 GUI packages. This is based on 5 minutes at looking at the ArchLinux packages.

Tim S.

@lazka
Copy link
Member

lazka commented Dec 19, 2017

qt5 is an optional dependency: https://matplotlib.org/users/installing.html#dependencies

@lazka
Copy link
Member

lazka commented Dec 28, 2017

I haven't tried anything code wise, but I've found some upstream discussion on this issue:

https://bugs.archlinux.org/task/41744?project=5&string=python-matplotlib

matplotlib/matplotlib#3679

@lazka
Copy link
Member

lazka commented Jan 29, 2018

From what I see we can remove the dependency once matplotlib/matplotlib#9795 is done and released.

@Wybxc
Copy link

Wybxc commented Mar 2, 2018

I found this: https://bugs.archlinux.org/task/41820. It mentions that there is a pull request about this in matplotlib: matplotlib/matplotlib#9795.

@Readon
Copy link
Author

Readon commented Jun 12, 2018

It seems that we should wait until the release of matplotlib 3.0, cause matplotlib#9551 has just been merged in June,2018.

@lazka
Copy link
Member

lazka commented Sep 19, 2018

matplotlib 3 is out and it's Python 3 only. Any objections to upgrading to it?

https://mail.python.org/pipermail/matplotlib-announce/2018-September/000027.html

@lazka
Copy link
Member

lazka commented Sep 21, 2018

I've created #3218

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

No branches or pull requests

4 participants