#968388 build-rdeps: with dose-extra, lists too many rdeps

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Christian Kastner
Date:
2023-03-04 19:54:03 UTC
Severity:
normal
#968388#5
Date:
2020-08-14 08:58:27 UTC
From:
To:
Given the command `build-rdeps python3-pygments`, without package dose-extra
installed, I get a warning

   WARNING: dose-extra >= 4.0 is not installed. Falling back to old unreliable behaviour.

and it produces a reasonable 73 packages as output.

With dose-extra installed, the same command produces 1,748(!) packages, which
cannot be true. I've randomly checked a few of their debian/control files and
neither had python3-pygments listed.
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- Not present
#968388#8
Date:
2023-01-31 15:12:27 UTC
From:
To:
* Christian Kastner <ckk@debian.org>, 2020-08-14 10:58:

Most of them build-depend on python3-sphinx, which depends on
python3-pygments.

In my experience, you almost always want --old.

#968388#13
Date:
2023-03-04 19:34:00 UTC
From:
To:
Hi Jakub,

that explains it. I should have checked the man page.

Indeed.

Thanks,
Christian