Overview

Request 687395 accepted

- Enable py2 as it supports python2
- Update to 3.2.1:
* Changed LoadTemplate.loadTemplate{Module,Class}: the loaded module’s __name__ set to just the file name.
* Use imp for Python 2, importlib for Python 3.
* Fix a bug in LoadTemplate.loadTemplate{Module,Class}: raise ImportError if the template was not found.

- Update to 3.2.0:
* Dropped support for Python 3.3.
* Implement LoadTemplate.loadTemplate{Module,Class} to load templates from .py[co], .py or .tmpl.
* CheetahDirOwner caches compiled template in the template directory.
* CheetahDirOwner now silently ignores errors on compiled templates writing. To get tracebacks set CheetahDirOwner.debuglevel = 1.
* CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo. Errors on writing are silently ignored.
* Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under Python 3.
* Fix a bug in Compiler.__str__: under Python 2 the method now always returns str; it encodes unicode to str using encoding from the compiled source. Under Python 3 the method decodes bytes to str.
- Execute tests

Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- Enable py2 as it supports python2
- Update to 3.2.1:
* Changed LoadTemplate.loadTemplate{Module,Class}: the loaded module’s __name__ set to just the file name.
* Use imp for Python 2, importlib for Python 3.
* Fix a bug in LoadTemplate.loadTemplate{Module,Class}: raise ImportError if the template was not found.

- Update to 3.2.0:
* Dropped support for Python 3.3.
* Implement LoadTemplate.loadTemplate{Module,Class} to load templates from .py[co], .py or .tmpl.
* CheetahDirOwner caches compiled template in the template directory.
* CheetahDirOwner now silently ignores errors on compiled templates writing. To get tracebacks set CheetahDirOwner.debuglevel = 1.
* CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo. Errors on writing are silently ignored.
* Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under Python 3.
* Fix a bug in Compiler.__str__: under Python 2 the method now always returns str; it encodes unicode to str using encoding from the compiled source. Under Python 3 the method decodes bytes to str.
- Execute tests


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:51"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:51


Jan Engelhardt's avatar

jengelh accepted review


Staging Bot's avatar

staging-bot accepted review

ready to accept


Staging Bot's avatar

staging-bot approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by