[Bug 268596] textproc/py-sphinxcontrib-towncrier: update of textproc/towncrier to 22.12.0 indirectly breaks devel/py-pip, many other ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Dec 2022 10:25:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268596

            Bug ID: 268596
           Summary: textproc/py-sphinxcontrib-towncrier: update of
                    textproc/towncrier to 22.12.0 indirectly breaks
                    devel/py-pip, many other ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org
                CC: python@FreeBSD.org, sunpoet@FreeBSD.org

After textproc/towncrier was updated to 22.12.0 in
https://cgit.freebsd.org/ports/commit/?id=197aad22ce0eba962759a5844e810fed07fbd2fe
users of textproc/py-sphinxcontrib-towncrier, such as devel/py-pip, run into
errors similar to:

running build_sphinx
Running Sphinx v4.5.0
...
Extension error (sphinxcontrib.towncrier.ext):
Handler <bound method
TowncrierDraftEntriesEnvironmentCollector.get_outdated_docs of
<sphinxcontrib.towncrier.ext.TowncrierDraftEntriesEnvironmentCollector object
at 0x894255250>> for event 'env-
exception (exception: 'Config' object is not subscriptable)
*** Error code 1

This is reported upstream in https://github.com/twisted/towncrier/issues/461
and https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/76, but I
think the textproc/py-sphinxcontrib-towncrier has not been patched for it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.