Skip to content

Commit

Permalink
Add workaround for towncrier
Browse files Browse the repository at this point in the history
Towncrier is trying to access `importlib_resources.is_resource`,
but this was removed in the latest release.

Twisted maintainers already tackled this problem,
but we are waiting for a new release.
See twisted/towncrier#528.
  • Loading branch information
abravalheri committed Aug 2, 2023
1 parent f7532b2 commit 139d352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ extras =
docs
testing
changedir = docs
deps =
importlib_resources < 6 # twisted/towncrier#528 (waiting for release)
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
python -m sphinxlint
Expand All @@ -50,6 +52,7 @@ deps =
towncrier
bump2version
jaraco.develop >= 7.23
importlib_resources < 6 # twisted/towncrier#528 (waiting for release)
passenv = *
commands =
python tools/finalize.py
Expand Down

0 comments on commit 139d352

Please sign in to comment.