From 43815b6fc25368c1f52c450f3d3d995a5384e357 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 20 Jun 2024 22:04:32 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=9A=91=F0=9F=A7=AA=F0=9F=93=9D=20Allo?= =?UTF-8?q?w=20invoking=20`git`=20in=20tox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is called when building the docs. Apparently, `tox -e docs` is not invoked in CI, neither is it called in RTD, resulting in the regression having been caught only in local development environments. This is a follow-up for #12493. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index dae899754..66ce3f24c 100644 --- a/tox.ini +++ b/tox.ini @@ -87,6 +87,8 @@ deps = -r{toxinidir}/doc/en/requirements.txt # https://github.com/twisted/towncrier/issues/340 towncrier<21.3.0 +allowlist_externals = + git commands = # Retrieve possibly missing commits: -git fetch --unshallow From dc2568a683202a5f096fcaa06cca83fc11979e17 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 20 Jun 2024 22:09:25 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=9A=91=F0=9F=A7=AA=F0=9F=93=9D=20Stop?= =?UTF-8?q?=20capping=20Towncrier=20@=20local=20docs=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is uncapped in RTD. Apparently, `tox -e docs` is not invoked in CI, neither is it called in RTD, resulting in the regression having been caught only in local development environments. This is a follow-up for #12493. --- tox.ini | 2 -- 1 file changed, 2 deletions(-) diff --git a/tox.ini b/tox.ini index 66ce3f24c..88708d47b 100644 --- a/tox.ini +++ b/tox.ini @@ -85,8 +85,6 @@ basepython = python3 usedevelop = True deps = -r{toxinidir}/doc/en/requirements.txt - # https://github.com/twisted/towncrier/issues/340 - towncrier<21.3.0 allowlist_externals = git commands =