Remove dependency on mx.DateTime

Bug #990145 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Undecided
Unassigned
gwibber (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

It is a release goal for Quantal to port all Python related packages on the desktop CD to Python 3. Since Gwibber is one of these, I took a look at some of its dependencies. The most troublesome one is mx.DateTime because upstream has told me they have no plans in the near future to port to Python 3, so it is a blocker.

The fix is to convert the uses of mx.DateTime to the builtin datetime module. Probably the trickiest bit of that is the parsing routines since mx.DT has more sophisticated parsers. But we can still parse stuff like ISO 8601 using datetime.strptime().

I have a branch that appears to pass all its tests after converting to datetime and removing the mx dependency. Of course, I'm not positive I'm running the tests correctly. In any case, I'll attach a branch and merge proposal for this work.

Related branches

Changed in gwibber:
milestone: none → 3.6
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 3.5.0-0ubuntu1

---------------
gwibber (3.5.0-0ubuntu1) quantal; urgency=low

  * New upstream release
    - Removed unsupported/unmaintained service plugins: buzz, digg,
      friendfeed, qaiku, and pingfm
    - Convert all mx.DateTime use to built-in datetime module. mx won't get
      ported to python3 (Barry Warsaw) (LP: #990145)
    - libgwibber-gtk: Fixed up the GwibberGtkEntry widget's alignment and
      icon search path
  * debian/patches/lp_38667.patch
    - dropped, merged upstream
  * debian/control
    - removed dependency on python-egenix-mxdatetime
    - removed gwibber-service-digg, gwibber-service-friendfeed,
      gwibber-service-qaiku, and gwibber-service-pingfm packages
 -- Ken VanDine <email address hidden> Tue, 22 May 2012 15:16:24 -0400

Changed in gwibber (Ubuntu):
status: New → Fix Released
Changed in gwibber:
status: Fix Committed → Fix Released
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.