Update jinja2 requirement from <3.1.0,>=2.10.3 to >=2.10.3,<3.2.0
Updates the requirements on jinja2 to permit the latest version.
Release notes
Sourced from jinja2's releases.
3.1.0
This is a feature release, which includes new features and removes previously deprecated features. The 3.1.x branch is now the supported bugfix branch, the 3.0.x branch has become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. We also encourage upgrading to MarkupSafe 2.1.1, the latest version at this time.
Changelog
Sourced from jinja2's changelog.
Version 3.1.0
Released 2022-03-24
Drop support for Python 3.6. :pr:
1534Remove previously deprecated code. :pr:
1544
WithExtensionandAutoEscapeExtensionare built-in now.contextfilterandcontextfunctionare replaced bypass_context.evalcontextfilterandevalcontextfunctionare replaced bypass_eval_context.environmentfilterandenvironmentfunctionare replaced bypass_environment.Markupandescapeshould be imported from MarkupSafe.- Compiled templates from very old Jinja versions may need to be recompiled.
- Legacy resolve mode for
Contextsubclasses is no longer supported. Overrideresolve_or_missinginstead ofresolve.unicode_urlencodeis renamed tourl_quote.Add support for native types in macros. :issue:
1510The
{% trans %}tag can usepgettextandnpgettextby passing a context string as the first token in the tag, like{% trans "title" %}. :issue:1430Update valid identifier characters from Python 3.6 to 3.7. :pr:
1571Filters and tests decorated with
@async_variantare pickleable. :pr:1612Add
itemsfilter. :issue:1561Subscriptions (
[0], etc.) can be used after filters, tests, and calls when the environment is in async mode. :issue:1573The
groupbyfilter is case-insensitive by default, matching other comparison filters. Added thecase_sensitiveparameter to control this. :issue:1463Windows drive-relative path segments in template names will not result in
FileSystemLoaderandPackageLoaderloading from drive-relative paths. :pr:1621Version 3.0.3
Released 2021-11-09
- Fix traceback rewriting internals for Python 3.10 and 3.11. :issue:
1535- Fix how the native environment treats leading and trailing spaces when parsing values on Python 3.10. :pr:
1537
... (truncated)
Commits
84c0e2cMerge pull request #1625 from pallets/release-3.1.07b0c47frelease version 3.1.0ede0f98Merge pull request #1621 from pallets/template-safe-path040088auseposixpath.joinwhen loading template namesa292075Merge pull request #1620 from janfilips/patch-16e4df02Fix formatting in tricks.rst3a050b1Merge pull request #1617 from pallets/docs-prose4b63cd8rewrite include statement sectiona98d482clean up faq, move technical discussions9de99f8clean up engine comparisons- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Merging #1685 (933ce47) into main (c496f2b) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #1685 +/- ##
=======================================
Coverage 91.74% 91.74%
=======================================
Files 34 34
Lines 4565 4565
=======================================
Hits 4188 4188
Misses 377 377
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update c496f2b...933ce47. Read the comment docs.
@dependabot rebase
Looks like jinja2 is no longer updatable, so this is no longer needed.