Package: lintian-brush Version: 0.112 Severity: normal Tags: patch Dear Maintainer,
The "lintian-brush" package uses Repository.get_revision_deltas from python3-breezy. This is not available in 3.1.0-8, but us available in 3.2.1-1. The bug is only visible on a "stable" system using lintian-brush from "unstable". With lintian-brush 0.112 and python3-breezy 3.1.0-8 installed I get an error after changes have been made, but before any git operation: $ lintian-brush Traceback (most recent call last): File "/usr/bin/lintian-brush", line 33, in <module> sys.exit(load_entry_point('lintian-brush==0.112', 'console_scripts', 'lintian-brush')()) File "/usr/lib/python3/dist-packages/lintian_brush/__main__.py", line 328, in main overall_result = run_lintian_fixers( File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 1187, in run_lintian_fixers result, summary = run_lintian_fixer( File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line 1041, in run_lintian_fixer dch_guess = guess_update_changelog( File "/usr/lib/python3/dist-packages/lintian_brush/detect_gbp_dch.py", line 95, in guess_update_changelog ret = _guess_update_changelog_from_branch(tree.branch, debian_path) File "/usr/lib/python3/dist-packages/lintian_brush/detect_gbp_dch.py", line 200, in _guess_update_changelog_from_branch (changelog_only, other_only, mixed, dch_references) = _changelog_stats( File "/usr/lib/python3/dist-packages/lintian_brush/detect_gbp_dch.py", line 157, in _changelog_stats get_deltas = branch.repository.get_revision_deltas AttributeError: 'LocalGitRepository' object has no attribute 'get_revision_deltas' With lintian-brush 0.112 and python3-breezy 3.2.1-1 installed, lintian-brush runs as expected, and makes the world a little bit better again. $ lintian-brush [...] Lintian tags fixed: {'out-of-date-standards-version', 'package-uses-deprecated-debhelper-compat-version'} [...] -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (499, 'stable'), (10, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-8-amd64 (SMP w/24 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages lintian-brush depends on: ii devscripts 2.21.3 ii python3 3.9.2-3 ii python3-breezy 3.2.1-1 ii python3-debian 0.1.39 ii python3-debmutate 0.38 ii python3-distro-info 1.0 ii python3-dulwich 0.20.23-1 ii python3-iniparse 0.4-3 ii python3-iso8601 0.1.13-1 ii python3-ruamel.yaml 0.16.12-2 ii python3-tqdm 4.57.0-2 ii python3-upstream-ontologist 0.1.22-1 Versions of packages lintian-brush recommends: ii decopy 0.2.4.4-0.1 ii dos2unix 7.4.1-1 ii gpg 2.2.27-2 ii libdebhelper-perl 13.3.4 ii lintian 2.104.0 pn ognibuild <none> ii python3-asyncpg 0.21.0-1+b2 ii python3-bs4 4.9.3-1 ii python3-docutils 0.16+dfsg-4 ii python3-levenshtein 0.12.2-1 ii python3-lxml 4.6.3+dfsg-0.1 ii python3-markdown 3.3.4-1 ii python3-pyinotify 0.9.6-1.3 ii python3-tomlkit 0.6.0-2 Versions of packages lintian-brush suggests: pn breezy-debian <none> pn gnome-pkg-tools <none> ii po-debconf 1.0.21+nmu1 pn postgresql-common <none> -- no debconf information
>From cb8cd33862370f263f12c02bb6badfaecb23d802 Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen <s...@debian.org> Date: Sat, 18 Sep 2021 23:06:33 +0200 Subject: [PATCH] Bump dependency on python3-breezy Class "Repository" does not have get_revision_deltas in 3.1.0 --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 64318d3..60ba1e2 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: bash-completion, dos2unix, python3-all, python3-bs4, - python3-breezy (>= 3.1.0-8), + python3-breezy (>= 3.2.1-1), python3-breezy.tests, python3-dulwich (>= 0.19.7), python3-distro-info, -- 2.30.2