Bug#1063992: gitlab-cli: manual page for python-gitlab has no descriptive content due to an error

2024-03-17 Thread Kurt Kremitzki

Control: tags -1 patch

On Thu, 15 Feb 2024 11:21:51 + James Addison  wrote:

Package: gitlab-cli
Version: 1:4.3.0-1
Severity: important
X-Debbugs-Cc: j...@jp-hosting.net



I have opened a MR with a fix by setting PYTHONPATH during manpage 
generation:


https://salsa.debian.org/debian/python-pygitlab/-/merge_requests/3/



I cannot replicate this locally; when I build the package using
dpkg-buildpackage on my machine, a complete manual page is generated - so the
problem could be a buildsystem issue.

Regards,
James


If you already have python3-gitlab installed on the local system, it is 
picked up when building with `dpkg-buildpackage`. Another tool is 
needed, e.g. sbuild or git-buildpackage.


Cheers,
Kurt



Bug#1063992: gitlab-cli: manual page for python-gitlab has no descriptive content due to an error

2024-02-15 Thread James Addison
Package: gitlab-cli
Version: 1:4.3.0-1
Severity: important
X-Debbugs-Cc: j...@jp-hosting.net

Dear Maintainer,

The manual page for the python-gitlab CLI utility in the gitlab-cli binary
package contains a Python stacktrace within the 'description' section, instead
of the expected help content:

  DESCRIPTION
 Traceback (most recent call last):
File
"/build/reproducible-path/python-gitlab-4.3.0/./debian/gitlab-cli/usr/bin/python-git‐
lab", line 5, in 

from gitlab.cli import main

 ModuleNotFoundError: No module named 'gitlab'

I cannot replicate this locally; when I build the package using
dpkg-buildpackage on my machine, a complete manual page is generated - so the
problem could be a buildsystem issue.

Regards,
James