From: Debian Science Team Date: Tue, 28 Jan 2025 22:18:06 +0000 (+0000) Subject: Don't try to read a contributor list from the git log X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f9306c1746bfd3acba6b83c39228622842ce3cc;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()]