Package: lintian-brush
Version: 0.160
Severity: normal
X-Debbugs-Cc: stu...@debian.org

Dear Maintainer,

I have a patch commented out in debian/patches/series - I need to figure
out if it's still needed in a new version and it currently doesn't apply
cleanly, so it is just commented out.

lintian-brush can't cope with this:

Traceback (most recent call last):
  File "/usr/share/lintian-brush/fixers/upstream-metadata-file.py", line 144, 
in <module>
    check_upstream_metadata(upstream_metadata, version=upstream_version)
TypeError: check_upstream_metadata() got an unexpected keyword argument 
'version'
)
  dep3-format-patch-author-or-from-is-better: Script failed: 
/usr/share/lintian-brush/fixers/dep3-format-patch-author-or-from-is-better.py 
(exit code 1) (stderr: 
Traceback (most recent call last):
  File 
"/usr/share/lintian-brush/fixers/dep3-format-patch-author-or-from-is-better.py",
 line 22, in <module>
    with LineEditor(path) as f:
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lintian_brush/line_editor.py", line 29, 
in __enter__
    with open(self.path, "r" + self.mode) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'debian/patches/#help_dir_location.patch'
)


regards
Stuart


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.5+bpo-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages lintian-brush depends on:
ii  devscripts                   2.24.8
ii  libc6                        2.40-4
ii  libgcc-s1                    14.2.0-11
ii  liblzma5                     5.6.3-1+b1
ii  libpython3.12t64             3.12.8-3
ii  libssl3t64                   3.3.2-2
ii  python3                      3.12.7-1
ii  python3-breezy               3.3.9-1+b1
ii  python3-debian               0.1.49
ii  python3-debmutate            0.71
ii  python3-distro-info          1.12
ii  python3-dulwich              0.22.7-1
ii  python3-iniparse             0.5.1-1
ii  python3-iso8601              2.1.0-2
ii  python3-psycopg2             2.9.10-1
ii  python3-ruamel.yaml          0.18.6+ds-3
ii  python3-semver               2.10.2-3
ii  python3-tomlkit              0.13.2-1
ii  python3-upstream-ontologist  0.2.2-2

Versions of packages lintian-brush recommends:
ii  debhelper            13.22
ii  decopy               0.2.4.8-0.1
ii  dos2unix             7.5.2-1
ii  gpg                  2.2.45-2
ii  lintian              2.121.1
ii  ognibuild            0.0.32-1
ii  python3-bs4          4.12.3-3
ii  python3-levenshtein  0.26.1-1

Versions of packages lintian-brush suggests:
pn  brz-debian         <none>
pn  git-buildpackage   <none>
pn  gnome-pkg-tools    <none>
ii  po-debconf         1.0.21+nmu1
ii  postgresql-common  267

-- no debconf information

Reply via email to