From: Debian Science Team Date: Mon, 21 Oct 2024 18:43:11 +0000 (+0100) Subject: Don't try to read a contributor list from the git log X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1~1^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e6771b2e58c3fff947bb7e7814f2245a33f0ed55;p=pandas.git Don't try to read a contributor list from the git log Debian packages are built from tarballs, so there isn't a git log. Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name contributor_list_not_in_tarball.patch --- diff --git a/doc/sphinxext/contributors.py b/doc/sphinxext/contributors.py index c2b21e40..28b93b82 100644 --- a/doc/sphinxext/contributors.py +++ b/doc/sphinxext/contributors.py @@ -14,10 +14,8 @@ use:: While the v0.23.1 tag does not exist, that will use the HEAD of the branch as the end of the revision range. """ -from announce import build_components from docutils import nodes from docutils.parsers.rst import Directive -import git class ContributorsDirective(Directive): @@ -25,6 +23,7 @@ class ContributorsDirective(Directive): name = "contributors" def run(self): + return [nodes.paragraph(), nodes.Text("For contributors, please see /usr/share/doc/contributors_list.txt or https://github.com/pandas-dev/pandas/graphs/contributors")] range_ = self.arguments[0] if range_.endswith("x..HEAD"): return [nodes.paragraph(), nodes.bullet_list()]