Remove dependency on mx.DateTime
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.
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
- Ken VanDine: Approve
-
Diff: 697 lines (+286/-63)16 files modifiedREADME (+50/-0)
gwibber/microblog/dispatcher.py (+2/-2)
gwibber/microblog/plugins/facebook/__init__.py (+27/-8)
gwibber/microblog/plugins/flickr/__init__.py (+3/-6)
gwibber/microblog/plugins/friendfeed/__init__.py (+3/-2)
gwibber/microblog/plugins/identica/__init__.py (+7/-5)
gwibber/microblog/plugins/qaiku/__init__.py (+2/-1)
gwibber/microblog/plugins/statusnet/__init__.py (+7/-6)
gwibber/microblog/plugins/twitter/__init__.py (+7/-5)
gwibber/microblog/util/__init__.py (+3/-9)
gwibber/microblog/util/resources.py (+2/-2)
gwibber/time.py (+96/-0)
gwibber/util.py (+3/-3)
tests/plugins/test/__init__.py (+3/-5)
tests/python/unittests/test_time.py (+53/-0)
tests/python/utils/__init__.py (+18/-9)
Changed in gwibber: | |
milestone: | none → 3.6 |
status: | New → Fix Committed |
Changed in gwibber: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package gwibber - 3.5.0-0ubuntu1
---------------
gwibber (3.5.0-0ubuntu1) quantal; urgency=low
* New upstream release unmaintained service plugins: buzz, digg, patches/ lp_38667. patch egenix- mxdatetime service- digg, gwibber- service- friendfeed, service- qaiku, and gwibber- service- pingfm packages
- Removed unsupported/
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/
- dropped, merged upstream
* debian/control
- removed dependency on python-
- removed gwibber-
gwibber-
-- Ken VanDine <email address hidden> Tue, 22 May 2012 15:16:24 -0400