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 dependency: jinja2 < 3.0 and MarkupSafe < 2.0 #9161

Merged
merged 1 commit into from
May 3, 2021

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented May 3, 2021

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 <markus.heiser@darmarit.de>
@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