Revisions of python-Chameleon

buildservice-autocommit accepted request 1169357 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 52)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 51)
- update to 4.5.4:
  * Fix an issue where $-sign interpolation escaping would not
    work correctly when more than two such symbols appeared next
    to each other.
  * Minor optimization when rendering translations with a static
    message id (don't need to test if it's non-empty).
  * Fix a bug where a macro could not be used correctly to render
    a translation name.
buildservice-autocommit accepted request 1158870 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 50)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 49)
- Add missing {Build,}Requires on importlib-metadata.
- Drop unneeded Requires on setuptools.
- No more greedy globs in %files.
buildservice-autocommit accepted request 1142764 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 48)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 47)
- update to 4.5.2:
  * Fix a regression where a static symbol would not get
    correctly imported.
  * Add Python 3.13 classifier.
  * Fix a regression where default_extension was no longer permitted
  * Chameleon now has type annotations!
  * Fix a regression where generated template code would
    suboptimal due to incorrect handling of internal variables.
  * Always cook templates in debug mode, even when using
    CHAMELEON_CACHE option to persist generated code on disk.
  * Parsing the AST back to Python code now uses the built-in
    ast.unparse function. This change is not directly surfaced
    but means that the unparsing code is now more correctly
    tracking changes to the interpreter.
  * Drop support for platforms where AST nodes aren't weakref-
    capable (e.g., older PyPy).
  * Fix a PyPy compatibility issue having to do with determining
    the set
buildservice-autocommit accepted request 1139516 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 46)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 45)
- update to 4.4.3:
  * Remove zope.interface.
  * Fix an issue where auto_reload is enabled and a file is
    loaded from a package that wasn't zip-compressed.
  * Drop support for Python 3.7.
  * Fix names of dependencies for importlib_resources and
    importlib_metadata.
  * Local variable scope is now iterable,
    completing dict interface.
  * Minor optimizations to rendering logic.
  * Implicit translation now provides the translation context,
    domain, and target language to the translation function (if
    applicable). Previously, the target language was provided,
    but this did not respect a change via i18n:target.
  * Replace pkg_resources with newer and faster
    importlib.resources and importlib.metadata. Just importing
    pkg_resources becomes slower and slower the more packages are
    installed.
buildservice-autocommit accepted request 1114697 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 44)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 43)
- update to 4.2.0:
  * An XML document provided as a string (i.e. decoded) now
    correctly has its content encoding parsed.
  * Boolean attributes are now automatically configured for
    templates in non-XML mode, presuming that we're being used
    to generate HTML.
  * This means that the same loading mechanism can be used for
    both XML-and HTML-based templates.
  * Boolean attributes (those configured using the optional
    `boolean_attributes` parameter) now work with $-expression
    interpolation.
  * Unlike content and regular attributes, a special check for a
    falsy value is now done for boolean attributes, such that
    boolean logic can be used for interpolation expressions
    (only a truthy value will include the attribute).
    This reverts a change in behavior introduced in 3.8.0.
  * Fix format spec applying for f-strings.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Add support for set- and dict comprehensions
  * Remove the following functions resp. modules:
    ``.utils.text_()``
    ``.utils.unescape()``
    ``.compat``
  *  A RepeatDict no longer inherits from dict since it does not actually provide
  *  Added feature gate enable_comment_interpolation which controls whether
    Add option restricted_namespace which controls whether to
    restrict namespaces to those defined and used by the page
    Fixed attribute HTML entity escaping issue where an entity such
    Simplify exception tracking, reducing bytecode size
    Avoid checking if a static string is None during expression
buildservice-autocommit accepted request 1055881 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 42)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 41)
- update to 3.10.2:
  * Fix handling of eager compilation with subclassing (e.g. Pyramid
    integration).
buildservice-autocommit accepted request 992332 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 40)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 992238 from Otto Hollmann's avatar Otto Hollmann (ohollmann) (revision 39)
- version update to 3.10.1
  * Fix __str__ method of chameleon.exc.TemplateError (#356)
  * Make scope class dict-like (#305)
  * Work in FIPS enabled environments (#345)
  * Fix tab handling issue (#350)
buildservice-autocommit accepted request 894587 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 38)
baserev update by copy to link target
Markéta Machová's avatar Markéta Machová (mcalabkova) accepted request 894584 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 37)
- version update to 3.9.1
  * Avoid various traceback reference cycles.
  * Removed compatibility code for unsupported Python versions
  * Dropped support for obsolete Python 3.4
  * Fixed namespace handling when redefining a variable in the same tal:define (#237)
  * Fixed failure computing a template's digest if template.filename is None (#254)
- %check: use %pytest macro
buildservice-autocommit accepted request 819491 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 36)
baserev update by copy to link target
Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) committed (revision 35)
- Update to 3.8.1
 * Added code optimization to reduce sequential appends of static text.
 * The default symbol in dynamic attributes is now symbolic.
 * The built-in attrs dictionary of static element attributes now correctly
    works with tal:define, etc.
 * Fix slice code generation compatibility issue on Python 3.9.
 * Expose default marker as importable symbol chameleon.tales.DEFAULT_MARKER.
 * Removed legacy flag literal_false. To get a similar behavior, use boolean_attributes.
buildservice-autocommit accepted request 812491 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 34)
baserev update by copy to link target
Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) committed (revision 33)
- Update to 3.7.2
 * Fix compatiblity issue with Python 3.9.
 * Allow setting a custom value representation function
Displaying revisions 1 - 20 of 52
openSUSE Build Service is sponsored by