[ckan-changes] [ckan/ckan] f58841: [#3005] Update Jinja2 to 2.8, fix i18n extension

GitHub noreply at github.com
Tue May 24 12:35:05 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: f588413b160ecfbbdd92a12e4a91e34b66304132
      https://github.com/ckan/ckan/commit/f588413b160ecfbbdd92a12e4a91e34b66304132
  Author: amercader <amercadero at gmail.com>
  Date:   2016-05-10 (Tue, 10 May 2016)

  Changed paths:
    M ckan/lib/jinja_extensions.py
    M ckan/tests/controllers/test_package.py
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  [#3005] Update Jinja2 to 2.8, fix i18n extension

The main issue is an API change on Jinja2 Internationalization extension
that makes our own `CkanInternationalizationExtension` crash when rendering
eg resource_list.html:

https://github.com/pallets/jinja/commit/79c8475f80257be4999a20d1432ff6a8e3f38815#diff-fc43b0d0748bc433885163912839f823L297


  Commit: 027c09ada64334d263f78b6b2042440531779780
      https://github.com/ckan/ckan/commit/027c09ada64334d263f78b6b2042440531779780
  Author: Ian Ward <ian at excess.org>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M ckan/lib/jinja_extensions.py
    M ckan/tests/controllers/test_package.py
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge pull request #3005 from ckan/3005-update-jinja2

Update Jinja2 version


Compare: https://github.com/ckan/ckan/compare/7363a402c450...027c09ada643


More information about the ckan-changes mailing list