Nilesh Patra pushed to branch master at lintian / lintian
Commits:
ed81c5db by Nilesh Patra at 2026-05-23T15:36:33+05:30
Skip Dependency check for `python3:Depends` and `sphinxdoc:Depends` when
debputy sequencers are used or compat >= 14 (See: #1067653)
- - - - -
1 changed file:
- lib/Lintian/Check/Debhelper.pm
Changes:
=====================================
lib/Lintian/Check/Debhelper.pm
=====================================
@@ -599,6 +599,8 @@ sub source {
= $build_prerequisites->satisfies('dh-sequence-debputy')
|| $build_prerequisites->satisfies('dh-sequence-zz-debputy')
|| $build_prerequisites->satisfies('dh-sequence-zz-debputy-rrr');
+ my $dh_no_misc
+ = $debhelper_level >= $DEBHELPER_LEVEL_MISC_DEPENDS_AUTO_APPLY;
for my $installable_name (@installable_names) {
@@ -609,8 +611,6 @@ sub source {
my $strong
= $self->processable->binary_relation($installable_name, 'strong');
my $all= $self->processable->binary_relation($installable_name, 'all');
- my $dh_no_misc
- = $debhelper_level >= $DEBHELPER_LEVEL_MISC_DEPENDS_AUTO_APPLY;
$self->hint('debhelper-but-no-misc-depends', $installable_name)
unless $all->satisfies($MISC_DEPENDS)
@@ -844,7 +844,7 @@ sub source {
$self->hint('python3-depends-but-no-python3-helper',
(sort keys %python3_depends))
- if %python3_depends;
+ if %python3_depends && !$dh_no_misc && !$uses_debputy_sequencer;
}
if ($seen{'sphinxdoc'} && !$seen_dh_dynamic) {
@@ -859,7 +859,7 @@ sub source {
$self->pointed_hint('sphinxdoc-but-no-sphinxdoc-depends',
$drules->pointer)
- unless $seen_sphinxdoc;
+ unless $seen_sphinxdoc || $dh_no_misc || $uses_debputy_sequencer;
}
return;
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/ed81c5dba155b2952cbdc9742c7d4404fa35382e
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/ed81c5dba155b2952cbdc9742c7d4404fa35382e
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help