Skip to content

Commit

Permalink
Pin Towncrier (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 31, 2024
1 parent adf4b61 commit 7c6490b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c6490b

Please sign in to comment.