On 2007-07-09 23:02:42 +0200, Christopher Arndt wrote:
> Michael Bienia schrieb:
> > The python2.5 package provides: python2.5-cjkcodecs, python2.5-ctypes,
> > python2.5-elementtree, python2.5-celementtree
> > The package python-elementtree supports only python2.4.
> 
> When I installed "python-turbogears" it pulled "python-elementtree" as a
> dependency. One would expect that this would then provide elementtree
> for Python 2.5, with which TurboGears will be run. Or
> "python-turbogears" should depend on the "python2.4" package.

Ubuntu takes most packages directly from Debian and Debian still has
python2.4 as default. Therefore some glitches may get in Ubuntu
unnoticed.
It should be possible to make the turbogears package depend on python2.4
but that should be IMHO only the last resort.

> > I got "tg-admin info" running if I change turbogears/command/i18n.py to
> > ,----
> > | try:
> > |     from elementtree.ElementTree import ElementTree
> > | except ImportError:
> > |     from xml.etree.ElementTree import ElementTree
> 
> Yes, I figured that something like this would work but in IMO that's a
> workaround for a broken "python-elementtree/turbogears" package, not a
> fix for a TurboGears bug. Currently TG depends on elementtree.
> 
> > How to proceed with this problem?
> 
> - Ubuntu fixes fixes the "python-eleemnttree" package

I could ask Ubuntu's python maintainer about his opinion on it.

> - Ubuntu includes the above patch in its "python-turbogears" package

That should be fairly easy (if the patch is the right fix for it). I'd
also update the depends to "python2.5-elementtree | python-elementtree"
(python2.5-elementree is provided by the python2.5 package).

> - TurboGears includes the above patch in it's next release
>   (post it as a trac ticket, please!)

Filed as ticket #1441. In the meantime I could include it the turbogears
package (see above).

Any other problems which needs fixing?

Regards,

Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to