[Zope-dev] z3c.form and lxml

Malthe Borch mborch at gmail.com
Mon Sep 15 11:47:29 EDT 2008


2008/9/15 Roger Ineichen <admin at projekt01.ch>:
> We need to stop using lxml in z3c.form

We're not––the tests extra is.

> I'm not able to compile lxml on every computer
> LXML is evil as a default dependency at least if we use
> the newest one which is only available for linux systems.

This is why we're trying to avoid the hard lxml dependency; we're
half-way through that.

> Why do we move all that things to z3c.form. We should
> implement a z3c.lxmlform package or z3c.ptform package
> and move all the z3c.form, z3c.macro etc. changes to such
> package. The z3c.form package doesn't need to depend on
> lxml in any case.

I'm not sure what the right approach is; I just took a preliminary
step to see if ``z3c.pt`` could perfectly replace ZPT, and after some
bug-fixing, it seems it can.

> If we don't move the z3c.pt integration to another
> package, we should at least do the work in a branch
> till it will be stable and useable on any platform.

I agree; let me try and see if I can loose the hard dependency on lxml
altogether.

\malthe


More information about the Zope-Dev mailing list