Don't try to read a contributor list from the git log
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)
Debian packages are built from tarballs, so there isn't a git log.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name contributor_list_not_in_tarball.patch

doc/sphinxext/contributors.py

index 4256e4659715d2f3d48718a1a1bd4e40487e2f13..8792f0aff9d6f989c4b52645b01af7c6588a2015 100644 (file)
@@ -10,9 +10,6 @@ individually.
 """
 from docutils import nodes
 from docutils.parsers.rst import Directive
-import git
-
-from announce import build_components
 
 
 class ContributorsDirective(Directive):
@@ -20,6 +17,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()]