Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jinja2 requirement from <3,>=2 to >=2,<4 #1569

Merged
merged 2 commits into from
Nov 29, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2021

Updates the requirements on jinja2 to permit the latest version.

Release notes

Sourced from jinja2's releases.

3.0.3

Changelog

Sourced from jinja2's changelog.

Version 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
  • Improve async performance by avoiding checks for common types. :issue:1514
  • Revert change to hash(Node) behavior. Nodes are hashed by id again :issue:1521
  • PackageLoader works when the package is a single module file. :issue:1512

Version 3.0.2

Released 2021-10-04

  • Fix a loop scoping bug that caused assignments in nested loops to still be referenced outside of it. :issue:1427
  • Make compile_templates deterministic for filter and import names. :issue:1452, 1453
  • Revert an unintended change that caused Undefined to act like StrictUndefined for the in operator. :issue:1448
  • Imported macros have access to the current template globals in async environments. :issue:1494
  • PackageLoader will not include a current directory (.) path segment. This allows loading templates from the root of a zip import. :issue:1467

Version 3.0.1

Released 2021-05-18

  • Update MarkupSafe dependency to >= 2.0. :pr:1418
  • Mark top-level names as exported so type checking understands imports in user projects. :issue:1426
  • Fix some types that weren't available in Python 3.6.0. :issue:1433
  • The deprecation warning for unneeded autoescape and with_ extensions shows more relevant context. :issue:1429
  • Fixed calling deprecated jinja2.Markup without an argument. Use markupsafe.Markup instead. :issue:1438
  • Calling sync render for an async template uses asyncio.run on Python >= 3.7. This fixes a deprecation that Python 3.10

... (truncated)

Commits
  • 2a48dd8 Merge pull request #1543 from pallets/release-3.0.3
  • ce1a539 release version 3.0.3
  • 199b6d5 Merge pull request #1542 from pallets/package-loader-file
  • eec0db8 PackageLoader works with single module file
  • 46f3a68 Merge pull request #1541 from pallets/docs-pow-order
  • 0d19990 document chained pow order
  • 99daa2a Merge pull request #1540 from pallets/docs-macro-defaults
  • a6162da rewrite docs about extending template objects
  • cab5545 Merge pull request #1539 from pallets/docs-macro-defaults
  • 369ff03 remove reference to macro.defaults
  • 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

anargyri and others added 2 commits September 23, 2021 09:42
Updates the requirements on [jinja2](https://github.com/pallets/jinja) to permit the latest version.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@2.0...3.0.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #1569 (d83753d) into main (2770922) will decrease coverage by 12.17%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1569       +/-   ##
===========================================
- Coverage   74.38%   62.20%   -12.18%     
===========================================
  Files          84       84               
  Lines        8441     8441               
===========================================
- Hits         6279     5251     -1028     
- Misses       2162     3190     +1028     
Impacted Files Coverage Δ
...ecommenders/models/newsrec/io/mind_all_iterator.py 12.21% <0.00%> (-86.65%) ⬇️
recommenders/models/newsrec/io/mind_iterator.py 15.67% <0.00%> (-82.71%) ⬇️
...ommenders/models/deeprec/io/sequential_iterator.py 15.85% <0.00%> (-81.94%) ⬇️
recommenders/models/newsrec/models/base_model.py 30.90% <0.00%> (-59.40%) ⬇️
...deeprec/models/sequential/sequential_base_model.py 46.97% <0.00%> (-48.33%) ⬇️
recommenders/models/geoimc/geoimc_data.py 41.66% <0.00%> (-44.80%) ⬇️
...enders/models/deeprec/io/dkn_item2item_iterator.py 45.61% <0.00%> (-42.11%) ⬇️
...menders/models/deeprec/models/graphrec/lightgcn.py 51.47% <0.00%> (-40.24%) ⬇️
recommenders/datasets/mind.py 0.00% <0.00%> (-30.85%) ⬇️
recommenders/datasets/movielens.py 77.52% <0.00%> (-14.61%) ⬇️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2770922...d83753d. Read the comment docs.

@miguelgfierro miguelgfierro changed the base branch from main to staging November 26, 2021 08:47
@@ -39,7 +39,7 @@
"transformers>=2.5.0,<5",
"bottleneck>=1.2.1,<2",
"category_encoders>=1.3.0,<2",
"jinja2>=2,<3",
"jinja2>=2,<4",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anargyri, what do you think of adding this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as it passes the tests it's ok with me. This has the latest staging merged, hasn't it?

@miguelgfierro miguelgfierro merged commit 76764ed into staging Nov 29, 2021
@miguelgfierro miguelgfierro deleted the dependabot/pip/jinja2-gte-2-and-lt-4 branch November 29, 2021 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants