From 840c418de6cd8109da053423d9834ef750ba7e27 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 8 Apr 2022 20:33:40 -0300 Subject: [PATCH 1/2] [7.1.x] temporarily pin jinja2 version for docs build --- doc/en/requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt index 5b49cb7fccc..89446634e03 100644 --- a/doc/en/requirements.txt +++ b/doc/en/requirements.txt @@ -5,3 +5,6 @@ sphinx-removed-in>=0.2.0 sphinx>=3.1,<4 sphinxcontrib-trio sphinxcontrib-svg2pdfconverter + +# XXX: sphinx<4 is broken with latest jinja2 +jinja2<3.1 From 1769c66defe169acd7c143cf150075532cd94683 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 8 Apr 2022 20:18:55 -0400 Subject: [PATCH 2/2] [7.1.x] update pre-commit hooks --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5de99c99aaf..33b292c2b2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black args: [--safe, --quiet] @@ -37,7 +37,7 @@ repos: - flake8-typing-imports==1.12.0 - flake8-docstrings==1.5.0 - repo: https://github.com/asottile/reorder_python_imports - rev: v2.7.1 + rev: v3.0.1 hooks: - id: reorder-python-imports args: ['--application-directories=.:src', --py37-plus]