[Checkins] SVN: z3c.form/trunk/ Pinned minimum version of test dependency `z3c.template`.
Michael Howitz
mh at gocept.com
Thu Nov 3 07:27:00 UTC 2011
Log message for revision 123274:
Pinned minimum version of test dependency `z3c.template`.
Changed:
U z3c.form/trunk/CHANGES.txt
U z3c.form/trunk/setup.py
-=-
Modified: z3c.form/trunk/CHANGES.txt
===================================================================
--- z3c.form/trunk/CHANGES.txt 2011-11-03 04:22:20 UTC (rev 123273)
+++ z3c.form/trunk/CHANGES.txt 2011-11-03 07:26:59 UTC (rev 123274)
@@ -5,9 +5,8 @@
2.5.1 (unreleased)
------------------
-...
+- Pinned minimum version of test dependency `z3c.template`.
-
2.5.0 (2011-10-29)
------------------
@@ -17,13 +16,13 @@
Traversing the repeat wwrapper is not done the same way. ZPT uses the
following pattern:
<tal:block condition="not:repeat/value/end">, </tal:block>
-
+
Chameleon only supports python style traversing:
<tal:block condition="not:python:repeat['value'].end">, </tal:block>
- Upgrade to chameleon 2.0 template engine and use the newest z3c.pt and
z3c.ptcompat packages adjusted to work with chameleon 2.0.
-
+
See the notes from the z3c.ptcompat package:
Update z3c.ptcompat implementation to use component-based template engine
@@ -35,12 +34,12 @@
Also, note that the ``PREFER_Z3C_PT`` environment option has been
rendered obsolete; instead, this is now managed via component
configuration.
-
+
Attention: You need to include the configure.zcml file from z3c.ptcompat
- for enable the z3c.pt template engine. The configure.zcml will plugin the
+ for enable the z3c.pt template engine. The configure.zcml will plugin the
template engine. Also remove any custom built hooks which will import
z3c.ptcompat in your tests or other places.
-
+
You can directly use the BoundPageTemplate and ViewPageTempalteFile from
zope.browserpage.viewpagetemplatefile if needed. This templates will implicit
use the z3c.pt template engine if the z3c.ptcompat configure.zcml is
Modified: z3c.form/trunk/setup.py
===================================================================
--- z3c.form/trunk/setup.py 2011-11-03 04:22:20 UTC (rev 123273)
+++ z3c.form/trunk/setup.py 2011-11-03 07:26:59 UTC (rev 123274)
@@ -83,7 +83,7 @@
test=[
'lxml >= 2.1.1',
'z3c.coverage',
- 'z3c.template',
+ 'z3c.template >= 1.3',
'zc.sourcefactory',
'zope.app.component',
# zope.app.container pulls in zope.container, if newer version
More information about the checkins
mailing list