FS#16327 - [python-matplotlib] conflicts with python-pytz

Attached to Project: Community Packages
Opened by jiyunatori (jiyunatori) - Wednesday, 23 September 2009, 09:40 GMT
Last edited by Stefan Husmann (stefanhusmann) - Wednesday, 23 September 2009, 17:46 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Stefan Husmann (stefanhusmann)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: updating to python-matplotlib-0.99.1-1

/usr/lib/python2.6/site-packages/pytz/__init__.py exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/__init__.pyc exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/reference.py exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/reference.pyc exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/tzfile.py exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/tzfile.pyc exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/tzinfo.py exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/tzinfo.pyc exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/zoneinfo/Africa/Abidjan exists in both 'python-pytz' and 'python-matplotlib'
/usr/lib/python2.6/site-packages/pytz/zoneinfo/Africa/Accra exists in both 'python-pytz' and 'python-matplotlib'
[...]

it looks like the latest version of matplotlib has pytz bundled, thus causing the conflict.


Steps to reproduce:
> pacman -Sy python-matplotlib

This task depends upon

Closed by  Stefan Husmann (stefanhusmann)
Wednesday, 23 September 2009, 17:46 GMT
Reason for closing:  Fixed
Comment by jiyunatori (jiyunatori) - Wednesday, 23 September 2009, 09:49 GMT
playing with the source install, I've just realized that setup.py is checking if several dependencies are present on the system :

this is what you get when pytz is installed :


OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: 2009d


and when it is not :


OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
adding pytz


My guess is that the package has been generated on a system without pytz, thus forcing matplotlib's setup.py to provide it.
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 23 September 2009, 17:45 GMT
Should be fixed in -2. And no, the check system of setup.py is broken. It also detects my system as running macosx.

Loading...