[Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Jim Fulton
I should know this, but I don't. What is the recommended way to test changes to core ZTK packages to mitigate the risk that changes affect other packages? Is there a page somewhere with instructions? I tried using using zope.release. Building the trunk of zope.release with Python 2.4 and

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Tim Hoffman
I have to chime in here too lxml is a real pain and seems to be problematic to get a straightforward build for packages other than ZTK as well. I have had varying success building lxml even under ubuntu - success seems to be dependant on the type of build defined. T On Tue, Jun 30, 2009 at 6:28

[Zope-dev] Zope Tests: 8 OK

2009-06-30 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Jun 29 12:00:00 2009 UTC to Tue Jun 30 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Jun 29 20:49:37 EDT 2009 URL: http://

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Stephan Richter
On Tuesday 30 June 2009, Jim Fulton wrote: > I should know this, but I don't. What is the recommended way to test > changes to core ZTK packages to mitigate the risk that changes affect > other packages? Is there a page somewhere with instructions? > > I tried using using zope.release. Buildi

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Wichert Akkerman
On 6/30/09 7:03 PM, Stephan Richter wrote: > It is needed for the "latest-versions" script as this parses XML. I consider > lxml pretty much the standard tool to do XML in Python these days. Who is not > using lxml? I suspect the majority of people who use OSX as their main platform try to stay a

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 1:03 PM, Stephan Richter wrote: > I consider > lxml pretty much the standard tool to do XML in Python these days. I don't want to diss lxml, but since it's not in the standard library, I imagine far more people use element tree. > Who is not > using lxml? I don't. I don't

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 1:03 PM, Stephan Richter wrote: ... > 2. Run python bootstrap.py Which Python? 2.4, 2.5, 2.6? All of the above? Jim -- Jim Fulton Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Paul Carduner
Can't use lxml on google app engine either. I use ElementTree. If only the lxml extensions to the etree API were available in ElementTree, especially the ability to pretty print the xml and do xpath queries, that would be great. On Tue, Jun 30, 2009 at 7:25 PM, Jim Fulton wrote: > > On Jun 30, 2

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Stephan Richter
On Tuesday 30 June 2009, Jim Fulton wrote: > On Jun 30, 2009, at 1:03 PM, Stephan Richter wrote: > ... > > > 2. Run python bootstrap.py > > Which Python? 2.4, 2.5, 2.6? All of the above? I have mainly run test under 2.5. I am fine if people run those tests after changes in any Python version. ;-)

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Hoffman wrote: > I have to chime in here too > > lxml is a real pain and seems to be problematic to get a straightforward > build for packages other than ZTK as well. I have had varying success > building lxml even under ubuntu - success seems to

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > I should know this, but I don't. What is the recommended way to test > changes to core ZTK packages to mitigate the risk that changes affect > other packages? Is there a page somewhere with instructions? > > I tried using usin

[Zope-dev] Making PersistentList satisfy zope.schema.List

2009-06-30 Thread Paul Carduner
I noticed that PersistentList and PersistentDict do not satisfy zope.schema.List or zope.schema.Dict, which is rather annoying. For example: class IBlogPost(Interface): tags = zope.schema.List(title=u'Tags', value_type=zope.schema.TextLine) class BlogPost(Persistent): implements(IBlogPos

[Zope-dev] lxml is hard to install (was Re: How to test changes to ZTK packages?)

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 2:35 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tim Hoffman wrote: >> I have to chime in here too >> >> lxml is a real pain and seems to be problematic to get a >> straightforward >> build for packages other than ZTK as well. I have had var

Re: [Zope-dev] lxml is hard to install (was Re: How to test changes to ZTK packages?)

2009-06-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > I'm not familiar with the static-deps option. To what? Its setup.py? $ wget http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz ... $ tar xzf lxml-2.2.2.tar.gz $ cd lxml-2.2.2 $ /path/to/python setup.py bdist_egg

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 1:03 PM, Stephan Richter wrote: ... > I am running the tests as I am writing this. So far I got one failure: > > Traceback (most recent call last): > File "/opt/zope/packages/eggs/z3c.macro-1.2.1-py2.5.egg/z3c/macro/ > tests.py", > line 29, in >import z3c.pt > ImportErro

Re: [Zope-dev] Making PersistentList satisfy zope.schema.List

2009-06-30 Thread Roger Ineichen
Hi Paul > -Ursprüngliche Nachricht- > Von: zope-dev-boun...@zope.org > [mailto:zope-dev-boun...@zope.org] Im Auftrag von Paul Carduner > Gesendet: Dienstag, 30. Juni 2009 21:18 > An: zope-dev > Betreff: [Zope-dev] Making PersistentList satisfy zope.schema.List > > I noticed that Pers

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 1:04 PM, Stephan Richter wrote: > On Tuesday 30 June 2009, Stephan Richter wrote: >> I'll report the full output when it is done. > > And here it is. OK, this sorta looks like what I got with Python 2.4. It probably would have been good enough to say "yeah, I get lots of

Re: [Zope-dev] lxml is hard to install (was Re: How to test changes to ZTK packages?)

2009-06-30 Thread Jim Fulton
On Jun 30, 2009, at 4:51 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Fulton wrote: > >> I'm not familiar with the static-deps option. To what? Its setup.py? > > $ wget http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz > ... > $ tar xzf lxml-2.2.2

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Stephan Richter
On Tuesday 30 June 2009, Jim Fulton wrote: > > And here it is. > > OK, this sorta looks like what I got with Python 2.4. It probably > would have been good enough to say "yeah, I get lots of errors too." :) Sorry! ;-) > So basically, this is how we're supposed to run tests and we're in > bad

Re: [Zope-dev] How to test changes to ZTK packages?

2009-06-30 Thread Wolfgang Schnerring
* Tres Seaver [2009-06-30 20:41]: > Jim Fulton wrote: >> I should know this, but I don't. What is the recommended way to test >> changes to core ZTK packages to mitigate the risk that changes affect >> other packages? Is there a page somewhere with instructions? >> >> I tried using using zop