-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New branch to fix TAL default handling #853
Conversation
@malthe This chameleon version does not work: it puts the correct
The |
Let me review some of the test cases. |
Malthe Borch wrote at 2020-6-18 04:03 -0700:
Let me review some of the test cases.
@malthe I have pushed my adaptation to branch
"Zopefoundation/Zope:issue_846_2".
|
@d-maurer In malthe/chameleon#317 (comment) you said that all tests for
is turned into this:
Also, |
Jens Vagelpohl wrote at 2020-6-26 00:38 -0700:
@d-maurer In malthe/chameleon#317 (comment) you said that all tests for `Products.PageTemplates` are passing now. In a local sandbox on this branch `issue_846_2` that pulls in Chameleon 3.8.0 I am still seeing failures. Do you work off a branch with unmerged local changes?
Yes.
Tests worked in my local environment (with local `chameleon` adaptions)
with the `chameleon` branch for Python 2.
I will soon (within the next few days) switch to
`chameleon==3.8.0` (rather than use the branch),
run the tests for Python 2 and Python 3
and then push the code to github.
|
With one linting fix and an added test after seeing malthe/chameleon#318 this looks ready for merging once Travis CI has run though. @d-maurer Do you agree? |
Jens Vagelpohl wrote at 2020-6-26 03:02 -0700:
With one linting fix and an added test after seeing malthe/chameleon#318 this looks ready for merging once Travis CI has run though. @d-maurer Do you agree?
I agree -- maybe up to a cosmetic change:
line 21 of `engine.py` still references `3.7.5`.
Possibly, this should change to `3.8.0`.
|
Thanks Dieter! |
* - new branch to fix TAL default handling * adapt to changed default handling of `chameleon==3.7.4` (does not yet work * Python 3 compatibility * - use Chameleon 3.8 * Adaptations for `chameleon>=3.8` * - fix lint issue * - add test for straight boolean after seeing malthe/chameleon#318 * - comment change [ci skip] Co-authored-by: dieter <dieter@handshake.de>
Thanks for the patience guys – this was a difficult one to crack. |
Thanks for all the help @malthe. There wasn't much pressure from others in the community to fix it, surprisingly. I guess not many people use the |
For the record, I did not see much code in core Plone that uses the default keyword. I did not even know this option existed. I think I saw one or two in Products.Archetypes, but I could not trigger an error with that, using versions where it was apparently broken. |
Branch off of
4.x
that now pins Chameleon version 3.7.4 as the starting point for a finaldefault
keyword handling fix.