From 79295986f76b2843aa8e1aeded4a3dd3447574cf Mon Sep 17 00:00:00 2001 From: Uwe Schwaeke Date: Mon, 16 Mar 2026 11:54:16 +0100 Subject: [PATCH] crt/cmds/release: change import of `GitError` * what: change the import of `GitError` from `git` to `crt.crtlib.git_utils` * why: fix for bug [Wrong import of GitError #46](https://github.com/clyso/cbs/issues/46) Signed-off-by: Uwe Schwaeke --- crt/src/crt/cmds/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crt/src/crt/cmds/release.py b/crt/src/crt/cmds/release.py index 62825346..7f1aecc0 100644 --- a/crt/src/crt/cmds/release.py +++ b/crt/src/crt/cmds/release.py @@ -20,7 +20,6 @@ import click import rich.box from cbscore.versions.utils import parse_version -from git import GitError from rich.padding import Padding from rich.table import Table @@ -28,6 +27,7 @@ from crt.crtlib.errors.manifest import NoSuchManifestError from crt.crtlib.errors.release import NoSuchReleaseError from crt.crtlib.git_utils import ( + GitError, GitFetchHeadNotFoundError, GitIsTagError, git_branch_from,