Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16649 - [python-matplotlib] missing dependencies
Attached to Project:
Community Packages
Opened by Gergely (imrehg) - Wednesday, 14 October 2009, 16:29 GMT
Last edited by Stefan Husmann (stefanhusmann) - Saturday, 17 October 2009, 17:09 GMT
Opened by Gergely (imrehg) - Wednesday, 14 October 2009, 16:29 GMT
Last edited by Stefan Husmann (stefanhusmann) - Saturday, 17 October 2009, 17:09 GMT
|
DetailsDescription:
The last update of python-matplotlib removed python-numpy, python-dateutil and python-pytz from the dependency list. This is incorrect, as matplotlib does depend on these packages (at least on dateutil and pytz for sure) Additional info: * Affected: python-matplotlib 0.99.1.1-2 What did I do: 1. updated python-matplotlib from 0.99.1.1-1 to 0.99.1.1-2 with yaourt. 2. yaourt suggested that python-dateutil and python-pytz is no longer required by other packages. I removed them both. 3. trying to run a python script using matplotlib: from pylab import * Fails with error message due to missing dateutil and pytz. I haven't tried removing numpy see what it would do to matplotlib, but I'd think that package is necessary too... |
This task depends upon
Closed by Stefan Husmann (stefanhusmann)
Saturday, 17 October 2009, 17:09 GMT
Reason for closing: Fixed
Saturday, 17 October 2009, 17:09 GMT
Reason for closing: Fixed
One cannot a "from pylab import *" or "import pylab" without these packages, but that would be still okay if individual functions can be loaded. But one cannot even do a "from pylab import plot, show", something that I consider the most basic usage. This means the absence of the above dependencies makes matplotlib completely unusuable, i.e. it's not "opt" but "depends"....
Now, I find it strange too, that e.g. one would need timezone data to do plots, but I think it's more of an upstream issue that needs some code reorganization, then a packaging one.
I would also like to add pygtk as dependency. It is not technically needed (gtk2 is), but can you write gtk apps in python without pygtk? that would also track in python-numpy, because pygtk depends on it. Thoughts?
numpy is also required the whole thing depends on it.
But pygtk is strictly optional (the agg interface is the only one required for graphics) and should stay like that! This is because e.g. on headless systems without X there is no point requiring pygtk which would install a big bunch of unnecessary things. (I have to manage one such Ubuntu server, and indeed, no gtk but still can have pretty plots for the webserver)
So I would really just check the "build requirements" on [0] and put the respective packages into depends and optdepends....
[0] http://matplotlib.sourceforge.net/users/installing.html
python pytz and python-dateutil and python-numpy are in the depends array.