Outdated pytz and dateutil

The versions of pytz and dateutil that are included with matplotlib
0.98.3 are outdated.

dateutil 1.2 is included, but 1.4.1 is available
pytz: 2008c (from pypi)

I am against including them at all (especially if they are installed
even if the user already has the packages available). They are both
trivial to install from source.

In the case of pytz one can also use easy_install (and presumably this
can happen automatically via dependency handling). Unfortunately that is
not a good idea for dateutil; I just tried it and got version 1.1. Yow.

-- Russell

Hey Russell, thanks for the head's up.

For our source installs, by default we install them only if they are
not on the system, but you can configure this with setup.cfg to
always, never or conditionally install them.

I have updated the mpl versions to the ones you point to above.

svn users -- if you want to upgrade to the latest using the mpl
versions, cp setup.cfg.template to setup.cfg, uncomment the following
lines, and set them to True

   ## Date/timezone support:
   pytz = True
   dateutil = True

Conversely, if you never want to use the mpl versions, uncomment them
and set them to False.

Unfortunately, our binary installers are not so smart. It would be
nice to have better binary installers which override existing
installations. Charlie, do you know anything about this?

JDH

···

On Thu, Sep 18, 2008 at 2:33 PM, Russell E. Owen <rowen@...270...> wrote:

The versions of pytz and dateutil that are included with matplotlib
0.98.3 are outdated.

dateutil 1.2 is included, but 1.4.1 is available
pytz: 2008c (from pypi)

I am against including them at all (especially if they are installed
even if the user already has the packages available). They are both
trivial to install from source.

In the case of pytz one can also use easy_install (and presumably this
can happen automatically via dependency handling). Unfortunately that is
not a good idea for dateutil; I just tried it and got version 1.1. Yow.