Skip to content

Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0 - #9161

Merged
tk0miya merged 1 commit into
sphinx-doc:4.xfrom
tk0miya:pin_jinja2
May 3, 2021
Merged

tk0miya merged 1 commit into
sphinx-doc:4.xfrom
tk0miya:pin_jinja2

Conversation

@tk0miya

@tk0miya tk0miya commented May 3, 2021

Copy link
Copy Markdown
Member

Feature or Bugfix

  • Feature
  • Refactoring

Purpose

Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs.  To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
@tk0miya tk0miya added this to the 4.0.0 milestone May 3, 2021
tk0miya referenced this pull request in sphinx-doc/sphinxcontrib-websupport May 3, 2021
@tk0miya
tk0miya merged commit 05abdad into sphinx-doc:4.x May 3, 2021
@tk0miya
tk0miya deleted the pin_jinja2 branch May 3, 2021 12:47
return42 added a commit to searxng/searxng that referenced this pull request May 15, 2021
…ja2-3.0.0"

This reverts commit 9e9a1ac, reversing
changes made to 5b1f04f.

We can't upgrade to jinja2==3.0.0 until Sphinx 4.1.0 has been released [1][2]

ERROR: Cannot install -r /share/searx/requirements-dev.txt (line 11) and jinja2==3.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested jinja2==3.0.0
    sphinx 4.0.1 depends on Jinja2<3.0 and >=2.3

[1] sphinx-doc/sphinx#9088 (comment)
[2] sphinx-doc/sphinx#9161

Signed-off-by: Markus Heiser <[email protected]>
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant