[Checkins] [zopefoundation/z3c.template] 5a86fb: Rename .txt -> .rst
GitHub
noreply at github.com
Tue Oct 17 22:03:20 CEST 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/z3c.template
Commit: 5a86fbfdb912162091c79c2f9664cf9e0ba60077
https://github.com/zopefoundation/z3c.template/commit/5a86fbfdb912162091c79c2f9664cf9e0ba60077
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-10-16 (Mon, 16 Oct 2017)
Changed paths:
A CHANGES.rst
R CHANGES.txt
M MANIFEST.in
A README.rst
R README.txt
M setup.py
A src/z3c/template/README.rst
R src/z3c/template/README.txt
M src/z3c/template/tests.py
A src/z3c/template/zcml.rst
R src/z3c/template/zcml.txt
Log Message:
-----------
Rename .txt -> .rst
Commit: 04eaf59dd8b590099aae7e4af87793f1fb7a2717
https://github.com/zopefoundation/z3c.template/commit/04eaf59dd8b590099aae7e4af87793f1fb7a2717
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-10-16 (Mon, 16 Oct 2017)
Changed paths:
M .gitignore
M .travis.yml
M CHANGES.rst
M setup.py
M src/z3c/__init__.py
M tox.ini
Log Message:
-----------
Add 3.4/5/6, remove 3.3, 2.6. Metadata only---tests do not pass for any version.
The error is:
```
Failure in test //z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/template/README.rst
Failed doctest test for README.rst
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/template/README.rst", line 0
----------------------------------------------------------------------
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/template/README.rst", line 367, in README.rst
Failed example:
print(factory(view, request)())
Exception raised:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest README.rst[77]>", line 1, in <module>
print(factory(view, request)())
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/template/template.py", line 47, in __call__
result = self.wrapper(**kwargs)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/zope/pagetemplate/pagetemplate.py", line 110, in __call__
return self.pt_render(self.pt_getContext(args, kwargs))
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/zope/pagetemplate/pagetemplate.py", line 128, in pt_render
raise PTRuntimeError(str(self._v_errors))
- Warning: Compilation failed
- Warning: exceptions.AttributeError: 'NoneType' object has no attribute 'rfind'
PTRuntimeError: ['Compilation failed', "exceptions.AttributeError: 'NoneType' object has no attribute 'rfind'"]
```
Debugging in zope.pagetemplate reveals the traceback:
```
Running zope.testrunner.layer.UnitTests tests:
Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
Traceback (most recent call last):
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/zope/pagetemplate/pagetemplate.py", line 229, in _cook
source_file, self._text, pt_engine, self.content_type)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/z3c/ptcompat/engine.py", line 52, in cook
text, filename=source_file, keep_body=True,
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/zpt/template.py", line 192, in __init__
super(PageTemplate, self).__init__(body, **config)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 116, in __init__
self.write(body)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 209, in write
self.cook(body)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 145, in cook
digest = self.digest(body, names)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/zpt/template.py", line 304, in digest
hex = super(PageTemplate, self).digest(body, names)
File "//z3c.template/.tox/py27/lib/python2.7/site-packages/chameleon/template.py", line 246, in digest
digest = os.path.splitext(self.filename)[0] + '-' + digest
File "//z3c.template/.tox/py27/bin/../lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "//z3c.template/.tox/py27/bin/../lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'NoneType' object has no attribute 'rfind'
```
This appears to be an error in z3c.ptcompat.
Commit: 1d8dd15f249999049413f9d0c6df51600c396ea9
https://github.com/zopefoundation/z3c.template/commit/1d8dd15f249999049413f9d0c6df51600c396ea9
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths:
A .coveragerc
M CHANGES.rst
M MANIFEST.in
M README.rst
A setup.cfg
M src/z3c/template/README.rst
M src/z3c/template/tests.py
M src/z3c/template/zcml.rst
Log Message:
-----------
100% test coverage. Badges. setup.cfg for universal wheels.
Commit: ec123318ffdfda37e2f04b3ad2699ac6d77544b7
https://github.com/zopefoundation/z3c.template/commit/ec123318ffdfda37e2f04b3ad2699ac6d77544b7
Author: Jason Madden <jamadden at gmail.com>
Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths:
M setup.py
Log Message:
-----------
Whitespace in setup.py per review.
Commit: 5c39616b940d9a1c18d2b1284619981f69d4709f
https://github.com/zopefoundation/z3c.template/commit/5c39616b940d9a1c18d2b1284619981f69d4709f
Author: Jason Madden <jason+github at nextthought.com>
Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths:
A .coveragerc
M .gitignore
M .travis.yml
A CHANGES.rst
R CHANGES.txt
M MANIFEST.in
A README.rst
R README.txt
A setup.cfg
M setup.py
M src/z3c/__init__.py
A src/z3c/template/README.rst
R src/z3c/template/README.txt
M src/z3c/template/tests.py
A src/z3c/template/zcml.rst
R src/z3c/template/zcml.txt
M tox.ini
Log Message:
-----------
Merge pull request #2 from zopefoundation/py36
Add Python 3.4/5/6, drop 3.3/2.6
Compare: https://github.com/zopefoundation/z3c.template/compare/a3561788e645...5c39616b940d
More information about the checkins
mailing list