From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29519339A1 for ; Mon, 3 Feb 2025 20:02:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738612925; cv=none; b=lF2NDx7p3IzQ5SB4en5f+LxsooxPC20TImYXSQNCCiHNN7eh7fr85LcOJsRguv28hCreYLkVzSuPFV+5xbo4kKiI2KglCxyi9Cy0vZQ72PfUEyI8kSzVOx5EuNhqjuYlS2s753OX9Kzg0UpRO2xbDhsyj93YgotM+i8OQ1ILW3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738612925; c=relaxed/simple; bh=oqceAEAMDv1IDQvZFz9oRozoMPGHM22yRC0g3zXXxww=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TvpnTpWX7DLaxASfFBnGtvlNQW0M4GbraEq9xWWy9fMhom0sv5sH5pM33ouecZ1S1Oy+1jazy+3gtccZRlvPQfAn72DIPLKvNncGV28d0QZVghFoYysu+Z61Fluh0COjWRMqmxVRw6RLDZA4nUVEKhbWj+jB6bZoU5ttevMVjoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Sxu5VbOD; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Sxu5VbOD" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5d41848901bso9536427a12.0 for ; Mon, 03 Feb 2025 12:02:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738612921; x=1739217721; darn=lists.linux.dev; h=in-reply-to:content-disposition:mime-version:references :accept-language:mail-followup-to:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=yAXuZwsvzvJAwEp1KWohKyUF4vxFxY6aPECWs0FzTDo=; b=Sxu5VbODr/AiJi1NQuer3j4hA4CzwH1yoiQTlZJ+mhvMWyX0guAy9vlG7jJwEo+/2m jNUUTYH/X++ui/ZmJYy/YmyNL950GAbGyyuzzhEm/XBfVLtC0feDZxFaw5bfclL/2W1c 7gfQ4A+mYSJKXIFEMUk35Cfp2EY8Xi3D4luZGqEboptMYsUbB8YN7RDtBwUfzIIY9VZv /KifWExXfFI5DCvYHT8n+ji6K2u2Qmcv6VEobwtP+QnfQh8q6zQONIeuh6zQDuHOQy6O 6Y0G42zyJkkYs/UNiNYxxhIlDs7h+R1t2o1f+VFS1JGkYd7ezccH0B9VqGFPzG8YuQjZ DVWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738612921; x=1739217721; h=in-reply-to:content-disposition:mime-version:references :accept-language:mail-followup-to:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yAXuZwsvzvJAwEp1KWohKyUF4vxFxY6aPECWs0FzTDo=; b=FrOwXQ5C70yO3hFouKAzOf1zct1Chragf+rHFdzaCAM/5hVwu/qvjHXBhZcQ3LduJW Ouv4a5vn1UKvUGYUGQ8488gUhq4xo5mEEpJcrlHiiAmfCQWbHYYwmLI8OQwzHrVNt8fW 8lVkZOxiQDlTV/WZnuweDENdqV4WnISpB9QWgdKRVthhgx7m8xSa2JzqFu283w5NgvYI 14aELhFyxC7Bow1eARgtsy2Qi8LLMupRf3qHlidQR/y0KOCpETuh1D+F5FrCfQT7O4QL A2uEHPR9scnnr80LdRo1+m4QOcBYBk4XBG2cjbsNgK7mNyUK7h+aq0tKl+uU0OtSQTLO 8+Ng== X-Gm-Message-State: AOJu0YyGij9XVTLGiAzP12RXoLQWp6kCLXjMUeWIP/Es8SoSfBas6MBu +BAJMBKB2j3wrIS5d/o2iTfeg/H4YPerhU1yW/lZJ56wJKKvIHLm X-Gm-Gg: ASbGncvwtvSgwGrVsMtwIieG5GI6gdvdOs45AcGFzBiRKNV/erswRbTWh3ku+XRbnmq mT1r4AtSswbgxOXgdmB9QEwch76ZeChfz9kym7BAXOWRR9jeVd6goukLqGFxGW3IjokrQDOmmEd YEl3jLKuAGcw0z5W16glFR7Km0CMuyOdw0KJu0xJ5asN0M8EKA+nYkC12M12ExXzLT6aJd/t8Xa soO70jlLVpHFnsycFNyrtzwkGuBhl8/80gz++7EXoXfS6cMKDOnc3Ggr/llr7jE+bkUaOPJ71Mn Q4p3LeiLiw== X-Google-Smtp-Source: AGHT+IEZIv0sVxaCEQR3gGSnT8VXgO+rGeoKGz177LDG0/HCHgWnQv7PSIa8I7a0wEiVGiyA9nwyDg== X-Received: by 2002:a05:6402:5194:b0:5dc:5d65:563e with SMTP id 4fb4d7f45d1cf-5dcc15af6f8mr540373a12.10.1738612921035; Mon, 03 Feb 2025 12:02:01 -0800 (PST) Received: from jak-t14-g3 ([2a02:908:2812:e020:cb8c:e988:6370:69fd]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5dc724d9de2sm8315891a12.81.2025.02.03.12.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2025 12:02:00 -0800 (PST) Sender: Julian Andres Klode Date: Mon, 3 Feb 2025 21:01:56 +0100 From: Julian Andres Klode To: Daniel Gomez , 1095111@bugs.debian.org Cc: kdevops@lists.linux.dev Subject: Re: Bug#1095111: python3-apt must be installed and visible rom /usr/bin/python3 Message-ID: <20250203205048.GA3775124@debian.org> Mail-Followup-To: Julian Andres Klode , Daniel Gomez , 1095111@bugs.debian.org, kdevops@lists.linux.dev Accept-Language: de-DE, de, en-GB, en-US, en References: <173861066472.72598.13066792952736369514.reportbug@sarkhan.home.arpa> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <173861066472.72598.13066792952736369514.reportbug@sarkhan.home.arpa> Control: reassign -1 ansible-core On Mon, Feb 03, 2025 at 08:44:59PM +0100, Daniel Gomez wrote: > Package: python3-apt > Version: 2.9.6+b1 > Severity: important > Tags: upstream > X-Debbugs-Cc: da.gomez@samsung.com > > Dear Maintainer, > > The latest python3-apt releases 2.9.8 and 2.9.7 produce the following > error with Ansible: > > Error message: > > python3-apt must be installed and visible from /usr/bin/python3. > > As workaround, downgrading the package to the latest version working (2.9.6) > "solves" the issue: > > apt install -y python3-setuptools libapt-pkg-dev python3-pip git > pip3 git+https://salsa.debian.org/apt-team/python-apt.git@2.9.6 \ > --break-system-packages > > Tested with Ansible version: > > ii ansible 9.5.1+dfsg-1 all > ii ansible-core 2.17.1-1 > > ansible --version > ansible [core 2.17.1] > ... > python version = 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0] > (/usr/bin/python3) > jinja version = 3.1.3 > libyaml = True > ansible-playbook --version > ansible-playbook [core 2.17.1] > ... > executable location = /usr/bin/ansible-playbook > python version = 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0] > (/usr/bin/python3) > jinja version = 3.1.3 > libyaml = True > > Also, > > Reported in kdevops project: > https://lore.kernel.org/all/20250131-fix-python3-apt-v1-1-bcdb14b149ba@samsung.com/ > > Found the same issue in ludus: > https://gitlab.com/badsectorlabs/ludus/-/issues/76 > > Daniel python3-apt is working fine as you can see by it having migrated, so clearly the modules are importable, otherwise the test suites fail. You can easily check this yourself by creating a fresh install or launching a container, install python3-apt and running python3 -c "import apt" Of course did you even check if python3-apt is installed at all? It's not part of a normal Debian install... In any case, good luck, I'm out. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en