timezones missing in 2011d?

Bug #740023 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pytz
Expired
Undecided
Unassigned

Bug Description

Manuel Barkhau reports:

C:\workspace>C:\Python25\python.exe
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> pytz.VERSION
'2011d'
>>> len(pytz.all_timezones)
0
>>>

After installing 2010l and updating back to 2011d it seems to work now.

>>> len(pytz.all_timezones)
570
>>>

Revision history for this message
Stuart Bishop (stub) wrote :

I'm unable to reproduce this under Linux using Python 2.5 and the egg:

$ sudo easy_install-2.5 -U pytz
Searching for pytz
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=79122
Reading http://www.stuartbishop.net/Software/pytz
Reading http://sourceforge.net/projects/pytz/
Best match: pytz 2011d
Downloading http://pypi.python.org/packages/2.5/p/pytz/pytz-2011d-py2.5.egg#md5=de1695ae1bcd6e283a936945008a53ba
Processing pytz-2011d-py2.5.egg
creating /usr/local/lib/python2.5/site-packages/pytz-2011d-py2.5.egg
Extracting pytz-2011d-py2.5.egg to /usr/local/lib/python2.5/site-packages
Adding pytz 2011d to easy-install.pth file

Installed /usr/local/lib/python2.5/site-packages/pytz-2011d-py2.5.egg
Processing dependencies for pytz
Finished processing dependencies for pytz
stub@aargh:~$
stub@aargh:~$
stub@aargh:~$ python2.5
Python 2.5.5 (r255:77872, Oct 12 2010, 15:28:33)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> pytz.VERSION
'2011d'
>>> len(pytz.all_timezones)
570
>>>

Revision history for this message
Stuart Bishop (stub) wrote :

We need to know how pytz was installed, and with what version of setuptools, to proceed.

The only significant change I can think of is that 2011d was released using distribute-0.6.15 for setuptools - previously I used distribute-0.6.14, which had some Python 3 related bugs causing difficulty with the Python 3.1 and 3.2 eggs.

$ python2.5
Python 2.5.5 (r255:77872, Oct 12 2010, 15:28:33)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>> setuptools.__file__
'/usr/local/lib/python2.5/site-packages/distribute-0.6.15-py2.5.egg/setuptools/__init__.pyc'
>>>

Changed in pytz:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pytz because there has been no activity for 60 days.]

Changed in pytz:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.