diff --git a/pyproject.toml b/pyproject.toml index 8511feb02..4dab4de4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,9 @@ docs = [ "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", - "towncrier", + # See https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92 + # Pin also present in tox.ini + "towncrier<24.7", ] dev = ["attrs[tests]", "pre-commit"] diff --git a/tox.ini b/tox.ini index 3bdf2c9d1..42cb6c676 100644 --- a/tox.ini +++ b/tox.ini @@ -101,7 +101,9 @@ commands = pre-commit run --all-files [testenv:changelog] -deps = towncrier +# See https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92 +# Pin also present in pyproject.toml +deps = towncrier<24.7 skip_install = true commands = towncrier --version