Don't try to read a contributor list from the git log
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 2 Feb 2025 11:17:13 +0000 (11:17 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 2 Feb 2025 11:17:13 +0000 (11:17 +0000)
Debian packages are built from tarballs, so there isn't a git log.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name contributor_list_not_in_tarball.patch

doc/sphinxext/contributors.py

index c2b21e40cadad26306fadf3622462317e2e04779..28b93b82a9b22b89cbed1dd3b00f47843f5ea215 100644 (file)
@@ -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()]