From: Debian Science Team Date: Sun, 19 Feb 2023 11:01:48 +0000 (+0000) Subject: Don't try to read a contributor list from the git log X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f994d92a27b9a01eca4e8df9210667be2d5f3586;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()]