[Checkins] [zopefoundation/Zope] e1836c: Consistently use "zope.tales" as TALES implementat...

Dieter Maurer noreply at github.com
Fri Mar 27 09:11:40 CET 2020


  Branch: refs/heads/4.x
  Home:   https://github.com/zopefoundation/Zope
  Commit: e1836c80d25ae05d1f691c3cfd0492cf12084a9e
      https://github.com/zopefoundation/Zope/commit/e1836c80d25ae05d1f691c3cfd0492cf12084a9e
  Author: Dieter Maurer <d-maurer at users.noreply.github.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M CHANGES.rst
    M requirements-full.txt
    M setup.py
    M src/Products/Five/browser/pagetemplatefile.py
    M src/Products/PageTemplates/Expressions.py
    M src/Products/PageTemplates/engine.py
    M src/Products/PageTemplates/expression.py
    A src/Products/PageTemplates/tests/input/InterpolationInContent.html
    A src/Products/PageTemplates/tests/output/CH_CheckNotExpression.html
    A src/Products/PageTemplates/tests/output/CH_CheckPathAlt.html
    M src/Products/PageTemplates/tests/output/CheckNotExpression.html
    M src/Products/PageTemplates/tests/output/CheckPathAlt.html
    A src/Products/PageTemplates/tests/output/InterpolationInContent.html
    M src/Products/PageTemplates/tests/output/Loop2.html
    M src/Products/PageTemplates/tests/output/RepeatVariable.html
    A src/Products/PageTemplates/tests/testChameleonTalesExpressions.py
    M src/Products/PageTemplates/tests/testHTMLTests.py
    A src/Products/PageTemplates/tests/testZopeTalesExpressions.py
    M src/Products/PageTemplates/tests/test_pagetemplate.py
    M src/Products/PageTemplates/tests/test_persistenttemplate.py
    M src/Products/PageTemplates/tests/util.py
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Consistently use "zope.tales" as TALES implementation (#807)

* Fix issue 717 by using `zope.tales` even for the `chameleon` page template engine (instead of `chameleon.tales`)

* try to make `flake8` happy

* retry to make `flake8` happy

* Fixes from @jugmac00

* make safe with respect to filesystem based long term cache
support `chameleon.tales` as well as `zope.tales` expressions (type decided by the engine returned by `pt_getEngine`

* - distlib is pulled in by virtualenv

* fix (most) problems revealed by the `Products.CMFPlone` tests

* make flake8 happy

* making `isort` happy

* increase consistency between `chameleon` and `zope.pagetemplate` template engines;
run all tests with the `chameleon` template engine

* Python 2 compatibility

* require `Chameleon>=3.7.0`; adapt to new `chameleon` version

* change version pin for `chameleon`

Co-authored-by: Jens Vagelpohl <jens at netz.ooo>




More information about the checkins mailing list