changes to tzinfo break Zope's DateTime

Bug #573023 reported by Tres Seaver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pytz
Won't Fix
High
Unassigned

Bug Description

lp:148307, "tzinfo utcoffset(), dst() & tzname() methods ignore arguments" was mareked 'wontfix' on 2008-04-22. However, the behavior has recently changed to do as the original report requested (see attached diff), which is breaking the Zope2 DateTime package (see lp:572715). At the moment, DateTime pins its dependency 'pytz <= 2010b', due to this breakage.

Revision history for this message
Tres Seaver (tseaver) wrote :
Revision history for this message
Tres Seaver (tseaver) wrote :

Recipe for reproducing failure:

  $ svn co http://svn.zope.org/repos/main/DateTime/trunk
  ...
  $ vim setup.py # remove pin of 'pytz <= 2010b', leaving just 'pytz'
  $ /path/to/python bootstrap.py
  ...
  $ bin/buildout
  ...
  $ bin/test --all

which yields a ton of failures.

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

I've flagged this as wontfix as Zope2 has worked around the issue. I don't like that the API change was not backwards compatible though, so we can revisit if other people are having problems. I suspect the problem is too late to fix now though, as people will be relying on the new behavior.

Changed in pytz:
status: New → Triaged
importance: Undecided → High
status: Triaged → Won't Fix
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.